@@ -64,30 +64,27 @@ export const options = {
64
64
contacts: {
65
65
executor: ' ramping-arrival-rate' ,
66
66
67
- // Our test with at a rate of 300 iterations started per `timeUnit` (e.g minute).
67
+ // Start at 300 iterations per `timeUnit`
68
68
startRate: 300 ,
69
69
70
- // It should start `startRate` iterations per minute
70
+ // Start `startRate` iterations per minute
71
71
timeUnit: ' 1m' ,
72
72
73
- // It should preallocate 2 VUs before starting the test .
74
- preAllocatedVUs: 2 ,
73
+ // Pre-allocate necessary VUs.
74
+ preAllocatedVUs: 50 ,
75
75
76
- // It is allowed to spin up to 50 maximum VUs in order to sustain the defined
77
- // constant arrival rate.
78
- maxVUs: 50 ,
79
76
80
77
stages: [
81
- // It should start 300 iterations per `timeUnit` for the first minute.
78
+ // Start 300 iterations per `timeUnit` for the first minute.
82
79
{ target: 300 , duration: ' 1m' },
83
80
84
- // It should linearly ramp-up to starting 600 iterations per `timeUnit` over the following two minutes.
81
+ // Linearly ramp-up to starting 600 iterations per `timeUnit` over the following two minutes.
85
82
{ target: 600 , duration: ' 2m' },
86
83
87
- // It should continue starting 600 iterations per `timeUnit` for the following four minutes.
84
+ // Cntinue starting 600 iterations per `timeUnit` for the following four minutes.
88
85
{ target: 600 , duration: ' 4m' },
89
86
90
- // It should linearly ramp-down to starting 60 iterations per `timeUnit` over the last two minute.
87
+ // Linearly ramp-down to starting 60 iterations per `timeUnit` over the last two minute.
91
88
{ target: 60 , duration: ' 2m' },
92
89
],
93
90
},
@@ -98,7 +95,6 @@ export default function () {
98
95
http .get (' https://test.k6.io/contacts.php' );
99
96
}
100
97
```
101
-
102
98
</CodeGroup >
103
99
104
100
## Observations
0 commit comments