Using WireMock in an async environment

Posted on by  
Tom de Vroomen

Building Event Driven systems is great, but not all systems are Event Driven. Communication with those systems can be via HTTP and those systems may not be able to respond quickly to a request, taking up to minutes to serve a response.

Are there tools to mock such a situation to be used for testing?

When a system takes up to minutes to respond to a request, it is possible to first respond technically to the request and later respond functionally. The other system can POST the functional response. Then the response is asynchronously served.

Continue reading →