set_element_enabled
Enable or disable a test element in a JMeter plan to control execution. Disabled elements are skipped during test runs, allowing temporary deactivation without deletion.
Instructions
Enable or disable an element without removing it. A disabled element is skipped by JMeter at run time.
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": {
"planId": "<planId>",
"nodeId": "<nodeId>",
"enabled": "<enabled>"
},
"name": "set_element_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| planId | Yes | ||
| enabled | Yes |