Convert cURL or HAR to JMeter JMX Test Plan
convert_curl_or_har_to_jmxConvert one or more cURL commands or HAR (HTTP Archive 1.2) JSON traces into a valid, production-ready Apache JMeter .jmx test plan XML with HTTP Request Defaults, Header Managers, Cookie Managers, timeouts, and assertions. Supports GET, POST, PUT, DELETE, PATCH, and RFC 9838 QUERY methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | cURL command string (single, multiline, or batch) or HAR 1.2 JSON text (max 1MB). | |
| threads | No | Thread concurrency / virtual users (default: 1). | |
| loopCount | No | Loop count (-1 for infinite, default: 1). | |
| testPlanName | No | Name of the JMeter Test Plan (default: "cURL Converted Plan"). | |
| rampUpSeconds | No | Ramp-up time in seconds (default: 1). | |
| durationSeconds | No | Test duration in seconds (0 = disabled, default: 0). | |
| parameterizeAuth | No | Extract Bearer token into ${AUTH_TOKEN} variable (default: true). | |
| parameterizeHost | No | Extract common host into HTTP Request Defaults and ${BASE_URL} (default: true). | |
| includeAssertions | No | Add HTTP 200/201/204 Response Code assertions (default: true). | |
| filterStaticAssets | No | Filter out images/css/fonts when parsing HAR (default: true). | |
| includeCookieManager | No | Include HTTP Cookie Manager (default: true). |