AgentStack
SKILL verified Apache-2.0 Self-run

Gatling Configuration As Code

skill-gatling-gatling-ai-extensions-gatling-configuration-as-code · by gatling

Guide to generate or update the .gatling/package.conf package descriptor file for Gatling Enterprise deployment. Use this skill when the user wants to configure, set up, or modify their package descriptor file, stop criteria, or load generator settings using Configuration as Code.

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-gatling-gatling-ai-extensions-gatling-configuration-as-code

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Gatling Configuration As Code? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. 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).

  1. Read existing config: check if .gatling/package.conf already exists.

For reference check assets/package.conf from this skill using the Read tool.

  1. 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.
  1. Ask the user what they need with the AskUserQuestion tool.

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.
  1. Generate or update the file following the structure and rules below.

Key Rules

  • simulation (FQCN) is the only mandatory field per simulation entry.
  • Location weight values 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 default block avoids repeating shared config; simulation-specific values override it.
  • Maps (systemProperties, environmentVariables) are merged, with simulation values taking priority.
  • ignoreDefaults refers to Gatling Enterprise's Default Load Generator Parameters, not the default {} block.
  • After first deploy, IDs are logged — add them to id fields 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:

  1. Verify GATLING_ENTERPRISE_API_TOKEN is set in the environment.
  2. If missing, warn the user, suggest using direnv, and offer to create a .envrc file.
  3. Never print the actual token value in the terminal or logs.
  4. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.