add_header_manager
Add an HTTP Header Manager to a JMeter test plan to define custom headers for a specific sampler or apply them across all samplers in a thread group.
Instructions
Add an HTTP Header Manager under an HTTP sampler (or a Thread Group, to apply to every sampler in it).
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>",
"parentId": "<parentId>",
"headers": "<headers>"
},
"name": "add_header_manager"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | HTTP Header Manager | |
| planId | Yes | ||
| headers | Yes | ||
| parentId | Yes |