Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Capture HTTP response header in vegeta.Result #303

Closed
tsenart opened this issue Jul 5, 2018 · 0 comments · Fixed by #474
Closed

Capture HTTP response header in vegeta.Result #303

tsenart opened this issue Jul 5, 2018 · 0 comments · Fixed by #474
Assignees

Comments

@tsenart
Copy link
Owner

tsenart commented Jul 5, 2018

Proposal

Extend vegeta.Result with a Header field that captures the response header of each performed HTTP request (hit).

Background

In addition to capturing response bodies, it can be useful to capture response headers for debugging purposes, dynamic target generation based on live attack results, and any other custom integrations via vegeta dump.

Related issues

Workarounds

No.

rs added a commit to rs/vegeta that referenced this issue Feb 7, 2020
Headers are written in wire format. CSV output uses base64 to encode
headers.

Fixes tsenart#303
tsenart pushed a commit that referenced this issue Feb 16, 2020
* Capture HTTP headers in results

Headers are written in wire format. CSV output uses base64 to encode
headers.

Fixes #303

* Use a structure for headers encoding in JSON
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