add_thread_group
Add a thread group to a JMeter test plan to define concurrent virtual users and set ramp-up time for load testing.
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 | |
| delaySeconds | No | Startup delay: seconds to wait before this thread group starts (enables the scheduler). Use it to stage thread groups, e.g. a second group that begins 5s after the first. | |
| 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 |