Hi,
I'm trying to run two simulation classes sequentially with Gatling Maven plugin version 2.2.0 and Gatling version 2.2.2, using executions:
<executions>
<execution>
<id>simulation-1</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<simulationClass>com.gatling.Simulation1</simulationClass>
</configuration>
</execution>
<execution>
<id>simulation-2</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<simulationClass>com.gatling.Simulation2</simulationClass>
</configuration>
</execution>
</executions>
This Maven fails with a an error: Gatling failed. More than 1 simulation to run, need to specify one, or enable runMultipleSimulations
I tried the following configuration, but this results in the same error.
<executions>
<execution>
<id>simulation-1</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<runMultipleSimulations>true</runMultipleSimulations>
<includes>
<param>com.gatling.Simulation1</param>
</includes>
<excludes>
<param>com.gatling.Simulation2</param>
</excludes>
</configuration>
</execution>
<execution>
<id>simulation-2</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<runMultipleSimulations>true</runMultipleSimulations>
<includes>
<param>com.gatling.Simulation2</param>
</includes>
<excludes>
<param>com.gatling.Simulation1</param>
</excludes>
</configuration>
</execution>
</executions>
Can anyone help me out getting rid of the error message?
Cheers
Daniel