Hi folks,
i am using gatling version 2.2.3, i have a bunch of Simulation class’s in one package Ex:com.company.name.loadtests
below is my gatling maven plugin configuration
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-plugin.version}</version>
<!-- configuration -->
<configuration>
<configFolder>src/test/resources</configFolder>
<dataFolder>src/test/resources/data</dataFolder>
<resultsFolder>target/gatling/results</resultsFolder>
<runMultipleSimulations>false</runMultipleSimulations>
<simulationsFolder>src/test/scala/com/**company/name/loadtests**</simulationsFolder>
<!-- <noReports>false</noReports> -->
<!-- <reportsOnly>directoryName</reportsOnly> -->
<!-- <simulationClass>foo.Bar</simulationClass> -->
<!-- <jvmArgs> -->
<!-- <jvmArg>-DmyExtraParam=foo</jvmArg> -->
<!-- </jvmArgs> -->
<!-- <fork>true</fork> -->
<!-- <propagateSystemProperties>true</propagateSystemProperties> -->
<!-- <failOnError>true</failOnError> -->
</configuration>
<executions>
<execution>
<id>Test1</id>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<simulationClass>com.company.name.loadtests.CourierCreationTest</simulationClass>
</configuration>
</execution>
</executions>
</plugin>
-
if i use maven goal as
$mvn gatling:integration-test
i got the below error
-
`
Gatling failed. More than 1 simulation to run, need to specify one, or enable runMultipleSimulations → [Help 1]`
-
i need to execute those class on CI env so please guide me how to Run single Simulation class with Maven plugin?
-
How to execute multiple Simulation class’s at same time ?
Thank you