# wiremock/wiremock

A tool for mocking HTTP services

Repository: https://github.com/wiremock/wiremock
Canonical: https://ross.abutalabs.com/products/wiremock
Homepage: https://wiremock.org/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: wiremock, json, mocking, stubbing, java, xml, rest, http, apis, mock-server, hacktoberfest
Last push: 2026-08-26T11:03:17+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 44, longevity 100
- inputs: {"age_days": 5442, "days_push": 7, "days_rel": 292, "gap_med": 48, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7348, forks 1510 (observed 2026-08-28T04:09:58.380208+00:00)

## What it is
WireMock is a popular open-source tool for mocking HTTP-based APIs, runnable as an embedded Java library, standalone server, or container. It offers rich request matching, Handlebars response templating, record/playback, fault injection, and request verification.

## Use cases
- mock a third-party REST API in my integration tests
- simulate an API that doesn't exist yet during development
- stub HTTP responses with matching on URL, headers, and body
- record real API traffic and replay it in tests
- inject latency and network faults to test resilience
- verify my app sent the expected HTTP requests
- run a mock server in Docker for CI pipelines

## When to choose
- you need stable, isolated test environments free of flaky third-party dependencies
- you want flexible stubbing via code, JSON files, a REST admin API, or traffic recording
- you need fault/latency simulation and request verification in automated tests
- you work on the JVM (Java, Kotlin, Groovy) or want the standalone server/container

## When to avoid
- you only need simple in-process function mocking rather than HTTP-level simulation
- you need collaborative, stateful multi-team mock management with SSO and audit logs (consider WireMock Cloud)
- your stack is non-JVM and a native mocking tool for that language would fit better

## Facets
- artifact type: library
- maturity: stable
- function: mocking, testing, http-server, e2e-testing
- domain: testing, apis, developer-tools, web-development
- platform: jvm, cross-platform, cli
- tags: api-mocking, mock-server, stubbing, http, rest, record-playback, fault-injection, service-virtualization, docker

## Member repositories
- wiremock/wiremock (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:58.380208+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:38:26.728173+00:00, confidence not recorded.
  - readme: https://github.com/wiremock/wiremock (fetched 2026-08-28T04:09:58.380208+00:00, sha 6ff1b371d3e5)
  - homepage: https://wiremock.org/ (fetched 2026-08-29T08:34:09.804537+00:00, sha ecce8c05da07)
  - site_page: https://wiremock.org/docs (fetched 2026-08-29T08:34:09.808005+00:00, sha dc0822cc2a07)
  - site_page: https://wiremock.org/2.x/docs (fetched 2026-08-29T08:34:09.810490+00:00, sha 91a9ac20cb59)
  - site_page: https://wiremock.org/docs/commercial (fetched 2026-08-29T08:34:09.814142+00:00, sha 2e6b30b89451)
  - site_page: https://wiremock.org/docs/wiremock-cloud (fetched 2026-08-29T08:34:09.816018+00:00, sha b76645abcea4)
  - site_page: https://wiremock.org/docs/external-resources (fetched 2026-08-29T08:34:09.818319+00:00, sha 8d98206a622a)
  - site_page: https://wiremock.org/docs/junit-jupiter (fetched 2026-08-29T08:34:09.820752+00:00, sha 27d069035c71)
  - site_page: https://wiremock.org/docs/java-usage (fetched 2026-08-29T08:34:09.822791+00:00, sha 0b51e056d28e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
