This example command essentially does our large daily test, launching all available nodes (usually around 800), installing all prerequisites,
installing the Locust client onto them, starting the Locust workers, running the load test for 4 minutes, retrieving the logs from the workers,
shutting down the workers, terminating the instances, and formatting the final report:
./runDistributedLoadtest.py http://yourTargetURL.com 54.70.xxx.xxx @myAuthToken \
--nWorkers 20 --startTimeLimit 90 --susTime 240 --usersPerWorker 35 > runDist_out.txt
Please note,
54.70.xxx.xxx
in the above example is the IP address of the Locust master.
The master host is the machine you are running these commands on. It must be accessible from outside whatever firewall you are behind, by that IP address or hostname. That’s how the workers communicate with the master. Please substitute the correct IP address or hostname for your host master.