update_thread_group
Modify JMeter thread group parameters in a .jmx file—set thread count, ramp-up, loops, duration, and scheduler—to customize load test execution.
Instructions
Update thread group settings (threads, ramp-up, loops, duration)
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": {
"testfile": "<testfile>"
},
"name": "update_thread_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | Startup delay in seconds | |
| loops | No | Loop count (-1 for infinite) | |
| duration | No | Test duration in seconds | |
| rampTime | No | Ramp-up time in seconds | |
| testfile | Yes | Path to the .jmx file | |
| scheduler | No | Enable/disable scheduler | |
| numThreads | No | Number of threads (virtual users) |