add_thread_group
Adds a virtual user thread group to a JMeter test plan under a specified parent, setting thread count, ramp time, loops, or scheduled duration.
Instructions
Add a Thread Group (virtual users) under the given parent node (usually the TestPlan root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| loops | No | Number of loop iterations per thread, -1 for infinite | |
| planId | Yes | ||
| parentId | Yes | Id of the node to attach this thread group under | |
| numThreads | Yes | Number of concurrent virtual users | |
| durationSeconds | No | If set, run on a scheduler for this many seconds instead of a fixed loop count | |
| rampTimeSeconds | Yes | Seconds to reach full thread count |