Install
$ agentstack add skill-gatling-gatling-ai-extensions-gatling-configuration-as-code ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Gatling - Configuration as Code
This skill provides guidance on how to generate or update the .gatling/package.conf package descriptor file for deploying tests to Gatling Enterprise.
Instructions
- Discover simulations based on the project language and build tool used: Java with Maven, JavaScript/TypeScript with the JavaScript CLI, Kotlin with Gradle, and Scala with sbt.
Collect their fully qualified class names (FQCN).
- Read existing config: check if
.gatling/package.confalready exists.
For reference check assets/package.conf from this skill using the Read tool.
- Before asking any questions, call all the proper MCP tools to get real data from the user's account:
- Which teams are available.
- Which managed and private locations are available.
- Check if a package already exists for this project.
- Check if a test (aka simulation) already exists for this project.
- Ask the user what they need with the
AskUserQuestiontool.
If a list has >4 items, output the full list as markdown in a text message and ask the user to specify their choice(s) by name.
- Which tests to include.
- Package name (default to the project name, use artifactId if this is a Maven project).
- Team name or ID, asks the users if they want to create a new team.
- Load generator locations and weights, ask if they want to use a managed or private location.
- Any system properties or environment variables.
- Ramp up and ramp down time windows.
- Stop criteria.
- Generate or update the file following the structure and rules below.
Key Rules
simulation(FQCN) is the only mandatory field per simulation entry.- Location
weightvalues must sum to 100 across all locations for a simulation. - System property names must be quoted (HOCON interprets dots as nested keys).
- Prefix system properties with
sensitive.to hide values from the dashboard. - Prefix environment variables with
SENSITIVE_to hide values from the dashboard. - The
defaultblock avoids repeating shared config; simulation-specific values override it. - Maps (
systemProperties,environmentVariables) are merged, with simulation values taking priority. ignoreDefaultsrefers to Gatling Enterprise's Default Load Generator Parameters, not thedefault {}block.- After first deploy, IDs are logged — add them to
idfields for consistent updates (allows renaming without creating duplicates).
Locations
For managed locations, use the full name. For private locations, use their ID.
Stop criteria
stopCriteria = [
{
type = "meanCpu"
timeFrameInSeconds = 10
threshold = { maxPercentage = 90 }
},
{
type = "globalResponseTime"
timeFrameInSeconds = 10
threshold = { maxMilliseconds = 500, percentile = 95 }
},
{
type = "globalErrorRatio"
timeFrameInSeconds = 10
threshold = { maxPercentage = 5 }
}
]
Troubleshooting
MCP tool call fails
If any MCP tool call fails, check authentication first:
- Verify
GATLING_ENTERPRISE_API_TOKENis set in the environment. - If missing, warn the user, suggest using
direnv, and offer to create a.envrcfile. - Never print the actual token value in the terminal or logs.
- The token needs at least the Configure role on Gatling Enterprise.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: gatling
- Source: gatling/gatling-ai-extensions
- License: Apache-2.0
- Homepage: https://gatling.io
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.