Skip to content

Ability to disable response body logging #302

@tamasflamich

Description

@tamasflamich

Proposal

Having an additional cli switch that gives the ability to disable response body logging to stdout.

vegeta attack -skip-body 

Background

We use vegeta for load testing our large scale server solutions with a distributed attacker setup. It is important to simulate real world scenarios therefore the response of the load test requests needs to contain around 2K of data. The down side of this that logs (stdout) produced by the vegeta process can potentially become very large (tens of gigabytes of data). As a result these logs become tedious to move around.

We created a custom build of vegeta that allows to simply disable body logging.
https://github.com/Skyscanner/vegeta/commit/4bded67b7e173bd1803e47c6b8a6b280ada50a10

We thought this could be useful for the community as well, therefore, we wonder whether this (or a similar) change could be merged back to the main source.

Workarounds

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions