diff --git a/tests/spike-test.js b/tests/spike-test.js index 5aedb5b..dca75d7 100644 --- a/tests/spike-test.js +++ b/tests/spike-test.js @@ -7,13 +7,9 @@ if (hostname == null) hostname = 'localhost:5157'; export const options = { stages: [ - { duration: '10s', target: 200 }, // ramp up - { duration: '1m', target: 200 }, // stable - { duration: '10s', target: 2000 }, // ramp up - { duration: '5m', target: 2000 }, // stable - { duration: '10s', target: 200 }, // ramp up - { duration: '1m', target: 200 }, // stable - { duration: '10s', target: 0 }, // ramp-down to 0 users + { duration: '30s', target: 2000 }, // ramp up + { duration: '2m', target: 2000 }, // stable + { duration: '30s', target: 0 }, // ramp-down to 0 users ], }; diff --git a/tests/stress-test.js b/tests/stress-test.js index d39e8a4..f3318e5 100644 --- a/tests/stress-test.js +++ b/tests/stress-test.js @@ -9,10 +9,10 @@ export const options = { stages: [ { duration: '1m', target: 200 }, // ramp up { duration: '5m', target: 200 }, // stable - { duration: '1m', target: 400 }, // ramp up - { duration: '5m', target: 400 }, // stable { duration: '1m', target: 800 }, // ramp up { duration: '5m', target: 800 }, // stable + { duration: '1m', target: 1000 }, // ramp up + { duration: '5m', target: 1000 }, // stable { duration: '5m', target: 0 }, // ramp-down to 0 users ], };