discover_workload
Discover workload capacity by incrementally increasing JMeter concurrency and detecting the point where performance degrades.
Instructions
Find a capacity knee by stepping concurrency via -Jperfsage.threads.
Calls ensure_environment first. Each step reuses the same plan and overrides thread count/duration through JMeter properties. Returns DiscoveryOutcome plus provisioning and a recorded run_id. Optional run_id must match [A-Za-z0-9._-]{1,64}; collisions require overwrite=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| discovery | No | ||
| overwrite | No | ||
| plan_path | Yes | ||
| guardrails | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||