The core WireMock engine.
Embed in your test code, run as a standalone process, or deploy via Docker.
Web UI with team collaboration, OpenAPI + Swagger support, and chaos testing.
Start on the generous free-forever tier:
WireMock is community-driven, with user-contributed documentation and an active Slack community where all ideas and questions are welcome.
WireMock Cloud now natively supports GRPC.
All the power of WireMock Cloud - from mock-first API prototyping to catching errors early - is now available for teams building GRPC servces. Learn more.
WireMock frees you from dependency on unstable APIs and allows you to develop with confidence. It's easy to launch a mock API server and simulate a host of real-world scenarios and APIs - including REST, SOAP, OAuth2 and more.
Advanced request matching
Dynamic response templating
Run in your unit tests, on your laptop or in your test environment.
Fault and latency injection
Record / Playback
Java, Python, HTTP and
JSON file APIs
WireMock is available as a standalone service, Java library and integrations for modern languages and technology stacks.
Add the following to your project's pom.xml dependencies:
Then follow the next steps for JUnit 5+ or plain Java.
Add the following to your project's build.gradle:
Then follow the next steps for JUnit 5+ or plain Java.
Add the following to your project's build.gradle.kts:
Then follow the next steps for JUnit 5+ or plain Java.
Add the following to your project’s build.sbt:
Download the latest standalone JAR then run the following in a terminal:
Learn more in the running standalone guide.
Run the following in a terminal:
Learn more in the Docker guide.