github.com/prebid/prebid-server/v2@v2.18.0/adapters/trustedstack/trustedstacktest/supplemental/invalid-req-500-status-code-bad-request.json (about)

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "0000-000-000-0000"
     8      },
     9      "app": {
    10        "publisher": {
    11          "id": "123456789"
    12        },
    13        "cat": [
    14          "IAB22-1"
    15        ],
    16        "bundle": "com.app.awesome",
    17        "name": "Awesome App",
    18        "domain": "awesomeapp.com",
    19        "id": "123456789"
    20      },
    21      "imp": [
    22        {
    23          "id": "some-impression-id",
    24          "video": {
    25            "mimes": [
    26              "video/mp4"
    27            ],
    28            "w": 640,
    29            "h": 480,
    30            "minduration": 120,
    31            "maxduration": 150
    32          },
    33          "ext": {
    34            "bidder": {
    35              "cid": "8CUTSTCID",
    36              "crid": "999999999"
    37            }
    38          }
    39        }
    40      ]
    41    },
    42  
    43    "httpCalls": [{
    44      "expectedRequest": {
    45        "uri": "https://example.trustedstack.com/rtb/prebid?src=http%3A%2F%2Fhosturl.com",
    46        "body": {
    47          "id": "some-request-id",
    48          "imp": [
    49            {
    50              "id": "some-impression-id",
    51              "video": {
    52                "mimes": [
    53                  "video/mp4"
    54                ],
    55                "w": 640,
    56                "h": 480,
    57                "minduration": 120,
    58                "maxduration": 150
    59              },
    60              "ext": {
    61                "bidder": {
    62                  "cid": "8CUTSTCID",
    63                  "crid": "999999999"
    64                }
    65              }
    66            }
    67          ],
    68          "app":  {
    69            "publisher": {
    70              "id": "123456789"
    71            },
    72            "cat": [
    73              "IAB22-1"
    74            ],
    75            "bundle": "com.app.awesome",
    76            "name": "Awesome App",
    77            "domain": "awesomeapp.com",
    78            "id": "123456789"
    79          },
    80          "user": {
    81            "buyeruid": "0000-000-000-0000"
    82          },
    83          "tmax": 1000
    84        },
    85        "impIDs": ["some-impression-id"]
    86      },
    87      "mockResponse": {
    88        "status": 500
    89      }
    90    }],
    91    "expectedBidResponses": [],
    92    "expectedMakeBidsErrors": [
    93      {
    94        "value": "Unexpected status code: 500. Run with request.debug = 1 for more info",
    95        "comparison": "literal"
    96      }
    97    ]
    98  }