/gatling:gatling-convert-from-jmeterfrom gatling
Converts Apache JMeter test plans (.jmx) to Gatling simulations. Handles ThreadGroups, CSV datasets, redirects, and JMESPath extractors.
Ships in gatling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
.jmx extensionEither find an existing Gatling project or initialize a new Gatling project:
Each ThreadGroup converts to a scenario.
IF serialize_threadgroups true:
andThen
ELSE:setUp blockFiles referenced in elements such as:
should be copied to the resources directory in the Gatling project.
| JMeter | Gatling |
|---|---|
follow_redirects = true | default setting, do nothing |
follow_redirects = false | disableFollowRedirect |
CSVDataSet converts to a csv feeder.
IF there are several instances of CSVDataSet referencing the same file name:
shareMode.group:
The jmesPath Gatling check extracts Strings, meaning that non String values get serialized back into JSON.
Using findAll with jmesPath is a mistake, but you can tell Gatling the expected type with an extra step.
Note that the check will then fail if the actual value doesn't match the expected type.
jmesPath("foo").ofString()
jmesPath("foo").ofBoolean()
jmesPath("foo").ofInt()
jmesPath("foo").ofLong()
jmesPath("foo").ofDouble()
// JSON array
jmesPath("foo").ofList()
// JSON object
jmesPath("foo").ofMap()
// anything
jmesPath("foo").ofObject()
matchNumber applies when the JMESPath expression returns an array and selects which element to use (1-based in JMeter).
IF matchNumber = 1:
jmesPath("foo[0]")IF matchNumber = 0 (random):
jmesPath("foo").ofList(), then pick a random element in a subsequent exec blockIF matchNumber = -1 (all matches):
foo_1...foo_N and their count as foo_matchNrjmesPath("foo").ofList().saveAs("foo"), then read element N as #{foo(N-1)} and the count as #{foo.size()}IF matchNumber > 1:
jmesPath("foo[N-1]") (0-based index)Some functions have variants that save the result to a variable (e.g.: __Random(0,10,myVar)) but Gatling
Expression Language cannot save variables as a side effect.
IF a variable needs to be saved inside the function AND the function is used within an Expression Language
When parsing dates, use java.time.format.DateTimeFormatter.ofPattern with system default zone and store it
outside a function to avoid creation cost overhead.
For regular expression, use java.util.regex.Pattern.compile and store it outside a function to avoid creation cost
overhead.
Convert these functions to what JMeter uses under the hood:
changeCase: toUpperCase or toLowerCase with Locale.ROOT or capitalizedigest: java.security.MessageDigesturldecode: java.net.URLDecoder.decodeurlencode: java.net.URLEncoder.encodeUUID: java.util.UUID.randomUUIDImport org.unbescape:unbescape for the following escaping functions:
escapeHtml: HtmlEscape.escapeHtml5escapeXml: XmlEscape.escapeXml10unescape: JavaEscape.unescapeJavaunescapeHtml: HtmlEscape.unescapeHtmlUse the build-tool skill if available.
After the conversion in Step 3, prompt the user for possible enhancements that are more idiomatic to Gatling.
IF ThreadGroup.ramp_time is 0 or 1:
rampUsers to atOnceUsersWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gatling/gatling-ai-extensions --plugin gatling7 skills in this plugin
/gatling-bootstrap-projectBootstrap/set up a Gatling project to get started with Gatling load tests./gatling-build-toolsGuide for deploying and starting Gatling tests on Gatling Enterprise. Use this skill when the user wants to deploy, push, or start tests on Gatling Enterprise using Gatling build tools (aka plugins) and Configuration as Code./gatling-configuration-as-codeGuide 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./gatling-convert-from-loadrunnerGuide for converting HP/Micro Focus/OpenText LoadRunner scripts to Gatling. Use this skill whenever the user mentions LoadRunner, VuGen, LR scripts, .c action files, vuser_init, web_url, web_submit_data, or any LoadRunner-specific functions. Trigger on phrases like "convert this action", "convert this LoadRunner test to Gatling", "migrate from LoadRunner", or when the user shares .c/.h files that look like LoadRunner scripts./gatling-detect-existing-projectFind an existing Gatling project, detect language and build tool used/gatling-mcpGuidance for using the Gatling MCP server's tools (tests, runs, packages, source repositories, locations, teams) to inspect and drive Gatling Enterprise. Use whenever calling those tools, before assuming an ID, role, or format that isn't spelled out in the tool's own description.Other plugins' skills for the same job