2 Matching Annotations
  1. Sep 2019
    1. echo "GET http://localhost/" | vegeta attack -duration=5s | tee results.bin | vegeta report

      This worked really well for me, producing something like below:

      Requests      [total, rate]       2400, 80.03
      Duration      [total, attack, wait]  41.854241245s, 29.988606s, 11.865635245s
      Latencies     [mean, 50, 95, 99, max]  3.425533859s, 0s, 17.212904925s, 23.748749616s, 39.421327692s
      Bytes In      [total, mean]        309003728, 128751.55
      Bytes Out     [total, mean]      0, 0.00
      Success       [ratio]                 29.67%
      Status Codes  [code:count]   0:1688  200:712
      

      It appears though that the latency also includes failed requests which is something to be aware of.

    2. 0 = infinity

      This gave me a can't set to 0 error.