github.com/prebid/prebid-server/v2@v2.18.0/adapters/bidmachine/bidmachinetest/supplemental/status-400.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 "impIDs":["test-impression-id-1"] 58 }, 59 "mockResponse": 60 { 61 "status": 400, 62 "body": "server text here" 63 } 64 }], 65 "expectedMakeBidsErrors": [ 66 { 67 "value": "unexpected status code: 400 \"server text here\"", 68 "comparison": "literal" 69 }] 70 }