{
  "scenario": "wretch-retry-total-timeout",
  "transports": [
    {
      "attempts": 3,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/deadline"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 300,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 300,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/deadline"
          }
        },
        {
          "atMs": 300,
          "attempt": 2,
          "type": "attempt:reject",
          "data": {
            "constructor": "DOMException",
            "name": "AbortError",
            "message": "This operation was aborted"
          }
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/healthy"
          }
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "response:headers",
          "data": {
            "status": 200
          }
        }
      ]
    },
    {
      "attempts": 3,
      "events": [
        {
          "atMs": 0,
          "attempt": 1,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/deadline"
          }
        },
        {
          "atMs": 0,
          "attempt": 1,
          "type": "response:headers",
          "data": {
            "status": 503
          }
        },
        {
          "atMs": 80,
          "attempt": 2,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 80,
          "attempt": 2,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/deadline"
          }
        },
        {
          "atMs": 100,
          "attempt": 2,
          "type": "attempt:abort",
          "data": {
            "constructor": "DOMException",
            "name": "AbortError",
            "message": "This operation was aborted"
          }
        },
        {
          "atMs": 100,
          "attempt": 2,
          "type": "attempt:reject",
          "data": {
            "constructor": "DOMException",
            "name": "AbortError",
            "message": "This operation was aborted"
          }
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "attempt:start",
          "data": {}
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "request",
          "data": {
            "method": "GET",
            "url": "https://example.test/healthy"
          }
        },
        {
          "atMs": 1100,
          "attempt": 3,
          "type": "response:headers",
          "data": {
            "status": 200
          }
        }
      ]
    }
  ]
}
