add_duration_assertion
Add a duration assertion under an HTTP sampler to automatically fail samples exceeding maxDurationMs.
Instructions
Add a Duration Assertion under an HTTP sampler, failing the sample if it takes longer than maxDurationMs.
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": {
"planId": "<planId>",
"parentId": "<parentId>",
"maxDurationMs": "<maxDurationMs>"
},
"name": "add_duration_assertion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Duration Assertion | |
| planId | Yes | ||
| parentId | Yes | ||
| maxDurationMs | Yes |