WireMock otherServerClient = start8084ServerAndCreateClient();
otherServerClient.register(get(urlEqualTo("/proxy/ok?working=yes")).willReturn(aResponse().withStatus(HTTP_OK)));
startRunner("--proxy-all", "http://localhost:8084");
WireMockResponse response = testClient.get("/proxy/ok?working=yes");
assertThat(response.statusCode(), is(HTTP_OK));
}
@Test
public void respondsWithPreExistingRecordingInProxyMode() {
writeMappingFile("test-mapping-2.json", BODY_FILE_MAPPING_REQUEST);