Repeat until end of execution

Hi,

I write a code in Java and I would like to use in one ChainBuilder a couple of executions.
First execution should be done once and another until the test case is done (I don’t know jow many times).

Is there any way to use repeat method, like repeat(endOfScenario) or something?

you best bet is using asLongAs Gatling - Scenario if you want to terminate with a condition. Or you could use forever Gatling - Scenario and you can set a maxDuration on the setup Gatling - Simulation . If you provide a sample someone here can help better

1 Like

Super! Thank you for help!