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 a tool for building mock APIs. Create stable development environments, isolate yourself from flakey 3rd parties and simulate APIs that don't exist yet.
Learn WireMock and contribute to open source
This October we participate in Hacktoberfest - a global open source hack fest. We invite you to join us, regardless of your profile and technology stack.
Adopt WireMock in your projects, contribute new features and fixes, improve docs, create new demos and artwork, etc.
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.