Traffic Generators: Difference between revisions

Line 105:
== Distributed Mode ==
 
Running*To locally is fine for basic testing and getting started with Locust, but most applications will not receive agenerate significant load if you’re just running it from your local machine. It’sis almost always necessary to run it in distributed mode. This is easy to do with a couple AWS nodes.
 
*After installing Locust and moving your locustfile.py to all nodes, you can start theStart “master” node:
locust --host=http://localhost:5000 --master
 
Then start any “slave” nodes, giving them a reference to the master node:
locust --host=http://localhost:5000 --slave\ --master-host=192.168.10.100
--master-host=192.168.10.100
 
= Slowhttptest =