github.com/prebid/prebid-server@v0.275.0/adapters/bidmachine/bidmachinetest/supplemental/status-504.json (about)

     1  {
     2    "mockBidRequest":
     3    {
     4      "id": "test-request-id",
     5      "imp": [
     6      {
     7        "id": "test-impression-id-1",
     8        "banner":
     9        {
    10          "format": [
    11          {
    12            "h": 250,
    13            "w": 300
    14          }]
    15        },
    16        "ext":
    17        {
    18          "bidder":
    19          {
    20            "seller_id": "1",
    21            "host": "api-eu",
    22            "path": "auction/rtb/v2"
    23          }
    24        }
    25      }]
    26    },
    27    "httpCalls": [
    28    {
    29      "expectedRequest":
    30      {
    31        "uri": "https://api-eu.bidmachine.io/auction/rtb/v2/1",
    32        "body":
    33        {
    34          "id": "test-request-id",
    35          "imp": [
    36          {
    37            "id": "test-impression-id-1",
    38            "banner":
    39            {
    40              "format": [
    41              {
    42                "h": 250,
    43                "w": 300
    44              }]
    45            },
    46            "ext":
    47            {
    48              "bidder":
    49              {
    50                "seller_id": "1",
    51                "host": "api-eu",
    52                "path": "auction/rtb/v2"
    53              }
    54            }
    55          }]
    56        }
    57      },
    58      "mockResponse":
    59      {
    60        "status": 504,
    61        "body": "server text here"
    62      }
    63    }],
    64    "expectedMakeBidsErrors": [
    65    {
    66      "value": "unexpected status code: 504 \"server text here\"",
    67      "comparison": "literal"
    68    }]
    69  }