Azure DevOps Pipelines can trigger Gatling Enterprise Edition simulations using the official Gatling CI shell script. Because there is no dedicated Azure Pipelines marketplace extension, the integration uses a portableDocumentation 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.
start_simulation.sh script that you commit to your repository and invoke as a Bash pipeline task. The API token and simulation ID are passed as pipeline variables, keeping secrets out of your source code.
This integration is only available on Gatling Enterprise Edition. A complete working example is available at github.com/gatling/azure-devops-demo.
Requirements
Before configuring your pipeline, gather the following:Git repository
A repository connected to Azure DevOps (GitHub, Azure Repos, or another supported provider).
Configured simulation
A simulation set up on Gatling Enterprise Edition. Copy its ID from the Simulations page using Copy Simulation ID to clipboard.
API token
A Gatling Enterprise Edition API token with the Start permission.
Azure agent pool
An Azure DevOps agent pool with agents that have internet access. Note the pool name for use in the pipeline YAML.
Preparing the Repository
Download the CI Script
Download the CI script ZIP from the Gatling Enterprise CI plugins releases page. Unzip the archive and place
start_simulation.sh at the root of your repository.Create the Pipeline File
Create
azure-pipelines.yml at the root of your repository with the following content:The CI script requires both
curl and jq. Install any missing dependencies in a preliminary step as shown above.Creating the Pipeline in Azure DevOps
Open New Pipeline
In your Azure DevOps project, click Pipelines in the left menu, then Create Pipeline (or New Pipeline).
Connect to Your Repository
On the Connect step, select your repository provider. For GitHub, you may need to authorize the Azure DevOps application to access your repositories.
Select the Repository
On the Select step, choose your repository. For organization repositories, use the All repositories filter.
Review the Pipeline YAML
Since
azure-pipelines.yml already exists, Azure DevOps skips the Configure step and shows the YAML file for review directly.Add Pipeline Variables
Before saving, click New variable and add:
GATLING_ENTERPRISE_API_TOKEN— your API token. Enable “Keep this value secret”.simulationId— the ID of the simulation you want to run.
Resolving Permissions Errors
After a job is queued, Azure DevOps may show a Permission needed warning if your pipeline requires approval to access resources. Click the red Permission needed link in the job view and grant the requested permissions to continue.Viewing Run Results
Once the job is running, click Job in the timeline view, then click the Start simulation task to see the real-time Gatling Enterprise Edition console output, including live metrics and the final run summary.Variables Reference
| Variable | Required | Description |
|---|---|---|
GATLING_ENTERPRISE_API_TOKEN | Yes | API token for authenticating with Gatling Enterprise Edition. Mark as secret. |
simulationId | Yes | The ID of the simulation to run, passed as an argument to start_simulation.sh. |