Select injectors in frontline

Hi all,

Issue: I have a simulation that triggers 6 different scenarios.

  • Frontline simulation configured with 6 injectors.
  • I want that each scenario will be selected by dedicated injector (Can be random , but dedicated)
  • I don’t want that several scenarios be using single injector (even more configured)

is there a way to do so?

You can use the gatling.enterprise.globalInjectorId (only on recent versions of Gatling Enterprise, latest is 1.17.4) System prop in your simulation to get the injector index.

You can then build the list of the desired populations to be passed to setUp based on this index.

Note that you’ll have to disable injection profile sharding, see Gatling - Injection.