bengadbois / pewpew

Flexible HTTP command line stress tester for websites and web services
MIT License
419 stars 40 forks source link

Count failed requests in Summary #58

Closed hmnd closed 4 months ago

hmnd commented 5 months ago

How do you create the issue, and how reproducible is it? (show the full command)

pewpew stress and pewpew benchmark don't show include failed requests in the Summary shown at the end. I'm testing a server that sometimes doesn't respond with response headers or takes too long doing so, and pewpew only shows a count of requests with a 200 response at the end.

In the example below, all the red canceled or deadline exceeded errors are not included in the Summary: image

What version of pewpew are you running?

v1.0.0

Did you compile pewpew yourself, or use a prebuilt version?

Installed using go install

If you compiled it yourself, what is your go environment (go env)?

bengadbois commented 4 months ago

Included in https://github.com/bengadbois/pewpew/pull/59, and will get included in the next release

hmnd commented 4 months ago

Thank you so much @bengadbois!