BAEL-8834: The basic run of the Gatlin module shouldn't run any Gatling scenario

This commit is contained in:
sachin29aug 2018-09-08 10:36:10 -04:00
parent 3df9e64050
commit 0db1e5ecd0
2 changed files with 26 additions and 13 deletions

View File

@ -1,2 +1,5 @@
### Relevant Articles:
- [Intro to Gatling](http://www.baeldung.com/introduction-to-gatling)
### Running a simualtion
- To run a simulation use "simulation" profile, command - `mvn install -Psimulation -Dgib.enabled=false`

View File

@ -68,21 +68,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-maven-plugin.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>execute</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>simulation</id>
<build>
<plugins>
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>${gatling-maven-plugin.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>execute</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>