Files
tech-log-frontend/tests/fixtures/test-evidence/scenarios/catalog.json
T

37 lines
1.7 KiB
JSON

{
"HTTP_SCENARIO_EXPECTATIONS": [
{
"executionId": "FIXTURE_OPERATION::declared-and-executed",
"operationId": "FIXTURE_OPERATION",
"scenarioId": "declared-and-executed",
"expected": {
"status": { "attempts": [200], "final": 200 },
"outcome": { "kind": "SUCCESS", "detail": null },
"effect": { "outcome": "NOT_APPLICABLE", "observer": "NOT_APPLICABLE" },
"retry": { "count": 0, "reasons": [] },
"fetch": { "count": 1, "observerAttempts": 1, "agrees": true },
"media": { "attempts": ["application/json"], "final": "application/json" },
"body": { "attempts": [{ "disposition": "FULLY_READ_WITHIN_BOUND", "pulledBytes": 2, "ceiling": 16 }] },
"scope": { "start": "CURRENT", "end": "CURRENT", "signal": "ACTIVE", "cancellationOwner": "NONE" }
},
"testDeadlineOverrideMs": null
},
{
"executionId": "FIXTURE_OPERATION::declared-but-unexecuted",
"operationId": "FIXTURE_OPERATION",
"scenarioId": "declared-but-unexecuted",
"expected": {
"status": { "attempts": [503], "final": 503 },
"outcome": { "kind": "PROBLEM", "detail": "503" },
"effect": { "outcome": "NOT_APPLIED", "observer": "NOT_STARTED" },
"retry": { "count": 0, "reasons": [] },
"fetch": { "count": 1, "observerAttempts": 1, "agrees": true },
"media": { "attempts": ["application/json"], "final": "application/json" },
"body": { "attempts": [{ "disposition": "FULLY_READ_WITHIN_BOUND", "pulledBytes": 64, "ceiling": 65536 }] },
"scope": { "start": "CURRENT", "end": "CURRENT", "signal": "ACTIVE", "cancellationOwner": "NONE" }
},
"testDeadlineOverrideMs": null
}
]
}