Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Docs: update the container image version of the example
[pti/o2.git]
/
tests
/
locust
/
README.md
diff --git
a/tests/locust/README.md
b/tests/locust/README.md
index
21f12f2
..
d4bf4bb
100644
(file)
--- a/
tests/locust/README.md
+++ b/
tests/locust/README.md
@@
-6,29
+6,38
@@
Here is the sample command to run one master worker with 7 sub worker
```bash
# main 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:
# worker_1:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_2:
locust -f ocloud.py --worker
#worker_2:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_3:
locust -f ocloud.py --worker
#worker_3:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_4:
locust -f ocloud.py --worker
#worker_4:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_5:
locust -f ocloud.py --worker
#worker_5:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_6:
locust -f ocloud.py --worker
#worker_6:
+export SMO_TOKEN_DATA=<SMO token data>
locust -f ocloud.py --worker
#worker_7:
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
locust -f ocloud.py --worker
```
If you can use goreman to run [goreman](github.com/mattn/goreman), feel free to use it.
```bash
+export SMO_TOKEN_DATA=<SMO token data>
cat <<EOF >>Procfile
cat <<EOF >>Procfile
-ocloud: locust -f ocloud.py -H http://128.224.115.34:30205 --master
+ocloud: locust -f ocloud.py -H http
s
://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
ocloud_1: locust -f ocloud.py --worker
ocloud_2: locust -f ocloud.py --worker
ocloud_3: locust -f ocloud.py --worker