The Gatling Enterprise Jenkins plugin connects your Jenkins CI instance directly to Gatling Enterprise Edition, enabling you to start a simulation from a Pipeline step or a classic freestyle build step. The plugin streams live metrics to the build console and can publish assertion results as JUnit test reports so they appear natively in the Jenkins UI.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 — create them first in the Gatling Enterprise Edition dashboard.
Installation
Download the Plugin
Download the
.hpi file from the Gatling Enterprise CI plugins releases page.Install in Jenkins
Log in as a Jenkins administrator. Navigate to Manage Jenkins → Manage Plugins → Advanced Settings → Deploy Plugin. Either upload the
.hpi file or paste the download URL into the URL field, then click Deploy.API Token and Credentials
The plugin requires a Gatling Enterprise Edition API token with the Start permission. Store it securely using Jenkins credentials:Open Credentials Manager
Navigate to Manage Jenkins → Manage Credentials. You will see your existing credential stores.
Global Configuration
Navigate to Manage Jenkins → Configure System → Global Gatling Enterprise Plugin Configuration and:- Select the Jenkins credential containing your API token.
- Set Address to
https://cloud.gatling.io. - Set API Address to
https://api.gatling.io(or leave blank to use the default when Address ishttps://cloud.gatling.io).
If you route API traffic through an internal gateway, specify that gateway’s URL as the API Address.
Pipeline Configuration
Use the Pipeline Syntax generator in Jenkins to build your step configuration: click Pipeline Syntax, select thegatlingEnterpriseLauncherStep step, choose a simulation, and click Generate Groovy.
Declarative Pipeline
Scripted Pipeline
Overriding Global Configuration
Override the globally configured URLs or API token for individual steps — useful when migrating simulations from self-hosted to cloud, or when using per-team API tokens:Passing System Properties
Pass custom Java system properties to the Gatling Enterprise Edition run:Configuring Run Status Logs
Control how frequently live status summaries are printed to the build log:Publishing Assertions as JUnit
Add the JUnit publisher step after the Gatling step to display assertion results as test cases:Freestyle Job Configuration
For non-Pipeline jobs:Add Build Step
Add a build step called Gatling Enterprise Edition Plugin. Select the simulation from the drop-down list.
Configure API Token (Optional)
If you don’t want to use the globally configured token, select a different Jenkins secret text credential.