RESPONSE
Expected successful response payload.
When to use
- Use for strict contract validation
- Can appear multiple times for streaming expectations
- Combine with
with_assertswhen you need payload + logical checks
Minimal example
php
--- RESPONSE with_asserts partial tolerance=0.1 unordered_arrays ---
{
"status": "ok"
}Inline options
with_assertspartialtolerance=<number>redact=["field1","field2"]unordered_arrays
Rules
- Do not combine
RESPONSEandERRORin one file