WireMock
The standard HTTP mock server for JVM and beyond: record, replay, stub, simulate faults.
What it is
WireMock stands in for an HTTP dependency, matching requests against stub definitions and returning configured responses, with support for recording real traffic and replaying it, stateful scenarios, response templating and deliberate fault and latency injection. It runs as a library, a standalone process, a Docker container or a hosted cloud service.
Best for
Where it is strong
- Fault and latency injection lets you test the error paths that never occur on demand in a real sandbox.
- Record-and-replay produces a realistic mock from live traffic quickly.
- Runs anywhere: embedded, standalone, container or cloud.
Where it falls short
- Recorded stubs drift from the real service unless you re-record or verify contracts.
- Complex stateful scenarios get verbose in JSON.
- HTTP only — not for message queues or gRPC without extensions.
Pricing
Free tier available
Free tierFree tier: Open-source WireMock is complete and free.
What drives the bill: Open source is free; WireMock Cloud is a paid hosted service for shared team mocks.
Check current pricing on WireMock Inc.’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
Works with
What people who use WireMock say
No reviews of WireMock yet. If you have used it in anger, yours would be the first.
Alternatives to WireMock
If WireMock is not the right fit, these solve the same problem differently.
Mockoon
Test Data & Mocks
Spin up a realistic mock API from a desktop app in under a minute.
Mock Service Worker
Test Data & Mocks
Intercept requests at the network layer so your app code never knows it is mocked.
Hoverfly
Test Data & Mocks
Lightweight service virtualisation: capture real traffic, then simulate it.
Prism
Test Data & Mocks
Turn an OpenAPI document into a mock server that validates as well as responds.