We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0e4ea commit b7d0061Copy full SHA for b7d0061
1 file changed
benchmark/load/petclinic/k6.js
@@ -7,17 +7,21 @@ export const options = {
7
discardResponseBodies: true,
8
scenarios: {
9
[`load--petclinic--${__ENV.VARIANT}--warmup`]: {
10
- executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
11
- vus: 5,
+ executor: 'constant-arrival-rate', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
+ preAllocatedVUs: 5,
12
duration: '10s',
13
gracefulStop: '2s',
14
+ timeUnit: '1s',
15
+ rate: 200,
16
},
17
[`load--petclinic--${__ENV.VARIANT}--high_load`]: {
- executor: 'constant-vus',
18
+ executor: 'constant-arrival-rate',
19
20
startTime: '12s',
21
duration: '20s',
22
23
24
25
26
}
27
};
0 commit comments