Hi,
i am trying to use a different minimum iteration duration option per scenario.
I tried using the code option and the environment variables (per code option), but both values will not be used:
export const options = {
minIterationDuration: '10s', // this works but is then set for all szenarios
scenarios: {
example_scenario: {
executor: 'constant-vus',
minIterationDuration: '15s', // this does not work
env: { K6_MIN_ITERATION_DURATION: '15s' }, // this does not work
vus: 10,
iterations: 200,
// ...
},
another_scenario: {
executor: 'constant-vus',
minIterationDuration: '20s', // this does not work
env: { K6_MIN_ITERATION_DURATION: '20s' }, // this does not work
vus: 10,
iterations: 100,
// ...
},
},
};
Is there a way tu use a different minimum iteration duration option per scenario?
Thanks