Skip to content

Commit

Permalink
PHAIN-123: Update HTTP_PROXY environment variable (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc-ee authored Feb 12, 2025
1 parent 95897af commit f83f972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ K6_HOME=/opt/perftest
K6_REPORT=index.html
K6_SUMMARY=summary.json

HTTPS_PROXY=http://localhost:3128

k6 run \
-e K6_TARGET_URL=https://pha-import-notifications.perf-test.cdp-int.defra.cloud \
-e K6_WORKLOAD=smoke \
-e K6_THRESHOLD=low \
-e TEST_CLIENT_LOGIN_URL=${TEST_CLIENT_LOGIN_URL} \
-e TEST_CLIENT_APP_ID=${TEST_CLIENT_APP_ID} \
-e TEST_CLIENT_SECRET=${TEST_CLIENT_SECRET} \
-e HTTPS_PROXY=http://localhost:3128 \
${K6_HOME}/src/tests/updates.js \
--summary-export=${K6_SUMMARY}
test_exit_code=$?
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pha-import-notifications-perf",
"version": "0.10.0",
"version": "0.11.0",
"description": "Performance tests for PHA import notifications.",
"author": "Defra DDTS",
"license": "OGL-UK-3.0",
Expand Down

0 comments on commit f83f972

Please sign in to comment.