Gatling version: 3.11.2 (must be up to date)
Gatling flavor: java
Gatling build tool: maven
Hello,
I want run all simulation classes in my project with one maven command, the main goal is to include this maven command in the CI/CD pipeline.
I’m using gatling-maven-plugin, but when i read the documentation I understand that it’s not possible to run all script with this plugin :
The `gatling:test` goal runs in interactive mode and suggests the simulation class to launch unless:
* there’s only one simulation available,
* or the Simulation class is forced with the `-Dgatling.simulationClass=<FullyQualifiedClassName>` Java System Property,
* or the non-interactive mode is forced, in which case the task will fail if there is more than 1 simulation available,
* or it’s in batch mode (`-B` Maven option), in which case the task will fail if there is more than 1 simulation available,
* or the `CI` env var is set to `true`, in which case the task will fail if there is more than 1 simulation available.
The execute
goal it’s not exist to run all simulation script.
I use gatling-maven-plugin
version 4.9.0
My questions :
- how I can run all simulation scripts with a single maven command ?
- If this is not possible, how can I group all the scripts to run them from a single maven command or from a java main class (note that the Gatling-build-property class no longer exists)
Thnaks in advance