{
  "scenario": "@resili/fetch-retry-after-abort",
  "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/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 50,
          "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/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        }
      ]
    },
    {
      "attempts": 2,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 50,
          "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/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        }
      ]
    },
    {
      "attempts": 2,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 50,
          "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/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        }
      ]
    },
    {
      "attempts": 2,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 50,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/retry-after"
          }
        },
        {
          "atMs": 50,
          "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/retry-after"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        }
      ]
    }
  ]
}
