Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know which request produced 5xx error? #437

Closed
aoyama-val opened this issue Sep 16, 2019 · 1 comment · Fixed by #438
Closed

How to know which request produced 5xx error? #437

aoyama-val opened this issue Sep 16, 2019 · 1 comment · Fixed by #438

Comments

@aoyama-val
Copy link

Question

I am feeding multiple request settings (targets in Vegeta term?), but vegeta report only informs me the status codes and the numbers. I would like to know which request produced the 5xx errors. Is this possible? It would be even better if we could get the stats grouped by the targets.

Status Codes  [code:count]               200:5  400:5  502:5
Error Set:
400 Bad Request
502 Bad Gateway
tsenart pushed a commit that referenced this issue Sep 16, 2019
This change set makes vegeta capture the URL and Method of a Target
that's been hit in the Result.

Fixes #437
@tsenart
Copy link
Owner

tsenart commented Sep 16, 2019

After #438 is merged, you'll be able to use tools like xsv or jq to achieve your goal by converting the results of an attack to JSON or CSV with vegeta encode.

tsenart added a commit that referenced this issue Sep 17, 2019
This change set makes vegeta capture the URL and Method of a Target
that's been hit in the Result.

Fixes #437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants