I have a joined a number of separate k6 tests together using the new scenario feature however I would like to execute different init code depending on the scenario being executed.
This is because several of these scenarios are loading large data sets. I’m using the pattern that @mstoykov shared here to load a sub-set of the data per VU in order to keep the memory usage down, however without the ability to switch by the scenario being executed, all the init code for all my scenarios are being executed.
Is there some reference to the scenario being executed that I can use to test which init code to execute?