Skip to content
SPECIFICTION
Get listed

Mockttp vs WireMock

Mockttp

github.com

WireMock

wiremock.org

Side by side

FigureMockttpWireMock
Price fromFreeFree
Free planYesYes
Free trial—Yes
Open source——
WebYesYes
WindowsYes—
macOSYes—
LinuxYesYes
API—Yes
Self-hostedYesYes
Plans published32
Spec score · API Mocking Tools7.8 (#12)7.4 (#16)
IntegrationsThe README example uses Mocha, Chai, and Superagent, while noting that these tools are optional and Mockttp can work with other promise-capable testing tools and HTTP clients.The project describes integration with JUnit and other testing frameworks, and offers Maven, Gradle, Scala SBT, standalone, and Docker getting-started options.

Plans

Mockttp

  • HobbyistFree
  • ProfessionalPrice not published
  • TeamPrice not published

Mockttp pricing →

WireMock

  • FreeFree
  • EnterprisePriced on request

WireMock pricing →

In their own words

Mockttp

Mockttp is a free, open-source JavaScript library for intercepting, transforming, or testing HTTP requests and responses. It supports integration tests in Node.js and browsers, including transparent proxying and HTTPS. Its tools can stub responses, verify requests, generate self-signed certificates for HTTPS mocking, and mock traffic inside or outside the process. It can also serve as the basis for custom proxies that capture, inspect, or rewrite traffic. For parallel tests, Mockttp can automatically configure ports, mock URLs, and proxy settings. It works with promise-capable testing tools and HTTP clients; Mocha, Chai, and Superagent appear in an example but are optional. Browser tests require an admin server running outside the browser. The setup guide warns against trusting a test certificate authority system-wide or sharing its private key, because either could allow an attacker to impersonate secure connections. Mockttp supports Linux, macOS, Windows, web, and self-hosted use.

Visit github.com

WireMock

WireMock simulates APIs and software dependencies so teams can test without live services, exercise edge cases, and build dependent features in parallel. It can match requests using URL patterns, headers, query parameters, cookies, and body content, then return templated responses or simulate delays, network faults, and malformed replies. It can also record interactions with real services and replay them during tests.

The project integrates with JUnit and other testing frameworks, with setup paths for Maven, Gradle, Scala SBT, standalone use, and Docker. Its documented capabilities cover HTTP-based protocols and REST, plus WebSockets, webhooks, HTTPS, gRPC, and GraphQL. WireMock Java is available as a standalone JAR, Docker image, experimental Helm chart, and NPM package; WireMock Cloud is another option. The Free plan costs nothing and includes 1,000 calls per month, one user, three mock APIs, and a 10 requests-per-second limit. Free and trial plans stop running mocks after their API quota is exceeded until the next quota cycle.

Visit wiremock.org