{
  "scenario": "fetch-resilience-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": "response:headers",
          "data": {
            "status": 200
          }
        },
        {
          "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": 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
          }
        },
        {
          "atMs": 1100,
          "attempt": 2,
          "type": "attempt:reject",
          "data": {
            "constructor": "Error",
            "name": "Error",
            "message": "Scripted fetch disposed"
          }
        }
      ]
    }
  ]
}
