github.com/prebid/prebid-server@v0.275.0/adapters/gamoshi/gamoshitest/supplemental/unexpected-status-code.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "video": { 8 "mimes": ["video/mp4"], 9 "protocols": [2, 5], 10 "w": 1024, 11 "h": 576 12 }, 13 "ext":{ 14 "bidder":{ 15 "supplyPartnerId": "1707" 16 } 17 } 18 } 19 ] 20 }, 21 22 "httpCalls": [ 23 { 24 "expectedRequest": { 25 "uri": "https://rtb.gamoshi.io/r/1707/bidr?bidder=prebid-server", 26 "body": { 27 "id": "test-request-id", 28 "imp": [ 29 { 30 "id": "test-imp-id", 31 "video": { 32 "mimes": ["video/mp4"], 33 "protocols": [2, 5], 34 "w": 1024, 35 "h": 576 36 }, 37 "ext": { 38 "bidder": { 39 "supplyPartnerId": "1707" 40 } 41 } 42 } 43 ] 44 } 45 }, 46 "mockResponse": { 47 "status": 500, 48 "body": {} 49 } 50 } 51 ], 52 "expectedMakeBidsErrors": [ 53 { 54 "value": "unexpected status code: 500. Run with request.debug = 1 for more info", 55 "comparison": "literal" 56 } 57 ] 58 }