Switch to arrival-rate executors instead of rps
k6 strongly recommends the arrival-rate executors to simulate constant RPS instead of --rps
option. We should explore switching to 'constant-vus' executor in closed model:
scenarios: {
closed_model: {
executor: 'constant-vus',
vus: rps_count,
duration: test_duration,
},
},
The above configuration was required to use websocket protocol in k6, it doesn't work with rps
.