We have defined a workflow containing multiple API requests. I want first API to run 60% of the time, second one 30%, and rest all 10% of time, just the way Locust can do by assigning Task Weights. Is there a way to do this in K6 ?
Hi @vishal.lanke !
There are a couple of ways to do something similar, for example:
- How to distribute VU's across different scenarios with k6 - #2 by mstoykov
- How to distribute VU's across different scenarios with k6 - #3 by mark
- How to distribute VU's across different scenarios with k6 - #17 by nedyalko
Let me know if that help!
Cheers!
1 Like