Adding scenarios at runtime

Hi,

Is there an example that shows how to use io.gatling.core.structure.ProfiledScenarioBuilder? Basically what I want to do is add scenarios to the current run based on certain parameters. The Simulation runs multiple scenarios in parallel. So if the UsersPerSecond is set to 0 for a particular scenario, it should not be included in the current run. Is it feasible? I am on 2.0.0-M3a

Thanks,
Chaitali

I am on 2.0.0-M3a

Please upgrade.

You can pass System properties, and build a List[PopulatedScenarioBuilder] based on them, and then feed it to setUp.
http://gatling.io/docs/2.0.0-RC4/cookbook/passing_parameters.html

Hi,

Need to bring this up again. Is there any support for adding scenarios dynamically in the latest version of Gatling? The link mentioned here talks about parametrizing the scenario.

Thanks,
Chaitali