File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,21 @@ export const options = {
7
7
discardResponseBodies : true ,
8
8
scenarios : {
9
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 ,
10
+ executor : 'constant-arrival-rate ' , // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
11
+ preAllocatedVUs : 5 ,
12
12
duration : '10s' ,
13
13
gracefulStop : '2s' ,
14
+ timeUnit : '1s' ,
15
+ rate : 200 ,
14
16
} ,
15
17
[ `load--petclinic--${ __ENV . VARIANT } --high_load` ] : {
16
- executor : 'constant-vus ' ,
17
- vus : 5 ,
18
+ executor : 'constant-arrival-rate ' ,
19
+ preAllocatedVUs : 5 ,
18
20
startTime : '12s' ,
19
21
duration : '20s' ,
20
22
gracefulStop : '2s' ,
23
+ timeUnit : '1s' ,
24
+ rate : 200 ,
21
25
} ,
22
26
}
23
27
} ;
You can’t perform that action at this time.
0 commit comments