github.com/prebid/prebid-server@v0.275.0/adapters/smilewanted/smilewantedtest/supplemental/bad-server-response.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "at" : 1, 8 "banner": { 9 "format": [ 10 { 11 "w": 300, 12 "h": 250 13 } 14 ] 15 }, 16 "ext": { 17 "bidder": { 18 "zoneId": "zone_code_test_display" 19 } 20 } 21 } 22 ] 23 }, 24 "httpCalls": [ 25 { 26 "expectedRequest": { 27 "uri": "http://example.com", 28 "body": { 29 "id": "test-request-id", 30 "at" : 1, 31 "imp": [ 32 { 33 "id": "test-imp-id", 34 "banner": { 35 "format": [ 36 { 37 "w": 300, 38 "h": 250 39 } 40 ] 41 }, 42 "ext": { 43 "bidder": { 44 "zoneId": "zone_code_test_display" 45 } 46 } 47 } 48 ] 49 } 50 }, 51 "mockResponse": { 52 "status": 200, 53 "body": "bad_json" 54 } 55 } 56 ], 57 "expectedMakeBidsErrors": [ 58 { 59 "value": "Bad server response: json: cannot unmarshal string into Go value of type openrtb2.BidResponse.", 60 "comparison": "literal" 61 } 62 ] 63 }