Run scenario for time period

I have multiple scenarios that I want to run in paralell - each one simulates a different kind of user.

Is there an existing way to run a set of scenarios for a fixed period, or slave short repeatable scenarios to a master long running scenario?



I don’t know about the slave configuration, but you can probably accomplish it by having a shared variable that the slaves read to know when to exit, assuming the slaves use a looping construct to control their duration. Don’t forget to make the code thread-safe! :slight_smile:

If the scenarios are controlled by your injection model, that is another story. In that case, I would define the injection model with an appropriate duration. In that case, it is hard to know when to stop the slaves, if the master scenario does not have a finite and pre-determined duration.