How to run a single test/simulation with Gatling Maven plugin?

1.9k Views Asked by At

Is it possiblt to run only a single test/simulation with Gatling Maven plugin with comand line arguments? Similar to SBT plugin testOnly.

1

There are 1 best solutions below

0
On BEST ANSWER

This is possible with parameter gatling.simulationClass, for example

mvn gatling:test -Dgatling.simulationClass=foo.bar.MySimulation

(Gatling Maven plugin 3.1.1 used)

In general, different parameters can be seen with

mvn gatling:help -Ddetail=true