github.com/prebid/prebid-server/v2@v2.18.0/adapters/bwx/bwxtest/supplemental/unexpected-status.json (about) 1 { 2 "mockBidRequest": { 3 "id": "id", 4 "imp": [ 5 { 6 "id": "id", 7 "secure": 1, 8 "bidfloor": 0.01, 9 "bidfloorcur": "USD", 10 "banner": { 11 "w": 300, 12 "h": 250 13 }, 14 "ext": { 15 "bidder": { 16 "env": "boldwinx-stage", 17 "pid": "3163e2c9e034770c0daaa98c7613b573" 18 } 19 } 20 } 21 ], 22 "device": { 23 "ua": "UA", 24 "ip": "123.3.4.123" 25 }, 26 "regs": { 27 "ext": { 28 "gdpr": 0 29 } 30 }, 31 "user": { 32 "id": "userid" 33 }, 34 "site": { 35 "id": "id", 36 "domain": "test,com", 37 "cat": [ 38 "IAB12" 39 ], 40 "publisher": { 41 "id": "pubid" 42 } 43 } 44 }, 45 "httpCalls": [ 46 { 47 "expectedRequest": { 48 "uri": "http://rtb.boldwin.live/?pid=3163e2c9e034770c0daaa98c7613b573&host=boldwinx-stage&pbs=1", 49 "body": { 50 "id": "id", 51 "imp": [ 52 { 53 "id": "id", 54 "secure": 1, 55 "bidfloor": 0.01, 56 "bidfloorcur": "USD", 57 "banner": { 58 "w": 300, 59 "h": 250 60 }, 61 "ext": { 62 "bidder": { 63 "env": "boldwinx-stage", 64 "pid": "3163e2c9e034770c0daaa98c7613b573" 65 } 66 } 67 } 68 ], 69 "device": { 70 "ua": "UA", 71 "ip": "123.3.4.123" 72 }, 73 "regs": { 74 "ext": { 75 "gdpr": 0 76 } 77 }, 78 "user": { 79 "id": "userid" 80 }, 81 "site": { 82 "id": "id", 83 "domain": "test,com", 84 "cat": [ 85 "IAB12" 86 ], 87 "publisher": { 88 "id": "pubid" 89 } 90 } 91 }, 92 "impIDs":["id"] 93 }, 94 "mockResponse": { 95 "status": 403, 96 "body": "Access is denied" 97 } 98 } 99 ], 100 "expectedMakeBidsErrors": [ 101 { 102 "value": "Unexpected status code: 403. Run with request.debug = 1 for more info", 103 "comparison": "literal" 104 } 105 ], 106 "expectedBidResponses": [] 107 }