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
http://github.com/gatling/gatling, and Gatling Highcharts from
git clone http://github.com/gatling/gatling git clone http://github.com/gatling/gatling-highcharts
Building with SBT¶
Gatling uses SBT as its build tool.
After SBT has been installed and you’re in either one of the project’s directories, you can then :
- compile the project :
- run the tests :
- deploy the artifacts in your local Ivy and Maven repositories :
sbt publishLocal publishM2
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/gatling-charts-highcharts-bundle-bundle.zip,
<Ivy repo root> usually being
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.