Skip to content

Commit e56a5ed

Browse files
committed
fix scripts
1 parent 3dcbafa commit e56a5ed

4 files changed

Lines changed: 3 additions & 9 deletions

File tree

scripts/run_notify_load_test.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ if [ -z "${arrivalRate}" ]; then
2020
exit 1
2121
fi
2222

23-
if [ -z "${rampUpDuration}" ]; then
24-
echo "rampUpDuration is unset or set to the empty string"
25-
exit 1
26-
fi
27-
2823
if ! [[ "${environment}" =~ ^(dev|ref)$ ]]
2924
then
3025
echo "environment must be dev or ref"
@@ -43,7 +38,6 @@ cat <<EOF > runtimeenv.env
4338
maxVusers=$maxVusers
4439
duration=$duration
4540
arrivalRate=$arrivalRate
46-
rampUpDuration=$rampUpDuration
4741
EOF
4842

4943
echo ${launch_config}

scripts/test_cpsu_load_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ npx artillery run \
5959
/workspaces/eps-load-test/artillery/cpsu_load_test.yml
6060

6161
# Generate a report from the test results
62-
npx /workspaces/eps-load-test/artillery report cpsu_load_test.json
62+
npx artillery report cpsu_load_test.json

scripts/test_notify_load_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ npx artillery run \
6565
/workspaces/eps-load-test/artillery/notify_load_test.yml
6666

6767
# Generate a report from the test results
68-
npx /workspaces/eps-load-test/artillery report notify_load_test.json
68+
npx artillery report notify_load_test.json

scripts/test_psu_load_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ npx artillery run \
7171
/workspaces/eps-load-test/artillery/psu_load_test.yml
7272

7373
# Generate a report from the test results
74-
npx /workspaces/eps-load-test/artillery report psu_load_test.json
74+
npx artillery report psu_load_test.json

0 commit comments

Comments
 (0)