Hi,
It looks like simulation, specified in
simulationClass property in gatling.conf file is executed twice, when run by Gradle plugin.
This is part of log:
…
---- VideoSimulation -----------------------------------------------------------
[##########################################################################]100%
waiting: 0 / active: 0 / done: 1
As required in this group’s terms:
- Provide a Short, Self Contained, Correct (Compilable), Example (see http://sscce.org/)
What I did:
- cloned https://github.com/gatling/gatling-gradle-plugin-demo
- edited gatling.conf: simulationClass = “computerdatabase.BasicSimulation”
- ran ./gradlew gatlingRun-computerdatabase.BasicSimulation
Result: Gatling ran computerdatabase.BasicSimulation only once, as expected.