Executing unique scenarios with controlled RPS

Hello everyone! Sorry, I’m new to k6 and want to know if its possible.

I have “scenario” with such flow:

  • make requests 1
  • get response → make requests 2
  • get response → make request 3

And I want these scenarios to be executed once per user with unique parameters for request 1 and configurable RPS.

For example: while test execute 10/50/100 unique scenarios per second.

Optional

Add request 4 to scenario. Request 4 is polling a service until a certain response is received. When we get the wanted response, we finish scenario.