Skip to content
SPECIFICTION
Get listed

Hoverfly vs MockWebServer

Hoverfly

hoverfly.io

MockWebServer

square.github.io

Side by side

FigureHoverflyMockWebServer
Price from$10/moFree
Free plan—Yes
Free trialYes—
Open source——
WebYes—
WindowsYes—
macOSYes—
LinuxYes—
Android—Yes
APIYes—
Self-hostedYes—
Plans published32
Spec score · API Mocking Tools8.5 (#6)7.7 (#14)
LicenseThe open-source Hoverfly framework is distributed under the Apache 2 license.The project page includes the Apache License, Version 2.0.
ProtocolsHoverfly Cloud supports HTTP/S services including REST, SOAP, XML, JSON, and GraphQL.OkHttp describes MockWebServer as a library for testing HTTP, HTTPS, and HTTP/2 clients.
PurposeHoverfly Cloud is a hosted API simulation and mocking platform for testing without relying on live API dependencies.MockWebServer is a library for testing HTTP, HTTPS, and HTTP/2 clients.
SupportiOCO offers Hoverfly Cloud team support by email and support portal with a guaranteed response within one business day during 9am–6pm GMT.The project directs users to report issues encountered on GraalVM, but does not state a MockWebServer support plan or response time.

Plans

Hoverfly

  • Developer$10 a month
  • Professional$30 a month
  • EnterprisePriced on request

Hoverfly pricing →

MockWebServer

  • MockWebServerFree
  • Open sourceFree

MockWebServer pricing →

In their own words

Hoverfly

Hoverfly Cloud is a hosted API simulation and mocking platform for testing without live API dependencies. It handles HTTP/S services including REST, SOAP, XML, JSON, and GraphQL. Users can capture and replay traffic, generate simulations from OpenAPI specifications, and match requests by methods, headers, parameters, and bodies. Simulations can delay responses, inject faults or errors, and modify replies. A command-line interface supports scripted configuration and testing pipelines. Hoverfly and hoverctl binaries run on macOS, Linux, and Windows, while documentation covers Docker and Kubernetes installation. The underlying Hoverfly framework is open source under Apache 2, has no GUI, and is generally run locally or in a user’s infrastructure. Cloud use cases include performance testing, functional testing, and development.

Visit hoverfly.io

MockWebServer

MockWebServer is a free, open-source Android test library for developers checking HTTP clients. It provides a scriptable local server where tests supply canned responses and inspect requests made during HTTP, HTTPS, or HTTP/2 calls. Recorded requests expose method, path, HTTP version, body, headers, and chunk sizes for verification. Responses can be queued in sequence or generated by a Dispatcher that applies a request-by-request policy. Tests can throttle responses to imitate slow networks, and socket policies can keep connections open, disconnect during request or response bodies, or send no response. The README includes Java and Kotlin examples. The documented dependency is com.squareup.okhttp3:mockwebserver3:5.5.0, available through Maven Central. MockWebServer is licensed under Apache License 2.0 and is intended for internal and basic testing of apps using OkHttp. The project says it is not a full-featured standalone HTTP testing library and is not actively developed for new features; it suggests MockServer when requirements exceed its scope.

Visit square.github.io