Gatling and continuous integration

Like JMeter, Gatling has its own Maven plugin, but it also has some companion AWS integration (https://github.com/electronicarts/gatling-aws-maven-plugin) natively integrated with Maven.

Here is what the official Gatling Maven plugin declaration can look like in your pom.xml:

<plugin>  <groupId>io.gatling</groupId>  <artifactId>gatling-maven-plugin</artifactId>  <version>${gatling-plugin.version}</version>  <executions>    <execution>      <phase>test</phase>      <goals>        <goal>execute</goal>      </goals>    </execution>  </executions></plugin>

The first plugin (1) defines how to run Gatling. The default configuration will look for simulations in src/test/scala.

This setup will locally run your simulations. So, you will likely migrate ...

Get Java EE 8 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.