From b9a88e5ac907a879497521c03ba6800b7280e126 Mon Sep 17 00:00:00 2001 From: Katrina Anderson <3422688+Trinaa@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:47:46 -0400 Subject: [PATCH] chore: update user, spawn rate and time in load tests --- tests/load/README.md | 6 +++--- tests/load/setup_k8s.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/load/README.md b/tests/load/README.md index 5c7424be1..a3ac2e996 100644 --- a/tests/load/README.md +++ b/tests/load/README.md @@ -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" diff --git a/tests/load/setup_k8s.sh b/tests/load/setup_k8s.sh index fdecf2f58..0003cc397 100644 --- a/tests/load/setup_k8s.sh +++ b/tests/load/setup_k8s.sh @@ -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) @@ -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'