WireMock User Documentation
WARNING: This document is for an old WireMock 2.x baseline. See the documentation for the current WireMock 3.x baseline 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.
Getting Started
Distributions
WireMock provides the following generic distributions that allow running it as a standalone server in a container or within a Java Virtual Machine.
By use-case
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
By technology
There are also solutions and guides for particular technologies and frameworks, provided by the WireMock community and external contributors.