LoginSignup
0
0

More than 1 year has passed since last update.

vegetaで投げたリクエストのレスポンスを見る

Posted at

vegeta encodeを使えばOK
bodyにはbase64された値が入ってる

$ echo 'GET https://httpbin.org/get' | vegeta attack -rate=1 -duration=1s | vegeta encode | jq
{
  "attack": "",
  "seq": 0,
  "code": 200,
  "timestamp": "2023-02-28T11:10:17.173759917+09:00",
  "latency": 1229773750,
  "bytes_out": 0,
  "bytes_in": 298,
  "error": "",
  "body": "ewog...",
  "method": "GET",
  "url": "https://httpbin.org/get",
  "headers": {
    "Content-Length": [
      "298"
    ],
...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0