add_setup_thread_group
Add a setUp Thread Group to run once before all normal thread groups, for one-time setup tasks like login or data seeding.
Instructions
Add a setUp Thread Group under the TestPlan root. Runs once, before all normal Thread Groups start, regardless of where it sits in the tree - typically used for one-time setup (e.g. login, seeding data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | setUp Thread Group | |
| loops | No | Number of loop iterations per thread, -1 for infinite | |
| planId | Yes | ||
| parentId | Yes | ||
| numThreads | Yes | ||
| 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 |