# Hoverfly

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

ID: Q1668 · Revision: 1781

Type: software · License: Apache\-2\.0[^hoverfly-readme] · Status: active

Website: https://hoverfly.io/



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\.[^hoverfly-readme]

## Capabilities and substitutions

### Proxy capture and replay — supported

Capture observes live traffic; simulate serves fixtures without forwarding to the real API\.[^hoverfly-capture][^hoverfly-simulate]

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

### Stateful recording — limited

Explicit stateful capture is needed to preserve changing responses to identical requests\.[^hoverfly-capture]

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

### HTTPS capture — limited

Requires test\-client trust in Hoverfly's certificate\.[^hoverfly-https]

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

### [Substitute for WireMock](/wiremock) — limited

Can replace HTTP record/replay workflows; matching, state, headers and deployment configuration need verification\.[^hoverfly-capture][^hoverfly-export][^wiremock-record]

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

## References

[^hoverfly-readme]: [Hoverfly repository](<https://github.com/SpectoLabs/hoverfly/blob/master/README.md>) — Simulation features, interfaces and Apache\-2\.0 license (vendor; retrieved 2026-10-07T11:08:42Z)

[^hoverfly-capture]: [Hoverfly capture mode](<https://docs.hoverfly.io/en/stable/pages/keyconcepts/modes/capture.html>) — Proxy\-only capture and stateful recording option (vendor; retrieved 2026-10-07T11:08:36Z)

[^hoverfly-simulate]: [Hoverfly simulate mode](<https://docs.hoverfly.io/en/stable/pages/keyconcepts/modes/simulate.html>) — Serving simulations without forwarding to real API (vendor; retrieved 2026-10-07T11:09:44Z)

[^hoverfly-export]: [Exporting Hoverfly simulations](<https://docs.hoverfly.io/en/latest/pages/tutorials/basic/exportingsimulations/exportingsimulations.html>) — JSON simulation export and URL filtering (vendor; retrieved 2026-10-07T11:10:24Z)

[^hoverfly-https]: [Hoverfly HTTPS simulation](<https://docs.hoverfly.io/en/latest/pages/tutorials/basic/https/https.html>) — Client trust prerequisite for TLS interception (vendor; retrieved 2026-10-07T11:09:44Z)

[^wiremock-record]: [WireMock record and playback](<https://wiremock.org/docs/record-playback/>) — Recording and snapshotting stub mappings (vendor; retrieved 2026-10-07T11:08:23Z)

[^wiremock-state]: [WireMock stateful behavior](<https://wiremock.org/docs/stateful-behaviour/>) — Scenario states and reset controls (vendor; retrieved 2026-10-07T11:08:56Z)

Source revision: https://substitutefor.net/entities/Q1668?revision=1781
