substitutefor

software · Q1668

Substitutes for Hoverfly

API dependency simulation using captured JSON fixtures, stateful replay and controllable failures.

Suggest a correction

Compare your options

Find a substitute for Hoverfly

Start with what you need to do. Compare the fit, differences, and sources for each option.

1 option

WireMock

Suggested match

Already compared with Hoverfly. Its fit as a replacement still needs assessment.

How Hoverfly compares as a replacement

HTTP API capture and replay in tests limited

Hoverfly → WireMock

Can replace HTTP record/replay workflows; matching, state, headers and deployment configuration need verification.

Platforms: Self-hosted proxy or webserver, CLI, Java integration · Region: Version, deployment mode and client configuration requirements apply

Sources for this comparison (3)Article revision 1781

Overview

Hoverfly is an Apache-2.0 API simulation tool for development and testing. It can capture service interactions into reusable simulations, serve controlled responses without the original dependency and introduce behavior such as latency or failures.[1]

Capturing and simulating

Capture mode runs Hoverfly as a proxy between a client and the real service, recording their exchanges. It is unavailable when Hoverfly runs as a webserver. Simulate mode instead responds from simulation data without forwarding the request to the real API. Choosing the mode is therefore an operational distinction: capturing still depends on the upstream service, whereas replaying a prepared simulation can remove that dependency.[2][3]

Stateful response sequences

By default, capture ignores repeated requests that have not changed. That can omit a meaningful sequence when an endpoint returns different responses to the same request over time. Stateful capture disables that duplicate-request handling so the sequence can be replayed in order. A recording strategy should therefore reflect whether the service is being modeled as stateless or as a workflow with changing responses.[2]

Portable simulation fixtures

The command-line workflow can export captured simulation data as JSON for editing, sharing and later reuse. Exports can be filtered by URL pattern to separate fixtures. Request headers are not captured by default and must be selected explicitly when needed. This makes capture configuration part of the test fixture: a body-and-URL recording should not be assumed to preserve header-dependent authentication or routing behavior.[1][4]

HTTPS and deployment boundaries

Capturing HTTPS requires the test client to trust Hoverfly's certificate so that the proxy can inspect the encrypted exchange. The documentation describes client-specific certificate handling and notes that its Java integration automates this setup. Trust configuration is therefore a prerequisite, not evidence that arbitrary encrypted traffic is inspectable without client cooperation. The open-source tool's Apache-2.0 license is distinct from the separately advertised hosted service.[1][5]

Substitution scope

Hoverfly can substitute for WireMock for HTTP dependency simulation when a capture-and-replay workflow and reusable JSON fixtures fit the project. WireMock also records proxy interactions but uses its own mappings and scenario model. No direct fixture converter or equivalent matching behavior is established here. Migration should verify capture headers, stateful sequences and proxy-versus-webserver deployment rather than assuming that the same recorded payload produces equivalent tests.[2][4][6][7]

Capabilities & limitations

Proxy capture and replay

supported

Capture observes live traffic; simulate serves fixtures without forwarding to the real API.[2][3]

HTTP API capture and replay in tests · Self-hosted proxy or webserver, CLI, Java integration · Version, deployment mode and client configuration requirements apply

2 sources · check evidence
https://docs.hoverfly.io/en/stable/pages/keyconcepts/modes/capture.html

Proxy-only capture and stateful recording option

vendor · checked 2026-10-07
https://docs.hoverfly.io/en/stable/pages/keyconcepts/modes/simulate.html

Serving simulations without forwarding to real API

vendor · checked 2026-10-07

Stateful recording

limited

Explicit stateful capture is needed to preserve changing responses to identical requests.[2]

HTTP API capture and replay in tests · Self-hosted proxy or webserver, CLI, Java integration · Version, deployment mode and client configuration requirements apply

1 source · check evidence
https://docs.hoverfly.io/en/stable/pages/keyconcepts/modes/capture.html

Proxy-only capture and stateful recording option

vendor · checked 2026-10-07

HTTPS capture

limited

Requires test-client trust in Hoverfly's certificate.[5]

HTTP API capture and replay in tests · Self-hosted proxy or webserver, CLI, Java integration · Version, deployment mode and client configuration requirements apply

1 source · check evidence
https://docs.hoverfly.io/en/latest/pages/tutorials/basic/https/https.html

Client trust prerequisite for TLS interception

vendor · checked 2026-10-07

References

  1. Hoverfly repository

    Simulation features, interfaces and Apache-2.0 license

    vendor · retrieved 2026-10-07
  2. Hoverfly capture mode

    Proxy-only capture and stateful recording option

    vendor · retrieved 2026-10-07
  3. Hoverfly simulate mode

    Serving simulations without forwarding to real API

    vendor · retrieved 2026-10-07
  4. Exporting Hoverfly simulations

    JSON simulation export and URL filtering

    vendor · retrieved 2026-10-07
  5. Hoverfly HTTPS simulation

    Client trust prerequisite for TLS interception

    vendor · retrieved 2026-10-07
  6. WireMock record and playback

    Recording and snapshotting stub mappings

    vendor · retrieved 2026-10-07
  7. WireMock stateful behavior

    Scenario states and reset controls

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
17812026-10-25 22:20:08/* wbeditentity-create-item:0| */ sf:efa08bd0-fb94-4040-b2f7-61f028514fa8:v2 | Remove unsupported subscription-plan qualifiers from the three open-source capabilities and WireMock relationship. Replace them with version, deployment-mode an | attribution: /proposals/efa08bd0-fb94-4040-b2f7-61f028514fa8