WireMock User Documentation
This document is for the WireMock 2.x baseline. See the documentation for WireMock 3.x preview here
WireMock is a popular open-source tool for API mock testing, with over 5 million downloads per month. It can help you to create stable test and development environments, isolate yourself from flakey 3rd parties and simulate APIs that don't exist yet.
WireMock provides the following generic distributions that allow running it as a standalone server in a container or within a Java Virtual Machine.
Below you can find links to the documentation for WireMock key use-cases. You can find more documentation pages on the sidebar.
Advanced request matching Dynamic response templating Use API Mocking in your unit tests Fault and latency injection Record / Playback Use pre-defined Mock API templates Extending WireMock
There are also solutions and guides for particular technologies and frameworks, provided by the WireMock community and external contributors.