github.com/prebid/prebid-server/v2@v2.18.0/adapters/adelement/adelementtest/supplemental/status-code-service-unavailable.json (about)

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "awesome-user"
     8      },
     9      "site": {
    10        "page": "test.com",
    11        "publisher": {
    12          "id": "123456789"
    13        }
    14      },
    15      "imp": [
    16        {
    17          "id": "some-impression-id",
    18          "tagid": "ogTAGID",
    19          "video": {
    20            "mimes": ["video/mp4"],
    21            "w": 640,
    22            "h": 480,
    23            "minduration": 120,
    24            "maxduration": 150
    25          },
    26          "ext": {
    27            "bidder": {
    28              "supply_id": "1"
    29            }
    30          }
    31        }
    32      ]
    33    },
    34  
    35    "httpCalls": [{
    36      "expectedRequest": {
    37        "uri": "http://test.adelement.com/openrtb2/auction?supply_id=1",
    38        "body": {
    39          "id": "some-request-id",
    40          "imp": [
    41            {
    42              "id": "some-impression-id",
    43              "tagid": "ogTAGID",
    44              "video": {
    45                "mimes": [
    46                  "video/mp4"
    47                ],
    48                "minduration": 120,
    49                "maxduration": 150,
    50                "w": 640,
    51                "h": 480
    52              }
    53            }
    54          ],
    55          "site": {
    56            "page": "test.com",
    57            "publisher": {
    58              "id": "123456789"
    59            }
    60          },
    61          "user": {
    62            "buyeruid": "awesome-user"
    63          },
    64          "tmax": 1000
    65        },
    66        "impIDs": ["some-impression-id"]
    67      },
    68      "mockResponse": {
    69        "status": 503
    70      }
    71    }],
    72    "expectedBidResponses": [],
    73    "expectedMakeBidsErrors": [
    74      {
    75        "value": "Unexpected status code: 503. Run with request.debug = 1 for more info",
    76        "comparison": "literal"
    77      }
    78    ]
    79  }