github.com/prebid/prebid-server/v2@v2.18.0/adapters/eplanning/eplanningtest/supplemental/server-error-code.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "banner": { 8 "w": 600, 9 "h": 300 10 }, 11 "ext": { 12 "bidder": { 13 "ci": "12345", 14 "adunit_code": "test_adunitcode" 15 } 16 } 17 } 18 ] 19 }, 20 21 "httpCalls": [ 22 { 23 "expectedRequest": { 24 "uri": "http://rtb.e-planning.net/pbs/1/12345/1/FILE/ROS?e=testadunitcode%3A600x300&ncb=1&ur=FILE", 25 "body": {}, 26 "impIDs":["test-imp-id"] 27 }, 28 "mockResponse": { 29 "status": 500, 30 "body": { 31 "sI": { "k": "12345" }, 32 "sec": "ROS", 33 "sp": [ 34 { 35 "k": "testadunitcode", 36 "a": [{ 37 "i": "123456789abcdef", 38 "pr": "0.5", 39 "adm": "<div>test</div>", 40 "crid": "abcdef123456789", 41 "id": "adid12345", 42 "w": 600, 43 "h": 300 44 }] 45 } 46 ] 47 } 48 } 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 } 59