Skip to main content
WireMock logo

WireMock Review

CategoryMocking & StubbingFirst Released2011Official SiteDeploymentSaaSSelf-hosted
Licensing Model
Open Source + Cloud
  • OSS core under Apache 2.0
  • Free forever, self-hosted
  • WireMock Cloud is paid SaaS
  • Cloud free tier available
  • Enterprise tier quote-based
Free Trial
Free OSS + Cloud Tier
  • OSS free and open source
  • WireMock Cloud free tier, no card
  • 1,000 calls/month on free Cloud
  • Pay only for Cloud collaboration
Vendor
WireMock Inc.
  • Created in 2011 by Tom Akehurst
  • WireMock Inc. led by Uri Maoz and Tom Akehurst
  • $6.5M seed round in 2023
  • 6M+ downloads per month
Ratings
  • GitHub Stars7.3k
  • G2N/A
  • GartnerN/A

Overview

WireMock is the de-facto standard open-source tool for mocking and simulating HTTP-based APIs. It was created by Tom Akehurst in 2011 as a Java library, and it lets developers and testers stand up a fake version of any HTTP API so they can build and test against dependencies that are unavailable, unstable, expensive, or not yet built. The project describes itself as the industry standard for scalable API simulation.

WireMock runs in multiple forms. It can be embedded as a Java library in JVM tests, run as a standalone JAR server, run from an official Docker image, or used through the managed WireMock Cloud SaaS. While the core is JVM-native, the standalone and Docker modes make it effectively language-agnostic, since any stack that can speak HTTP can use it. The current stable release is WireMock 3.13.2, with WireMock 4.x in beta.

The core value is flexible request matching across URL, headers, query parameters, cookies, and body, paired with dynamic Handlebars response templating. WireMock can also simulate real-world conditions, including fault injection, latency and delay, stateful behavior through scenarios, and record-and-playback through proxy mode. Teams use it to reproduce edge cases and failure modes that are hard to trigger against live systems.

The primary audience is developers and QA engineers mocking service dependencies for testing, teams practicing API-first or parallel development, and microservices teams doing integration and contract testing. It is especially entrenched in the JVM ecosystem, including Spring Boot, Quarkus, and Testcontainers, but is widely adopted across stacks.

What makes WireMock distinct is that it is the most popular open-source API mock server, with rich matching, stateful mocks, and an extensible architecture, now extended to gRPC and GraphQL through extensions. It is complemented by WireMock Cloud, a commercial SaaS that adds a web UI, team collaboration, and enterprise governance including SSO, RBAC, and SOC 2. The OSS core is free under Apache 2.0, and buyers should weigh its JVM-centric core and the self-hosted operational burden against its flexibility and the optional cloud upgrade path.

Key Featuresโ€‹

Request matchingโ€‹

WireMock matches on URL and path patterns, query parameters, headers, cookies, and request body using regex, JSONPath, XPath, and equality matchers. This enables precise stubbing of specific requests.

Response templatingโ€‹

Dynamic responses are produced through Handlebars templating with request data and custom helpers. This generates realistic, context-aware responses.

Stateful behaviorโ€‹

Scenarios simulate state machines so the same endpoint returns different responses based on prior interactions. This models flows such as create then read.

Fault injectionโ€‹

WireMock can return errors, malformed responses, connection resets, and bad data. This tests how a system handles failures.

Latency and delay simulationโ€‹

Fixed or distributed network delays emulate slow dependencies. This validates timeout and resilience behavior.

Record and playbackโ€‹

Proxy mode proxies to a real API and captures interactions into reusable stub mappings. This bootstraps mocks from real traffic.

Multiple run modesโ€‹

WireMock runs as an embedded Java library, a standalone JAR server, or an official Docker image. This fits many environments.

HTTPS supportโ€‹

WireMock serves mocks over HTTPS and supports conditional proxying. This covers secure endpoints.

Webhooks and callbacksโ€‹

WireMock can trigger outbound HTTP callbacks, with templating and delays in version 4. This tests asynchronous and callback-driven flows.

gRPC supportโ€‹

A gRPC extension mocks gRPC services, generally available in WireMock 3. This extends mocking beyond REST.

GraphQL supportโ€‹

A GraphQL extension matches and mocks GraphQL over HTTP. This serves GraphQL-based applications.

Admin APIโ€‹

An HTTP admin API configures stubs, inspects the request journal, and resets state at runtime. This supports automation and test control.

Extensions and pluginsโ€‹

Custom request matchers, response transformers, and admin extension points extend WireMock. This adapts it to specialized needs.

OpenAPI integrationโ€‹

WireMock generates and validates mocks from OpenAPI specifications, with strong support in WireMock Cloud. This aligns mocks with API contracts.

Best Selling Pointsโ€‹

The de-facto standard mock serverโ€‹

WireMock is the most popular open-source API mock server, with around 7,300 GitHub stars and over 6 million downloads per month. This maturity brings a large community and ecosystem.

Runs anywhereโ€‹

WireMock runs as an embedded library, a standalone JAR, a Docker image, or managed cloud. This flexibility fits many workflows.

Rich matching and templatingโ€‹

Flexible request matching and Handlebars response templating handle complex stubbing. This covers realistic API behavior.

Fault, latency, and chaos simulationโ€‹

Built-in fault injection, latency, and chaos testing support resilience and negative testing. These reproduce hard-to-trigger conditions.

Language-agnosticโ€‹

The standalone and Docker modes work with any HTTP client, not just the JVM. This serves polyglot teams.

WireMock Cloud for teamsโ€‹

WireMock Cloud adds a web UI, collaboration, and enterprise governance. This extends the OSS core for organizations.

Supported Integrationsโ€‹

WireMock integrates across protocols, languages, test frameworks, and API specifications, with an optional cloud platform.

Connect WireMock to your APIs, test frameworks, and delivery pipelines across these integration categories.

  • HTTP / REST
  • gRPC
  • GraphQL
  • JVM & Java
  • Test Frameworks
  • OpenAPI

Protocols

  • HTTP / HTTPS
  • gRPC (extension)
  • GraphQL over HTTP
  • Webhooks and callbacks

Languages & Runtimes

  • Java / JVM
  • Kotlin
  • Standalone for any language
  • Docker for any language

Build & Test Frameworks

  • JUnit 4
  • JUnit 5
  • Spring Boot
  • Quarkus
  • Testcontainers

API Specifications

  • OpenAPI / Swagger
  • Spec-to-mock generation
  • Contract validation

Cloud & Distribution

  • WireMock Cloud
  • Docker Hub
  • Maven Central
  • AWS Marketplace

Adoptersโ€‹

WireMock Cloud publishes named customer case studies, while the open-source project is used broadly across the industry.

  • OVO
  • Cuscal
  • Coface
  • Zenus Bank
  • Bilt Rewards
  • JVM and microservices teams
  • API-first development teams
  • Enterprise QA organizations

Adoption & Usage Statisticsโ€‹

  • 7,300+ GitHub stars on the core repository
  • 6 million+ downloads per month
  • 1,500+ forks of the core repository
  • $6.5M seed round raised in 2023
  • Official Docker image with millions of pulls
  • De-facto standard for JVM API mocking

Note: the named customers are WireMock Cloud case studies, and the open-source project does not publish a customer list.

Supported Technologiesโ€‹

WireMock mocks HTTP, gRPC, and GraphQL APIs, running as a library, standalone server, or Docker image.

Coverage across API types, run modes, and templating.

  • HTTP / REST
  • gRPC
  • GraphQL
  • Java Library
  • Standalone & Docker
  • Handlebars Templating

Supported API typesโ€‹

  • HTTP and HTTPS REST
  • gRPC via extension
  • GraphQL over HTTP
  • Webhooks and callbacks

Run modesโ€‹

  • Embedded Java library
  • Standalone JAR
  • Official Docker image
  • WireMock Cloud SaaS

Runtime and portsโ€‹

  • JVM and Java core
  • Kotlin and Scala
  • WireMock.Net community port
  • Handlebars response templating

Request Logging & Verificationโ€‹

WireMock provides a request journal and verification rather than test-style reports, with analytics available in WireMock Cloud.

WireMock records traffic in a queryable journal and exposes results through its admin API and Cloud analytics.

Result Outputs

WireMock exposes request and verification data in the following forms.

  • Request JournalQueryable record of all requests
  • Stub MappingsRecorded and exportable mappings
  • Cloud AnalyticsTraffic insights in WireMock Cloud

Request journal and verificationโ€‹

  • WireMock records all incoming requests in a queryable request journal accessed through the admin API.
  • Verification asserts that expected requests were or were not received, with count and matching criteria.
  • Near-miss diagnostics show the closest-matching stub when a request did not match, to debug mappings.
  • Record-and-playback produces inspectable, exportable stub mappings.

Cloud analyticsโ€‹

  • WireMock Cloud adds request analytics and a web UI view of traffic.
  • The hosted UI surfaces traffic visibility for teams.
  • Mappings can be exported to WireMock OSS JSON for portability.

Security & Complianceโ€‹

WireMock OSS runs locally or self-hosted, while WireMock Cloud adds enterprise security controls.

Self-hosted open sourceโ€‹

  • The OSS server runs locally or self-hosted, so security is the operator's responsibility and no data leaves your environment.
  • WireMock uses Log4j only as a test dependency, so it is not exposed to the Log4Shell vulnerability path.
  • Teams control hosting, versioning, and governance themselves.

WireMock Cloud controlsโ€‹

  • WireMock Cloud is SOC 2 certified.
  • It supports single sign-on through OpenID Connect, role-based access control, and audit logging.
  • Enterprise offers a dedicated private instance and a Kubernetes self-hosted configuration.

Pricingโ€‹

WireMock OSS is free, while WireMock Cloud publishes a free tier plus paid plans.

TierPricingScopeNotes
OSSFreeSelf-hostedApache 2.0, library, standalone, or Docker
Cloud Free$0Hosted1,000 calls/month, 3 mock APIs, 1 user
Cloud TeamPaidHostedHigher request and collaboration limits
Cloud EnterpriseQuote-basedHostedSSO, RBAC, SOC 2, dedicated instance
  • The OSS core is free under Apache 2.0 across the library, standalone, and Docker modes.
  • The Cloud Free tier is free forever with no credit card, including 1,000 API calls per month, up to 3 running mock APIs, and a single user.
  • The Cloud Team tier raises request and collaboration limits, with pricing published on the WireMock Cloud site.
  • The Cloud Enterprise tier is quote-based and adds unlimited usage, SSO, RBAC, SOC 2, a dedicated private instance, and priority support.

Awards & Recognitionโ€‹

  • No formal industry awards were confirmed for WireMock in this research.
  • Recognition is primarily community and popularity based, with around 7,300 GitHub stars and over 6 million downloads per month.
  • WireMock is widely cited as the de-facto open-source API mocking standard.
  • The project raised a $6.5M seed round in 2023 to build WireMock Inc.

Limitationsโ€‹

No tool is perfect, and WireMock has several considerations buyers should evaluate before adoption.

  • The core is JVM-centric, so non-JVM teams rely on standalone or Docker modes rather than native bindings.
  • It is HTTP-focused, and non-HTTP protocols are limited, with gRPC and GraphQL available only through extensions over HTTP.
  • Advanced stateful scenarios and intricate matching and templating have a learning curve.
  • Collaboration, a web UI, SSO, RBAC, SOC 2, and analytics require the paid WireMock Cloud.
  • WireMock.Net is a separate community port that is not the official project and can lag in features.
  • The OSS server has no built-in UI, collaboration, or analytics, so teams must manage hosting and governance themselves.

Best Fit Scenariosโ€‹

  • JVM and Java teams mocking API dependencies in JUnit, Spring Boot, or Quarkus tests.
  • Microservices integration and contract testing, including spec-to-mock validation.
  • API-first or parallel development against not-yet-built services.
  • Resilience and negative testing that needs fault, latency, and chaos simulation.
  • Polyglot teams that want a language-agnostic mock server via Docker or standalone.
  • Teams that want free open source with an optional upgrade to WireMock Cloud for collaboration and governance.