File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
java/org/prebid/server/it
resources/org/prebid/server/it Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 88import java .io .IOException ;
99
1010import static com .github .tomakehurst .wiremock .client .WireMock .aResponse ;
11+ import static com .github .tomakehurst .wiremock .client .WireMock .equalTo ;
1112import static com .github .tomakehurst .wiremock .client .WireMock .equalToJson ;
1213import static com .github .tomakehurst .wiremock .client .WireMock .post ;
1314import static com .github .tomakehurst .wiremock .client .WireMock .urlPathEqualTo ;
@@ -19,6 +20,8 @@ public class ConnektaiTest extends IntegrationTest {
1920 public void openrtb2AuctionShouldRespondWithBidsFromConnektai () throws IOException , JSONException {
2021 // given
2122 WIRE_MOCK_RULE .stubFor (post (urlPathEqualTo ("/connektai-exchange" ))
23+ .withQueryParam ("host" , equalTo ("envValue" ))
24+ .withQueryParam ("sourceId" , equalTo ("pidValue" ))
2225 .withRequestBody (equalToJson (
2326 jsonFrom ("openrtb2/connektai/test-connektai-bid-request.json" )))
2427 .willReturn (aResponse ().withBody (
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ adapters.vrtcal.endpoint=http://localhost:8090/vrtcal-exchange
501501adapters.xeworks.enabled =true
502502adapters.xeworks.endpoint =http://localhost:8090/xeworks-exchange
503503adapters.xeworks.aliases.connektai.enabled =true
504- adapters.xeworks.aliases.connektai.endpoint =http://localhost:8090/connektai-exchange
504+ adapters.xeworks.aliases.connektai.endpoint =http://localhost:8090/connektai-exchange? host ={{Host}}& sourceId ={{SourceId}}
505505adapters.vidazoo.enabled =true
506506adapters.vidazoo.endpoint =http://localhost:8090/vidazoo-exchange/
507507adapters.videobyte.enabled =true
You can’t perform that action at this time.
0 commit comments