WireMock - flexible, open source API mocking --- WireMock open source is supported by WireMock Cloud . Please consider trying it out if your team needs advanced capabilities such as…
WireMock - flexible, open source API mocking
---
WireMock open source is supported by WireMock Cloud. Please consider trying it out if your team needs advanced capabilities such as OpenAPI, dynamic state, data sources and more.
---
WireMock is the popular open source tool for API mocking, with over 6 million downloads per month,
and powers WireMock Cloud.
It can help you to create stable test and development environments,
isolate yourself from flaky 3rd parties and simulate APIs that don’t exist yet.
Started in 2011 as a Java library by Tom Akehurst,
now WireMock spans across multiple programming languages and technology stacks.
It can run as a library or client wrapper in many languages, or as a standalone server.
There is a big community behind the project and its ecosystem.
WireMock supports several approaches for creating mock APIs -
in code, via its REST API, as JSON files and by recording HTTP traffic proxied to another destination.
WireMock has a rich matching system, allowing any part of an incoming request to be matched against complex and precise criteria.
Responses of any complexity can be dynamically generated via the Handlebars based templating system.
Finally, WireMock is easy to integrate into any workflow due to its numerous extension points and comprehensive APIs.
Key Features
WireMock can run in unit tests, as a standalone process or a container.
Key features include:
- HTTP response stubbing, matchable on URL, header and body content patterns
- Configuration via a fluent Java API, JSON files and JSON over HTTP
- Record/playback of stubs
- Request verification
- Fault and response delays injection
- Per-request conditional proxying
- Browser proxying for request inspection and replacement
- Stateful behaviour simulation
- Extensibility
Questions and Issues
If you have a question about WireMock, or are experiencing a problem you're not sure is a bug please post a message to the
WireMock Community Slack in the #help channel.
On the other hand if you're pretty certain you've found a bug please open an issue.
Log4j Notice
WireMock only uses log4j in its test dependencies. Neither the thin nor standalone JAR depends on or embeds log4j, so
you can continue to use WireMock 2.32.0 and above without any risk of exposure to the recently discovered vulnerability.
Breaking-change report
A japicmp-based report compares the
current build against the last 3.x release and lists binary-incompatible changes to
classes annotated @PublishedAPI.
If you have Claude Code installed, run the report and produce
a filtered summary in one step:
/breaking-change-report
To generate the raw report without Claude Code (which will included classes not intended to be part of the published DSL/API):
bash
./gradlew :wiremock-core:japicmp
Reports are written to wiremock-core/build/reports/japicmp/:
| File | Contents |
|------|----------|
| breaking-changes.html | Full report (all public classes) |
| breaking-changes.txt | Same, plain text |
| breaking-changes-published-api.md | Filtered to @PublishedAPI classes only (produced by the skill) |
Contributing
WireMock exists and continues to thrive due to the efforts of contributors.
Regardless of your expertise and time you could dedicate,
there're opportunities to participate and help the project!
See the [Contributing Guide](./CONTRIBUTING.md) for more information.
-
wiremock
A tool for mocking HTTP services
Java ★ 7.3k 19h agoExplain → -
WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on WireMock Java, but extended and different functionality. Full documentation can be found at https://wiremock.org/dotnet/.
C# ★ 1.7k 8d agoExplain → -
wiremock-spring-boot
WireMock Spring Boot drastically simplifies testing HTTP clients in Spring Boot & Junit 5 based integration tests.
Java ★ 352 3mo agoExplain → -
wiremock-docker
Wiremock Docker image
Java ★ 236 17d agoExplain → -
python-wiremock
A Python library for API mocking and testing with Testcontainers module and WireMock
Python ★ 78 10mo agoExplain → -
wiremock-testcontainers-java
WireMock module for Testcontainers for Java
Java ★ 66 6d agoExplain → -
go-wiremock
Golang WireMock admin API client
Go ★ 56 2mo agoExplain → -
kotlin-wiremock
Kotlin DSL for WireMock
Kotlin ★ 48 2y agoExplain → -
helm-charts
Helm Chart for Wiremock deployment on Kubernetes
Go Template ★ 31 2mo agoExplain → -
wiremock-npm
Wiremock Standalone wrapped in an NPM package so that it can be run with 'npx wiremock'.
JavaScript ★ 27 7mo agoExplain → -
wiremock-grpc-extension
WireMock Extension: gRPC mocking
Java ★ 25 2d agoExplain → -
WireMock.Net-docker
WireMock.Net-docker is a Docker image which runs WireMock.Net (a flexible library for stubbing and mocking web services)
C# ★ 25 8d agoExplain → -
wiremock-graphql-extension
GraphQL extension for WireMock
Kotlin ★ 25 11mo agoExplain → -
wiremock-webhooks-extension ▣
Webhook simulation for WireMock
Java ★ 24 4y agoExplain → -
wiremock-state-extension
Adds support for transporting state across different API mock stubs
Java ★ 22 2d agoExplain → -
api-template-library
WireMock API Templates Library
Shell ★ 21 2y agoExplain → -
wiremock-testcontainers-go
WireMock module for Testcontainers Go
Go ★ 18 4d agoExplain → -
wiremock-testcontainers-node
WireMock module for Testcontainers for NodeJS
JavaScript ★ 13 2y agoExplain → -
wiremock.org
WireMock website. Contributions are welcome!
HTML ★ 11 16d agoExplain → -
wiremock-jwt-extension
Handlebars template helper for producing JWT and JWKS
Java ★ 10 1y agoExplain → -
wiremock-cloud-demo-app
MockLab demo Java app based on Spring Boot
Java ★ 10 1y agoExplain → -
wiremock-grpc-demos
Examples of how to use the WireMock gRPC extension in Java and standalone
Java ★ 9 1y agoExplain → -
robotframework-wiremock
Robot framework library for WireMock
RobotFramework ★ 8 2y agoExplain → -
wiremock-faker-extension
No description.
Java ★ 7 6mo agoExplain → -
wiremock-jaxrs
Automates configuration of Wiremock stubs from JAX-RS annotated resources.
Java ★ 7 1y agoExplain → -
wiremock-pact
Get requests from Wiremock and create PACT JSON.
Java ★ 7 1y agoExplain → -
grpc-wiremock
gRPC Mock Server
Java ★ 6 2y agoExplain → -
wiremock-extension-template
A template project for those who want to create a new WireMock extension/plugin
Java ★ 6 2y agoExplain → -
gradle-wiremock-extension-plugins
Gradle plugins that bundles common packaging and release logic for WireMock extensions
Kotlin ★ 5 6mo agoExplain → -
wiremock-otel-extension
WireMock extension for OpenTelemetry
Java ★ 5 2y agoExplain → -
wiremock-community-analytics
WireMock Community Analytics, powered by GrimoireLab and a few scripts
Shell ★ 5 2y agoExplain → -
wiremock-spring-boot-oauth2-demo
Demo showing how to mock an OAuth2 login provider in a Spring Boot app
Handlebars ★ 3 1y agoExplain → -
wiremock-examples
A repository of different examples of wiremock use in different frameworks
Java ★ 3 7mo agoExplain → -
library.wiremock.org-sources
WireMock API Templates Library
HTML ★ 3 2y agoExplain → -
wiremock-quarkus-devservice-demo
Demo of the Quarkus Dev service for WireMock
HTML ★ 3 2y agoExplain → -
qcon-2025-mock-contract-observation-demo
A simple project showing how a mock API can be captured from traffic and and validated using OpenAPI as a contract
Shell ★ 2 1y agoExplain → -
ecosystem
Feature requests and documentation for all things WireMock ecosystem: integrations, extensions, etc.
★ 2 3y agoExplain → -
.github
Configurations for the GitHub Repository
★ 2 1y agoExplain → -
spec
WireMock Specifications
★ 2 3y agoExplain → -
components-site
Implements listing of WireMock extensions, tools and other components.
★ 2 2y agoExplain → -
wiremock-http4k
No description.
Kotlin ★ 2 2y agoExplain → -
com.github.tomakehurst-relocation
Temporary relocation parent POMs for WireMock packages
★ 2 2y agoExplain → -
clj-wiremock ⑂
Clojure wrapper around wiremock
Clojure ★ 2 8y agoExplain → -
community
Shared repository for all WireMock community matters: governance, artwork, TODOs, etc.
★ 1 2y agoExplain → -
wiremock-cloud-postman-collections
Postman collections documenting various WireMock Cloud use cases
★ 1 2y agoExplain → -
wiremock-studio-kubernetes-example ▣
An example deployment manifest for deploying WireMock Studio into Kubernetes
★ 1 4y agoExplain → -
swagwire ⑂
No description.
HTML ★ 1 8y agoExplain → -
wiremock-php ⑂
PHP API for WireMock JSON interface
PHP ★ 1 8y agoExplain → -
ai-generated-paypal-mock-demo
A demo mock generated via Claude Code and using the PayPal SDK for validation
Kotlin ★ 0 1mo agoExplain → -
protobuf-extension-example
An example WireMock extension to encode/decode protobuf request/responses (non-gRPC)
Java ★ 0 1mo agoExplain → -
npm-jar-wrapper-maker
A Node tool to package a runnable JAR so it can be distributed as an NPM package
JavaScript ★ 0 4mo agoExplain → -
schemastore ⑂
A collection of JSON schema files including full API
JavaScript ★ 0 5mo agoExplain → -
wiremock-auth-token-extension-demo
Quick demo showing how a hashed token can be generated via a response definition transformer
Java ★ 0 1y agoExplain → -
Test
No description.
★ 0 1y agoExplain → -
quarkus-mars-rover-cli-grpc
A simple gRPC cli client to the mars rover service written in Quarkus
Kotlin ★ 0 1y agoExplain → -
quarkus-mars-rover-service-grpc
A simple gRPC service to return the name of the mars rovers written in Quarkus
Kotlin ★ 0 1y agoExplain → -
quarkus-mars-rover-cli-http
A simple cli client to the mars rover service written in Quarkus
Kotlin ★ 0 1y agoExplain → -
quarkus-mars-rover-service-http
A simple http service to return the name of the mars rovers written in Quarkus
Kotlin ★ 0 1y agoExplain → -
auth-mocks
A collection of mocked login APIs, distributed as a Docker image
HTML ★ 0 2y agoExplain → -
wiremock-payments-demo-app
Demo app showing WireMock used to mock a payment API in REST and gRPC
Java ★ 0 2y agoExplain → -
swagger-parser ⑂
Swagger Spec to Java POJOs
Java ★ 0 3y agoExplain → -
wiremock-templates-demo
WireMock Templates Demo
Dockerfile ★ 0 3y agoExplain → -
docs.wiremock.io-website ▣
gh-pages site for the WireMock cloud docs
HTML ★ 0 3y agoExplain → -
spock-wiremock-extension ⑂
Spock extension to enhance automation around record and replay Wiremock functionality.
Java ★ 0 8y agoExplain → -
wiremock-extension ⑂
The wiremock-extension is a JUnit 5 extension that starts WireMock before running tests and stops it afterwards. It is similar to the WireMockRule for JUnit 4.
Java ★ 0 8y agoExplain → -
ember-simple-auth-oidc ⑂
ember-simple-auth authenticator for the OpenID Connect standard
★ 0 3y agoExplain → -
elements ⑂
Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.
★ 0 3y agoExplain → -
wiremock-performance-tests
Gatling benchmarks for WireMock
Java ★ 0 3y agoExplain → -
wiremock-connect-problem ⑂
No description.
Java ★ 0 3y agoExplain → -
JsonUnit ⑂
Compare JSON in your Unit Tests
★ 0 4y agoExplain → -
wiremock-resilience-examples
Examples of resilience testing with WireMock
Java ★ 0 7y agoExplain → -
WiremockClient ⑂
An HTTP client for Wiremock standalone instances
Swift ★ 0 8y agoExplain → -
wiremock_mapper ⑂
Ruby DSL for setting up WireMock mappings
Ruby ★ 0 8y agoExplain → -
wiremock-js ⑂
This project provide another way to create stubs for Wiremock.
JavaScript ★ 0 9y agoExplain →
No repos match these filters.