1 # locust for load testing
5 Here is the sample command to run one master worker with 7 sub worker
9 export SMO_TOKEN_DATA=<SMO token data>
10 locust -f ocloud.py -H https://128.224.115.34:30205 --master
13 export SMO_TOKEN_DATA=<SMO token data>
14 locust -f ocloud.py --worker
16 export SMO_TOKEN_DATA=<SMO token data>
17 locust -f ocloud.py --worker
19 export SMO_TOKEN_DATA=<SMO token data>
20 locust -f ocloud.py --worker
22 export SMO_TOKEN_DATA=<SMO token data>
23 locust -f ocloud.py --worker
25 export SMO_TOKEN_DATA=<SMO token data>
26 locust -f ocloud.py --worker
28 export SMO_TOKEN_DATA=<SMO token data>
29 locust -f ocloud.py --worker
31 export SMO_TOKEN_DATA=<SMO token data>
32 locust -f ocloud.py --worker
35 If you can use goreman to run [goreman](github.com/mattn/goreman), feel free to use it.
38 export SMO_TOKEN_DATA=<SMO token data>
40 ocloud: locust -f ocloud.py -H https://128.224.115.34:30205 --master
41 ocloud_1: locust -f ocloud.py --worker
42 ocloud_2: locust -f ocloud.py --worker
43 ocloud_3: locust -f ocloud.py --worker
44 ocloud_4: locust -f ocloud.py --worker
45 ocloud_5: locust -f ocloud.py --worker
46 ocloud_6: locust -f ocloud.py --worker
47 ocloud_7: locust -f ocloud.py --worker
51 Run locust with 7 sub workers through goreman
53 goreman -f Procfile start