Get Load Test Failure Patterns
getLoadTestFailurePatternsGroup the calls of one load-test RUN that did not pass into named failure patterns, by the run's id (from listLoadTestRuns). Returns totalCalls, failedCalls, unclassified (failed calls no rule matched), late starts, and patterns, most calls first: each with a label, owner (platform, carrier, system-under-test, test-definition or unknown: who has to fix it), a one-sentence description, count, share of failed calls, calls per lane, first and last seen and up to five example call ids; plus a timeline of failures and calls in flight. Takes optional scope: group (default, every lane started with the run) or lane (this run only). Use when: the user asks why a load test failed or whose problem the failures are. Read an example call with getRunResults. Read-only. Needs testing:read.
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": {
"id": "<id>"
},
"name": "getLoadTestFailurePatterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Load-test RUN identifier (the runId, NOT the config ID). | |
| scope | No | `group` (default): every lane started with this run. `lane`: this run only. | group |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | Yes | ||
| runId | Yes | ||
| scope | Yes | ||
| groupId | Yes | The group the run was started in; null for a one-config run. | |
| patterns | Yes | One entry per pattern with at least one call, most calls first. | |
| timeline | Yes | ||
| lateStarts | Yes | Calls whose system under test first spoke later than the late-answer threshold. | |
| totalCalls | Yes | ||
| failedCalls | Yes | Calls that did not pass (failed | |
| rulesVersion | Yes | ||
| unclassified | Yes | Failed calls no rule matched | |
| callsOverTime | Yes | Calls over the run, for a chart. Buckets start at the earliest call start; the size is the smallest of 5, 15, 30, 60 and 300 seconds that keeps the run within 2880 buckets (a longer run is cut). An empty run gives bucketSecs 5 and no buckets. | |
| lateStartsPassed | Yes | Of `lateStarts` |