Hi, we use scala gatling for some testing. Currently we have multiple scala files which containt 1 scenario each. This scenario is 90% the same. I’d like to split this part into a separate file and only append some some .execs to the login/setup part.
I’ve tried extending my login/setup scenario and adding the .exec in a separate file, but then it does not get run, only my login execs.
Solved:
In my master login file I defined only val login = exec().exec() and then called these steps in my scenarios like val scn = scenario(“xy”).exec(login).exec…