Captain JMXPostman to JMeter.
Including the scripts.
Drop in a Postman collection or an OpenAPI spec and get a production-ready .jmx — thread groups, controllers, assertions, timers, the lot. Your pm.test and pre-request JavaScript is parsed and rewritten as Groovy, not thrown away.
No account. No upload. No telemetry. Your collections never leave the tab.
{
"name": "Get Order",
"request": {
"method": "GET",
"url": "{{base_url}}/orders/{{id}}"
}
}<HTTPSamplerProxy>
<stringProp name="HTTPSampler.path">
/orders/${id}
</stringProp>
<stringProp name="HTTPSampler.method">
GET
</stringProp>
</HTTPSamplerProxy>Available Across All Major Browsers
Captain JMX is built to work seamlessly across all major browsers. We’re actively expanding support for more!
Watch the demo
A quick walkthrough of Captain JMX — from install to first result.
Demo video coming soon
Input formats — Postman v2.0, v2.1, OpenAPI 2.0, 3.x
JMeter thread group types
Load-shape presets
Requests per collection, without freezing the tab
Converting a collection by hand is a week you don't have
Existing converters hand you a skeleton: samplers with the right URLs and nothing else. Your test scripts — the pm.test blocks, the HMAC signing in pre-request, the token capture — are dropped silently. You find out three days later when the run reports 100% pass on a test that asserts nothing.
Scripts vanish
Most tools skip pm.test and pre-request JavaScript entirely. Your assertions become nothing, and the plan passes for the wrong reason.
Silent partial output
Something converts, something doesn't, and nothing tells you which. The gap surfaces during the load window, not before it.
Nothing is portable
You get one .jmx and no record of what changed, so the next person has to rediscover every workaround you invented.
Everything a real test plan needs
Not a skeleton. A plan you can open in JMeter and run.
Import anything Postman exports
Collections v2.0 and v2.1, environments, globals, and OpenAPI 2.0/3.x in JSON or YAML — from a file, a drop, or a URL. Drop several at once and they merge into one project.
Structure survives the trip
Folders become Transaction Controllers, execution order is preserved exactly, and inherited auth is resolved down the tree.
Every body mode
Raw JSON, XML, urlencoded, multipart with file parts, GraphQL and binary — each with the right Content-Type and multipart flag set.
Variables translated properly
{{postman}} becomes ${jmeter}. Environments shadow collection values, globals go to props, and dynamic variables like {{$guid}} map to real JMeter functions.
Ten thread group types
Standard, setUp, tearDown and Open Model built in; six more — including Concurrency, Stepping, Ultimate and Arrivals — need jpgc-casutg for real load shapes. Plugin requirements are flagged before you hit a wall in JMeter.
Seven load presets
Smoke, Load, Stress, Spike, Soak, Capacity and API Benchmark. Each sets the thread group, pacing and listeners to the shape that test normally takes — then gets out of your way.
Edit before you export
Monaco editor on the raw XML, a visual tree of the plan, and a diff view for every converted script. Change the Groovy and the plan regenerates around it.
Built for big collections
Parsing, conversion and zipping all run in a Web Worker with virtualised lists. A thousand requests doesn't lock the tab.
Your JavaScript becomes Groovy. Properly.
Captain JMX parses each script with a real JavaScript parser and walks the syntax tree. It isn't find-and-replace — that can't tell live code from a string literal, and can't keep the order of what it doesn't recognise. Pre-request scripts become JSR223 PreProcessors. Test scripts become Assertions when they assert, and PostProcessors when they only extract.
pm.test("status is 200", function () {
pm.response.to.have.status(200);
});
pm.test("has token", function () {
const data = pm.response.json();
pm.expect(data.token).to.not.be.null;
pm.environment.set("token", data.token);
});import groovy.json.JsonSlurper
def failures = []
/** Mirrors pm.test: runs the block, records the failure, keeps going. */
def runTest = { String name, Closure body ->
try {
body()
} catch (AssertionError | Exception problem) {
failures << (name + " — " + problem.getMessage())
}
}
runTest("status is 200") {
assert prev.getResponseCode() == String.valueOf(200) : "expected status 200"
}
runTest("has token") {
def data = new JsonSlurper().parseText(prev.getResponseDataAsString())
assert !(data.token == null) : "expected not null"
vars.put("token", String.valueOf(data.token))
}
if (!failures.isEmpty()) {
AssertionResult.setFailure(true)
AssertionResult.setFailureMessage(failures.join("\n"))
}Variables, all four scopes.
pm.environment, pm.collectionVariables, pm.variables → vars. pm.globals → props, the only store shared across threads.
Crypto and dynamic values.
CryptoJS MD5, SHA-1/256/512 and HMAC map to MessageDigest and Mac with the imports written for you. UUIDs, timestamps, Base64, JSON.parse/stringify too.
Real control flow.
if/else, all four loop forms, switch, functions, try/catch, template literals, regex, destructuring. Groovy dropped do/while, so it becomes a guarded while (true).
The full chai vocabulary.
.to.have.status, .to.eql, .to.include, .to.match, .to.be.above/below, .to.have.length, .to.be.oneOf, .to.be.null — and every one of them negated.
Nothing is dropped silently. Ever.
Some things genuinely have no JMeter equivalent. pm.sendRequest is asynchronous. setTimeout needs an event loop. require needs a module registry that doesn't exist inside JMeter. Captain JMX doesn't fake any of them — and it doesn't quietly delete them either.
null /* TODO — Postman sends this request asynchronously with a callback.
Fix: Model it as its own HTTP Sampler placed before this one, or issue
the call synchronously from Groovy with HttpURLConnection.
Original JavaScript: pm.sendRequest("https://audit.test", function (e, r) { ... }) */Original code preserved.
The JavaScript travels inside the comment, so whoever picks this up has everything they need to finish by hand.
A confidence score per script.
90+ Converted, 50–89 Partial, below 50 Manual review. Anything under your threshold is written into the plan but left disabled — a half-translated script can't break a run.
A written record.
CHANGELOG.md lists every script that needs a human, why, and the suggested fix. warnings.json says the same thing to your CI.
Import, convert, inspect, ship
Import
Drop a collection, an environment, a spec, or all three. Every file is validated with diagnostics that point at the line, not just the file.
Convert
Pick a preset or set the thread group, pacing and elements yourself. Scripts convert in the same pass.
Preview
The plan as a JMeter tree, the raw XML, each script's JavaScript beside its Groovy, and a summary with recommendations. Edit anything.
Export
A .jmx on its own, or a bundle with everything the person running the test will need.
A bundle, not just a file
Everything needed on a machine that has never seen this project.
orders-api/ ├── orders-api.jmx The test plan ├── README.md Plan shape, variables, warnings, how to run it ├── CHANGELOG.md Every script that needs a human, with the fix ├── env/orders-api.properties Override any variable at run time ├── data/variables.csv Variables, secrets redacted ├── data/requests.csv Request inventory for coverage review ├── reports/conversion-report.html Each script: JavaScript in, Groovy out ├── reports/warnings.json Machine-readable, for CI gates ├── reports/conversion-metadata.json Provenance: sources, options, scores └── bin/run.sh, bin/run.cmd Non-GUI run with an HTML report
Listeners are written into the plan and left disabled. An enabled View Results Tree will exhaust the heap on any run worth doing — read results from the JTL and the HTML report instead. run.sh already does.
Your collections never leave the tab
Conversion runs in a Web Worker on your machine. Saved projects live in your browser’s IndexedDB. There is no account, no upload, no analytics call, and no server to have a breach. The extension asks for network access for exactly one reason: fetching an OpenAPI spec when you paste a URL.
- No account required
- No data leaves your browser
- No telemetry, ever
Questions worth asking before you install
Do I need JMeter installed to use this?
No. Captain JMX produces the .jmx file; you'll need JMeter 5.6 or newer to run it. The bundle's bin/run.sh handles the non-GUI invocation and HTML report for you.
Will the generated plan run as-is?
Usually, yes — but read CHANGELOG.md first. Anything that could not be converted is listed there with a suggested fix. Correlation between requests, realistic think time and data sets are still yours to add; those are test-design decisions, not translation problems.
What happens to my pm.test scripts?
They're parsed and rewritten as Groovy inside JSR223 Assertions or PostProcessors. Each one gets a confidence score, and you can see the JavaScript beside the generated Groovy before exporting — and edit the Groovy if you disagree with it.
What about pm.sendRequest or setTimeout?
Neither has a JMeter equivalent, so neither is faked. They are preserved in the output inside a TODO block with the original code and a suggested fix, and reported in the CHANGELOG.
Do the plugin thread groups work without JMeter Plugins Manager?
No, and Captain JMX tells you before you export. Standard, setUp, tearDown and Open Model groups are built in; the other six — including Concurrency, Stepping, Ultimate and Arrivals — need jpgc-casutg, which is named in the UI, the README and the metadata.
Does it handle large collections?
Yes. Parsing, conversion and zipping run off the main thread with virtualised rendering. A thousand requests converts without the tab freezing.
Is it really free?
Yes, and open source.
Which browsers?
Chrome 116 or newer, and Chromium-based browsers (Edge, Brave, Arc). It's a Manifest V3 extension that opens in a full tab, not a popup.






