tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.51k stars 1.36k forks source link

Can anyone explain more about vegeta report? #293

Closed contactparthshah closed 6 years ago

contactparthshah commented 6 years ago

Question

I ran test using vegeta and it has generated following report:

Requests      [total, rate]            200, 19.35
Duration      [total, attack, wait]    11.978051256s, 10.337022623s, 1.641028633s
Latencies     [mean, 50, 95, 99, max]  646.318364ms, 451.048775ms, 1.697808872s, 2.128540278s, 2.641028633s
Bytes In      [total, mean]            84733, 423.67
Bytes Out     [total, mean]            0, 0.00
Success       [ratio]                  93.50%
Status Codes  [code:count]             403:13  200:187
Error Set:
403 Forbidden

It will be good if anyone can help me to understand the report.

what to deduce from Duration [total, attack, wait] 11.978051256s, 10.337022623s, 1.641028633s ?

What to deduce from Latencies [mean, 50, 95, 99, max] 646.318364ms, 451.048775ms, 1.697808872s, 2.128540278s, 2.641028633s ?

what to deduce from Bytes Out [total, mean] 0, 0.00 ?

why Bytes Out is 0 ?

tsenart commented 6 years ago

what to deduce from Duration [total, attack, wait] 11.978051256s, 10.337022623s, 1.641028633s ?

What to deduce from Latencies [mean, 50, 95, 99, max] 646.318364ms, 451.048775ms, 1.697808872s, 2.128540278s, 2.641028633s ?

what to deduce from Bytes Out [total, mean] 0, 0.00 ? why Bytes Out is 0 ?

The BytesOut section describes summary metrics of the number of bytes sent out in request bodies during attacks. If you haven't defined a body, it will be zero.

tsenart commented 6 years ago

Please re-open if you have further questions.

contactparthshah commented 6 years ago

Thank you.

jzaefferer commented 5 years ago

Those details would be pretty useful in the readme! I'm still not quite sure what to make of this, after running with -duration=5s:

Duration [total, attack, wait] 26.126396344s, 4.982672s, 21.143724344s

tsenart commented 5 years ago

Hi @jzaefferer! Is the explanation in the comment above clear to you?

jzaefferer commented 5 years ago

Yeah, I think its fine. I didn't expect duration (of the test) to be limited to issuing requests, not for them to also be answered.

So yes, getting the info above into the readme, so others don't have to dig around closed issues for it, would be nice