Merge "Fix the fault client returns 500 instend of 404" into i-release
[pti/o2.git] / tests / locust / README.md
index 90ba3fb..d4bf4bb 100644 (file)
@@ -6,29 +6,38 @@ Here is the sample command to run one master worker with 7 sub worker
 
 ```bash
 # main worker:  
-locust -f ocloud.py -H http://128.224.115.34:30205 --master
+export SMO_TOKEN_DATA=<SMO token data>
+locust -f ocloud.py -H https://128.224.115.34:30205 --master
 
 # worker_1:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_2:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_3:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_4:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_5:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_6:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 #worker_7:  
+export SMO_TOKEN_DATA=<SMO token data>
 locust -f ocloud.py --worker
 ```
 
 If you can use goreman to run [goreman](github.com/mattn/goreman), feel free to use it.
 
 ```bash
-cat Procfile<<
-ocloud:  locust -f ocloud.py -H http://128.224.115.34:30205 --master
+export SMO_TOKEN_DATA=<SMO token data>
+cat <<EOF >>Procfile
+ocloud:  locust -f ocloud.py -H https://128.224.115.34:30205 --master
 ocloud_1:  locust -f ocloud.py --worker
 ocloud_2:  locust -f ocloud.py --worker
 ocloud_3:  locust -f ocloud.py --worker
@@ -36,7 +45,7 @@ ocloud_4:  locust -f ocloud.py --worker
 ocloud_5:  locust -f ocloud.py --worker
 ocloud_6:  locust -f ocloud.py --worker
 ocloud_7:  locust -f ocloud.py --worker
->>EOF
+EOF
 ```
 
 Run locust with 7 sub workers through goreman