Comments (6)
@davideicardi: That's what happens. Errors are drawn as red, otherwise green.
from vegeta.
I'm executing the following command:
echo "GET http://httpstat.us/500" | vegeta attack -duration=10s -rate=2 | tee results.bin | vegeta report -reporter=plot > plot.html
The page always return a 500 http code, but I get only a single green line. I'm doing something wrong?
Maybe I missing something...sorry I'm new to GO lang.
from vegeta.
This was a bug. Thanks for finding it and reporting! https://github.com/tsenart/vegeta/releases/tag/v5.5.1
from vegeta.
Thanks very much for your prompt response and fix!
Unfortunately I think that there is one more little problem: often pages that return 500 also return complex HTML error pages. For example:
Other times the page is empty:
With your last commit you write the body of the page as the error, correct me if I'm wrong. But this can a problem because it is a waste of memory, the message is a complex HTML difficult to read or worst an empty message that potentially can cause the page to be considered OK by the reporter.
My suggestion is to just put the HTTP status or description like "HTTP error 500".
What do you think?
I will be happy to submit a pull request but I never written a line with golang...
thanks!
Davide
from vegeta.
That was indeed an oversight. Thanks for your diligence. https://github.com/tsenart/vegeta/releases/tag/v5.5.2
from vegeta.
Perfect! Thank you!
from vegeta.
Related Issues (20)
- Prometheus + Grafana Integration not working HOT 3
- Immediately stop vegeta while using go client HOT 4
- Add support for HAProxy ProxyProtocol
- I am getting a lot of HTTP zero in the results, how can I troubleshoot it?
- Latency is not being reported correctly on windows.
- How to change x-axis for the vegeta realtime?
- Why canβt I test this local custom domain name mapping service?
- ipv6 is being used on a client machine when not supported HOT 3
- Can the latest version be published on Go packages? HOT 1
- Officially call json input format JSON Lines? HOT 1
- keepalive flag isnt working HOT 6
- Limiting total number of requests HOT 4
- vegeta unable to write to files with -output
- TCP sockets opened lower than requested number of connections HOT 4
- Running "easyjson": exec: "easyjson": executable file not found in $PATH on ubnutu 22.04 HOT 1
- can vegeta do the performance test to a RPC methond request
- Dynamic Pacing / Rate? HOT 2
- Support curl's --connect-to parameter HOT 1
- Disabling dns cache with dns-ttl doesn't seem to work
- Troubleshoot mTLS certificates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vegeta.