import_test_plan
Import an external JMX file as a test plan, preserving unrecognized elements as opaque nodes. Use to bring GUI-created plans into the MCP workflow without data loss.
Instructions
Import an externally authored .jmx file (e.g. exported from the JMeter GUI) as a new test plan. Element types this server doesn't model are kept as opaque UnknownElement nodes (their original XML is preserved and re-emitted as-is) instead of being dropped - check unknownElementCount/unknownElementTypes in the response to see what wasn't fully understood.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "import_test_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Plan name to use; defaults to the imported TestPlan element's name | |
| filePath | Yes | Absolute path to the .jmx file to import |