tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.5k stars 1.36k forks source link

Real like traffic test #235

Closed stereobooster closed 6 years ago

stereobooster commented 7 years ago

Thanks, for cool project.

I have requests breakdown from production system (getting this data from ELK).

It looks something like:

So i want to script the same type of requests and make vegeta to do "real-like traffic" so it preserves distribution of requests.

Then I want it slowly start to increase number of requests until service starts to fail. E.g. error rate get higher some level.

Is it possible?

UPD

So I was thinking of something like this:

POST http://goku:9090/things
@/path/to/newthing.json
%60

PATCH http://goku:9090/thing/71988591
@/path/to/thing-71988591.json
%40
thalesfsp commented 6 years ago

@stereobooster Have your changes been merged? @tsenart

stereobooster commented 6 years ago

no

thalesfsp commented 6 years ago

@stereobooster What’s missing so we can get a PR? Do you need help? Really cool and welcome the feature that you described!

stereobooster commented 6 years ago

https://github.com/tsenart/vegeta/pull/236#issuecomment-328530817