Gatling Enterprise Edition provides an official Docker runner image —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.
gatlingcorp/enterprise-runner — that integrates directly with GitLab CI/CD pipelines. You configure it as a job image, pass your simulation ID through environment variables, and the runner launches the simulation, streams real-time status logs, and writes run outputs to a dotenv artifact that downstream jobs can consume.
Docker Image Coordinates
The runner image is published to Docker Hub:1) to receive automatic patch updates.
Prerequisites
Store the Token in GitLab
In your GitLab project, navigate to Settings → CI/CD → Variables and add
GATLING_ENTERPRISE_API_TOKEN. Enable Mask variable to prevent it from appearing in job logs.Quickstart
Create a.gitlab-ci.yml file in your repository root:
Build, Deploy, and Run (Combined Pipeline)
This pattern builds and uploads the simulation on every push tomain, then immediately runs it on Gatling Enterprise Edition.
- Maven
- Gradle
Scheduled Run (Separate Pipelines)
Configure a pipeline schedule in GitLab to run simulations on a recurring basis, independently of code pushes:Configuration Reference
Inputs
All configuration is passed as environment variables:| Variable | Required | Default | Description |
|---|---|---|---|
GATLING_ENTERPRISE_API_TOKEN | Yes | — | API token for authenticating with Gatling Enterprise Edition. |
SIMULATION_ID | Yes | — | The ID of the simulation to run. |
TITLE | No | — | Title for the run report. |
DESCRIPTION | No | — | Description for the run summary. |
EXTRA_SYSTEM_PROPERTIES | No | — | JSON object of additional Java system properties. |
EXTRA_ENVIRONMENT_VARIABLES | No | — | JSON object of additional environment variables. |
FAIL_ACTION_ON_RUN_FAILURE | No | true | Fail the job if the simulation ends in error or failed assertions. |
WAIT_FOR_RUN_END | No | true | Wait for the simulation to complete before the job finishes. |
OUTPUT_DOT_ENV_FILE_PATH | No | gatlingEnterprise.env | Path to the dotenv output file. |
RUN_SUMMARY_ENABLED | No | true | Log run status summaries to the console. |
RUN_SUMMARY_INITIAL_REFRESH_INTERVAL | No | 5 | Seconds between early status logs. |
RUN_SUMMARY_INITIAL_REFRESH_COUNT | No | 12 | Number of early log entries before switching to the slower interval. |
RUN_SUMMARY_REFRESH_INTERVAL | No | 60 | Seconds between later status logs. |
Outputs
The runner writes results to a dotenv file (default:gatlingEnterprise.env). Export it as an artifact to share values with downstream jobs:
| Variable | Description |
|---|---|
RUN_ID | The ID of the started run. |
REPORTS_URL | URL to the run’s report page in Gatling Enterprise Edition. |
RUNS_URL | URL to the simulation’s run history page. |
RUN_STATUS_NAME | Final run status (e.g., Successful, AssertionsFailed). |
RUN_STATUS_CODE | Numeric code of the final run status. |
RUN_ASSERTIONS | JSON array of assertion results. |
Logs
The runner logs a status summary every few seconds during the run. By default, summaries appear every 5 seconds for the first minute, then every 60 seconds. Adjust or disable this withRUN_SUMMARY_* variables. When RUN_SUMMARY_ENABLED: 'false', only the final result is logged.