Scenario configuration
Scenario version 1
One YAML mapping is allowed per file, up to 256 KiB and 16 nesting levels below the root. Unknown fields, duplicate keys, aliases, anchors, merge keys, and explicit YAML type tags are rejected. Explicit null is supported only in assertion values. Use unquoted decimal integers for counts and limits. Use strings for durations, header values, and bodies.
| Field | Rule |
|---|---|
version |
Required integer, 1. |
target |
Required HTTP(S) origin with a literal loopback address and an optional port and trailing slash. |
request.method |
Required. One of GET, HEAD, POST, PUT, PATCH, DELETE, or OPTIONS. |
request.path |
Required. Starts with a single slash and may contain a query. It must be possible to send the path and query verbatim. Use percent escapes where appropriate. Fragments and backslashes are rejected. |
request.headers |
Optional mapping of HTTP header names to strings. Names must be unique case-insensitively. Host, framing, hop-by-hop, and proxy headers are reserved. |
request.expected_statuses |
Optional nonempty list of unique final HTTP status codes from 200 to 599, excluding rejected redirects. Each delivery with a confirmed response must match one of the codes. |
request.body |
Optional string, including an empty string. Use a block scalar or quote structured content. |
request.event_bodies |
Optional list of strings, mutually exclusive with body. It must have exactly request_count entries. |
execution.request_count |
Required, 1–1000. Repeats body this many times or sends each listed body exactly once. |
execution.concurrency |
Required, 1–32 and at most request_count. |
execution.initial_delay, execution.between_requests |
Optional, 0–30s each, default 0s. The latter is a pause after each completed batch that has a successor. At width 1 it is the original between-request pause. |
execution.schedule.order, execution.schedule.seed |
Order defaults to listed. shuffle requires at least two listed bodies. An unsigned decimal seed is required for shuffle or jitter and accepted only with at least one of them. |
execution.schedule.delays, execution.schedule.max_jitter |
Optional and mutually exclusive. Explicit delays need exactly request_count entries in planned slot order. Jitter draws each delay from 0 through the specified positive bound, inclusive, at nanosecond resolution. Delays are at most 30s and shorter than the overall timeout. |
execution.require_overlap, execution.dispatch_window |
Optional verification conditions. Require at least two workers and assertions. The dispatch window must be positive and at most the overall timeout. |
execution.limits.request_timeout |
Required, greater than 0s and at most 30s. |
execution.limits.overall_timeout |
Required, at least the request timeout and at most 5m. |
execution.limits.max_response_bytes |
Required, 1–1,048,576. |
verification.path |
Required when there are assertions. Uses the same path rules as request.path and is fetched with GET on the delivery origin. |
verification.headers |
Optional. Uses the same rules as request.headers. Delivery headers are scoped to delivery. |
state_assertions |
Optional list. Each entry has a unique JSON Pointer path and an equals scalar. An endpoint and a nonempty assertion list must appear together. |
Durations use Go syntax, such as 250ms. The overall timeout includes delays, every delivery, and verification. Each delivery has its own request timeout. Verification uses the request timeout or the remaining overall budget, whichever ends first.