{
  "scenario": "@resili/fetch-circuit-local-cancellation",
  "transports": [
    {
      "attempts": 2,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/active"
          }
        },
        {
          "atMs": 20,
          "attempt": 1,
          "type": "attempt:abort",
          "data": {
            "constructor": "DOMException",
            "name": "AbortError",
            "message": "Caller stopped active fetch"
          }
        },
        {
          "atMs": 20,
          "attempt": 1,
          "type": "attempt:reject",
          "data": {
            "constructor": "DOMException",
            "name": "AbortError",
            "message": "Caller stopped active fetch"
          }
        },
        {
          "atMs": 1020,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 1020,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/health-after-abort"
          }
        },
        {
          "atMs": 1020,
          "attempt": 2,
          "type": "response:headers",
          "data": {
            "status": 200
          }
        }
      ]
    },
    {
      "attempts": 1,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/cancelled"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        }
      ]
    },
    {
      "attempts": 3,
      "events": [
        {
          "atMs": 1010,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 1010,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/dependency-failure"
          }
        },
        {
          "atMs": 1010,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 1110,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 1110,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/dependency-failure"
          }
        },
        {
          "atMs": 1110,
          "attempt": 2,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 11211,
          "attempt": 3,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 11211,
          "attempt": 3,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/recovered"
          }
        },
        {
          "atMs": 11211,
          "attempt": 3,
          "type": "response:headers",
          "data": {
            "status": 200
          }
        }
      ]
    }
  ]
}
