Managing simulation configuration through the Gatling Enterprise Edition UI is fine for getting started, but it does not scale well when you have multiple simulations, multiple teams, or a requirement that infrastructure changes pass through code review. Configuration as code solves this by describing your package name, simulation class, load generator locations, and distribution weights in aDocumentation 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.
.gatling/package.conf file that lives alongside your simulation source code. A single mvn gatling:enterpriseDeploy command then creates or updates everything on Gatling Enterprise Edition — no manual UI clicks required.
Prerequisites
- A working Gatling project (Maven, Gradle, sbt, or JavaScript)
- A Gatling Enterprise Edition account — sign up for a free trial
- An API token with the Configure permission
Step 1: Create the Package Descriptor File
Step 2: Define the Package
The package represents the compiled artifact (JAR or npm package) uploaded to Gatling Enterprise Edition. Give it a meaningful name and assign it to a team.The
team value must match a team name that already exists in the Gatling Enterprise Edition UI. If the team does not exist, the deploy command will fail with a validation error.Step 3: Define Simulations
Add asimulations array with one object per simulation class you want to register.
simulation property is the fully-qualified class name (Java/Scala/Kotlin) or the simulation file path (JavaScript). The id fields are commented out initially — you fill them in after the first deploy.
Step 4: First Deployment
Deploy the package and simulations to Gatling Enterprise Edition for the first time. The CLI returns the generated IDs in the terminal output.- Maven
- Gradle
- sbt
- JavaScript CLI
package.conf:
Step 5: Configure the default Block
The default block sets simulation properties that apply to every simulation in the package unless overridden at the simulation level. A typical use case is pinning load generators to specific geographic locations with a traffic distribution.
Full package.conf Reference
CI/CD Integration
Oncepackage.conf is in your repository, the deploy command integrates cleanly into any CI/CD pipeline:
Storing simulation configuration in version control means every change is reviewed, audited, and reproducible — the same guarantees you expect from infrastructure-as-code for your application’s deployment configuration.