WireMock
WireMock is a ready-made program that imitates HTTP services: it runs as a separate server, receives requests from the system under test and answers with prepared responses. Instead of a real third-party service, such as a payment or delivery service, the test sees a mock, so it is fast, free and does not touch anyone’s data. It works with any language because it talks over HTTP.
Frequently asked questions
What is WireMock?
A ready-made program that imitates HTTP services and answers with prepared responses.When is WireMock needed?
When the system under test calls a third-party service over HTTP and the test must not depend on its availability, speed or the cost of requests.Source: WireMock official site