Skip to content

Commit b8665ea

Browse files
Adjust load test stages and sleep duration
1 parent 37bb0ec commit b8665ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

load-tests/smoke.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { check, sleep } from "k6";
33

44
export const options = {
55
stages: [
6-
{ duration: "30s", target: 10 }, // ramp up
7-
{ duration: "1m", target: 10 }, // hold
6+
{ duration: "30s", target: 3 }, // ramp up
7+
{ duration: "1m", target: 3 }, // hold
88
{ duration: "10s", target: 0 }, // ramp down
99
],
1010
thresholds: {
@@ -47,6 +47,6 @@ export default function (data) {
4747
);
4848
check(create, { "create 201": (r) => r.status === 201 });
4949

50-
sleep(1);
50+
sleep(3);
5151
}
5252

0 commit comments

Comments
 (0)