The Gatling Enterprise TeamCity plugin lets you launch Gatling Enterprise Edition simulations directly from a TeamCity build plan. Each build step is linked to a single simulation and streams live metrics to the build log while the run is in progress. When the run completes, results are available on a dedicated Gatling Enterprise Edition Results tab and — optionally — as a JUnit test report for assertion results.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gatling/gatling.io-doc/llms.txt
Use this file to discover all available pages before exploring further.
This integration is only available on Gatling Enterprise Edition. The plugin starts pre-configured simulations; you must create them in the Gatling Enterprise Edition dashboard before configuring the build step.
Installation
Download the Plugin
Download the plugin ZIP from the Gatling Enterprise CI plugins releases page.
Upload to TeamCity
Log in as a TeamCity administrator. Navigate to Administration → Plugins → Upload plugin zip, select the downloaded ZIP file, and upload it.
Global Configuration
Configure the plugin’s connection to Gatling Enterprise Edition in the global administration settings:Set the Addresses
- Gatling Enterprise Edition Address:
https://cloud.gatling.io - Gatling Enterprise Edition API Address:
https://api.gatling.io(leave blank if using the default cloud address — it will be inferred automatically)
If your TeamCity instance reaches the Gatling API through an internal gateway, enter that gateway’s URL as the API Address instead of the default
https://api.gatling.io.Plan Setup
Adding the Build Step
Add a Build Step
In your build configuration, add a new build step and select Gatling Enterprise Edition Launcher as the runner type.
Select a Simulation
Choose the simulation to run from the Simulation drop-down. The list is populated from your Gatling Enterprise Edition account using the configured API token.
JUnit Assertion Reporting
Display assertion results as JUnit test cases in the TeamCity build results:Add a Build Feature
In the build configuration, navigate to Build Features and add the XML report processing feature.
Usage
Each time the TeamCity build plan runs, the plugin starts a new Gatling Enterprise Edition simulation. The build log displays live metrics as the run progresses. When the run finishes:- The Console Log shows the final status and any assertion results.
- The Gatling Enterprise Edition Results tab in the build view shows a full summary of the simulation run.
Configuration Summary
| Setting | Value |
|---|---|
| Enterprise Address | https://cloud.gatling.io |
| API Address | https://api.gatling.io (default, can be left blank) |
| API Token Permission | Start |
| JUnit results path | gatlingEnterpriseJunitResults/*.xml |
| Default log interval (first 60s) | Every 5 seconds (12 times) |
| Default log interval (after 60s) | Every 60 seconds |