Library used for stubbing and mocking web services.
I know that it can simulate SocketTimeoutException by using withFixedDelay, but what about ConnectionTimeoutException?
java wiremockI'm using wiremock to mock certain requests and their respective response, but I'm trying to add a regex. Unfortunately, this …
regex mocking url-pattern wiremockI have a class that makes use of a Feign client. Previously I used Mockito and gave a stored response …
java spring spring-boot wiremock feignGiven the following unit test, I can easily test if a request of a particular url has been made. Is …
java wiremockI am using wiremock to mock github api to do some testing of my service. The service calls github api. …
spring spring-boot github-api wiremockI have a standalone instance of Wiremock server. The mappings are stored as json files under the mappings folder. I …
spring-boot wiremock@ClassRule public static WireMockRule wireMockRule = new WireMockRule(9898); @Test public void createXmlFile() { stubFor(get(urlPathEqualTo("/data/racing/")) .willReturn(aResponse() .withBody(loadJSONFile("…
spring-cloud wiremock spring-cloud-contractI have this piece of code in a Junit, where I clearly set the port to 8888 when(clientUtils.getLinkUrl(eq(…
java spring-boot junit mockito wiremock