Skip to content

Commit

Permalink
chore: update user, spawn rate and time in load tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinaa committed Aug 17, 2023
1 parent e7e7539 commit b9a88e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/load/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ The load tests can be executed from the [contextual-services-test-eng cloud shel
```

* Set up the load test parameters:
* Number of users: 55500
* Spawn rate: 232
* Number of users: 83300
* Spawn rate: 694
* Host: 'https://updates-autopush.stage.mozaws.net'
* Duration (Optional): 30m
* Duration (Optional): 10m
* Websocket URL: 'wss://autopush.stage.mozaws.net'
* Endpoint URL: 'https://updates-autopush.stage.mozaws.net'
* Select "Start Swarming"
Expand Down
8 changes: 4 additions & 4 deletions tests/load/setup_k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CLUSTER='autopush-locust-load-test'
TARGET='https://updates-autopush.stage.mozaws.net'
SCOPE='https://www.googleapis.com/auth/cloud-platform'
REGION='us-central1'
WORKER_COUNT=111
WORKER_COUNT=119
MACHINE_TYPE='n1-standard-4'
BOLD=$(tput bold)
NORM=$(tput sgr0)
Expand All @@ -28,9 +28,9 @@ echo "Image tag for locust is set to: ${LOCUST_IMAGE_TAG}"
ENVIRONMENT_VARIABLES=(
"TARGET_HOST,$TARGET"
'LOCUST_CSV,autopush'
'LOCUST_USERS,"55500"'
'LOCUST_SPAWN_RATE,"232"'
'LOCUST_RUN_TIME,"1800"' # 30 minutes
'LOCUST_USERS,"83300"'
'LOCUST_SPAWN_RATE,"694"'
'LOCUST_RUN_TIME,"600"' # 10 minutes
'LOCUST_LOGLEVEL,INFO'
'LOCUST_LOGFILE,autopush.log'
'SERVER_URL,wss://autopush.stage.mozaws.net'
Expand Down

0 comments on commit b9a88e5

Please sign in to comment.