I am simulating some hardware request to our server which per vu should only send exactly one request. This can be done with per_vu_scenario
, for example
export let options = {
scenarios: {
per_vu_scenario: {
executor: "per-vu-iterations",
vus: 20,
iterations: 1,
maxDuration: '30s',
},
},
};
However per-vu-iteration
doesn’t allow me to specify stages as I would also like to specify some ramp up like:
stages: [
{ target: 10, duration: '0.5s' },
{ target: 20, duration: '2s' },
],
I am new to k6 and looking through the executors it doesn’t seem there is a possibility to both specific ramp up and the number of iteration per VU can run.
Any suggestion please ?