Top "Wiremock" questions

Library used for stubbing and mocking web services.

Using WireMock with SOAP Web Services in Java

I am totally new to WireMock. Until now, I have been using mock responses using SOAPUI. My use case is …

java web-services soap mocking wiremock
How to write integration tests with spring-cloud-netflix and feign

I use Spring-Cloud-Netflix for communication between micro services. Let's say I have two services, Foo and Bar, and Foo consumes …

java netflix-eureka spring-cloud-netflix wiremock feign
Wiremock URL matching logic

I am trying to compare the abilities of Soap UI and Wiremock using the following requirement (which is realistic enough …

mocking soapui wiremock
Request body matching in WireMock (not JSON/XML)

I am trying to create a API mock with standalone wiremock. The response body depends upon an attribute in the …

json mocking jsonpath wiremock
Matching data in JsonPath with wiremock

I'm trying to create mocks for my login procedure. I use POST method with a couple of fields and login …

json jsonpath wiremock
Wiremock: Multiple responses for the same URL and Content?

Also shared here: https://github.com/tomakehurst/wiremock/issues/625 I'm writing an integration test to verify that my application that …

api unit-testing testing integration-testing wiremock
Set property with wiremock random port in spring boot test

I have a Spring Boot test that uses wiremock to mock an external service. In order to avoid conflicts with …

java spring-boot configuration wiremock spring-boot-test
How to enable verbose logging in non standalone wiremock

I see that there are instructions on enabling verbose logging for wiremock when running it in standalone fashion at http://…

wiremock
Wiremock returning 404 for a stubbed url

I have defined wireMock server as follows:- private WireMockServer wireMockServer; @Before public void preSetup() throws Exception { wireMockServer = new WireMockServer(56789); …

java wiremock
Why WireMock says that the Request not matches? Spring cloud contract

Wiremock logs that the following request not matches: WireMock : Request was not matched: { "url" : "/api/accounts?username=defaultuser", "absoluteUrl" : "http://…

spring-boot spring-cloud spring-cloud-netflix wiremock spring-cloud-contract