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

How to run load test with spesific users and rps ? #521

Closed rifqiazam closed 1 year ago

rifqiazam commented 4 years ago

Question

I want to run a load test with the specified number of users/workers and rps

example

how to do it?

vegeta attach -rate=600 -users=1000 ?

thanks in advance

3quanfeng commented 4 years ago

-workers=1000 -max-workers=1000

tsenart commented 1 year ago

Users is an ill-defined load unit. Workers approximates one notion of it — concurrency units. See this answer: https://github.com/tsenart/vegeta/issues/546