github.com/prebid/prebid-server/v2@v2.18.0/adapters/amx/amxtest/supplemental/500-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "device": {
     4        "dnt": 0,
     5        "h": 1120,
     6        "ip": "98.249.0.0",
     7        "language": "en",
     8        "os": "macos",
     9        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36",
    10        "w": 1792
    11      },
    12      "id": "TL3JS6F43CKNDQFY",
    13      "imp": [
    14        {
    15          "video": {
    16            "api": [1,2],
    17            "h": 300,
    18            "pos": 1,
    19            "w": 640
    20          },
    21          "id": "1",
    22          "secure": 1
    23        }
    24      ],
    25      "site": {
    26        "ext": {
    27          "amp": 0
    28        }
    29      },
    30      "source": {
    31        "ext": {
    32          "schain": {
    33            "complete": 1,
    34            "nodes": [
    35              {
    36                "asi": "amxrtb.com",
    37                "hp": 1,
    38                "sid": "1234"
    39              }
    40            ],
    41            "ver": "1.0"
    42          }
    43        }
    44      },
    45      "test": 0,
    46      "tmax": 300
    47    },
    48    "httpCalls": [{
    49      "expectedRequest": {
    50        "uri": "http://pbs-dev.amxrtb.com/auction/openrtb?v=pbs1.2",
    51        "body": {
    52          "device": {
    53            "dnt": 0,
    54            "h": 1120,
    55            "ip": "98.249.0.0",
    56            "language": "en",
    57            "os": "macos",
    58            "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36",
    59            "w": 1792
    60          },
    61          "id": "TL3JS6F43CKNDQFY",
    62          "imp": [
    63            {
    64              "video": {
    65                "api": [1,2],
    66                "mimes": null,
    67                "h": 300,
    68                "pos": 1,
    69                "w": 640
    70              },
    71              "id": "1",
    72              "secure": 1
    73            }
    74          ],
    75          "site": {
    76            "ext": {
    77              "amp": 0
    78            }
    79          },
    80          "source": {
    81            "ext": {
    82              "schain": {
    83                "complete": 1,
    84                "nodes": [
    85                  {
    86                    "asi": "amxrtb.com",
    87                    "hp": 1,
    88                    "sid": "1234"
    89                  }
    90                ],
    91                "ver": "1.0"
    92              }
    93            }
    94          },
    95          "tmax": 300
    96        },
    97        "impIDs":["1"]
    98      },
    99      "mockResponse": {
   100        "status": 500,
   101        "headers": {
   102          "X-Nbr": [
   103            "7a"
   104          ]
   105        },
   106        "body": {}
   107      }
   108    }],
   109    "expectedMakeBidsErrors": [
   110      {
   111        "value": "Unexpected response: 500. Error Code: 7a",
   112        "comparison": "literal"
   113      }
   114    ]
   115  }