locust Command Examples

Load-testing tool to determine number of concurrent users a system can handle. More information: https://locust.io.

locust --host={{http://example.com}}

locust --locustfile={{test_file.py}} --host={{http://example.com}}

locust --no-web --clients={{100}} --hatch-rate={{1}} --host={{http://example.com}}

locust --master --host={{http://example.com}}

locust --slave --host={{http://example.com}}

locust --slave --master-host={{master_hostname}} --host={{http://example.com}}