Traffic Generators: Difference between revisions
→Distributed Mode
Line 105:
*To generate significant load it is almost always necessary to run it in distributed mode.
*Master server do not simulate any user itself.
*For this we have to start one or more slaves using –slave flag
*Both the master and each slave machine, must have a copy of the locust test scripts when running Locust distributed.
*Run below command on each slave nodes as well
locust --host=http://somedomain.io --master
Then start any “slave” nodes, giving them a reference to the master node:
▲ ulimit -n 9999
locust --host=http://somedomain.io --slave --master-host=192.168.10.100
|