I would like to run the Gatling test from code. How to do it? The tutorials only talk about the command line and sbt.
Context: I would like to expand the tests. In the background, I have a special cellular connection that I need to simulate. From this simulation, I need to pass some generated identifiers to the Gatling test. I could do this by running it from my modeling application with parameters (but I don't know how yet). Another solution would also be a good answer.
I could skip the file and http://gatling.io/docs/2.1.6/cookbook/passing_parameters.html , but it's ugly.
Maybe there is a way to run the sbt task from scala code?
source share