tsenart / vegeta

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

Incremental load attack #271

Closed mousavian closed 6 years ago

mousavian commented 6 years ago

Do you think it would be useful to have a couple of more options for increasing the rate over time additional to "constant request rate"? This will prevent bursts and would be good to test auto scalable apps in wider period of time.

What I propose is two more options like inc-rate and inc-time; to increment rate on every inc-time.

vegeta attack -duration=600s -rate=1000 -inc-rate=20% -inc-time=30s
ankitg12 commented 6 years ago

Seems similar to https://github.com/tsenart/vegeta/issues/163

tsenart commented 6 years ago

This is easily done with a shell script starting successive attacks at higher rates. To be properly documented in #304.