Building Gatling


We use Travis CI for continuous integration. You can find the latest snapshot on Sonatype.


As stated in the Licenses section, Gatling is divided into two sub-projects :

  • Gatling, the core engine
  • Gatling Highcharts, the charting engine

In order to fully build Gatling, you’ll need to build, in the following order, Gatling then Gatling Highcharts.

Getting the source

Gatling is hosted on Github.

You’ll need to install Git on your machine first.

You can then clone Gatling from, and Gatling Highcharts from

git clone
git clone

Building with SBT

Gatling uses SBT as its build tool.

You’ll need to install it first, or you can use the sbt script from Paul Philips’ sbt-extras for an easier setup.

After SBT has been installed and you’re in either one of the project’s directories, you can then :

  • compile the project : sbt compile
  • run the tests : sbt test
  • deploy the artifacts in your local Ivy and Maven repositories : sbt publishLocal publishM2

Running Gatling

There are several ways to run Gatling with your locally compiled sources to check that all’s working fine.

From the bundle

After you have successfully built both Gatling and Gatling Highcharts, you can then find in your local Ivy repository the full bundle built by Gatling Highcharts, which behaves exactly like the bundles published on Sonatype.

The bundle can be found in <Ivy repo root/local/io.gatling.highcharts/gatling-charts-highcharts-bundle/<version>/zips/, <Ivy repo root> usually being ~/.ivy2/.

Using Gatling’s plugins/integrations

You can use any of Gatling plugins and integrations with your locally compiled sources.

Just make sure that you change the Gatling’s version you’re using in your project to the current SNAPSHOT version.