WireMock
An open-source tool for mocking HTTP APIs so you can test without real service dependencies.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
About WireMock
WireMock simulates HTTP APIs so applications can be developed and tested when the services they depend on are unreliable or do not exist yet. It stubs responses by matching URL patterns, headers, query parameters, cookies and body content. It can also generate dynamic responses with Handlebars templates.
It can record real traffic and play it back, simulate faults and delays, and verify requests. The open-source engine runs standalone as a Java JAR or in Docker, or embedded in Java and .NET code. WireMock Cloud is a hosted commercial platform.
Strengths
- Flexible request matching and response templating
- Record and playback of real service traffic
- Fault and latency simulation
- Runs standalone, in Docker or embedded in tests
Limitations
- Standalone mode needs Java or Docker
- Collaboration features are in the paid cloud product
Details
- Pricing
- FreemiumThe core engine is free and open source; WireMock Cloud has a free tier and paid plans.
- License
- Open source, license not stated
- Developer
- WireMock
- Platforms
- Web, Self-hosted, Command line
- How it runs
- Downloadable app, Self-hosted, Hosted service
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Developers testing code against APIs that are unstable or unfinished
- Categories
- API clients, Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to WireMock
Compare allSoftware that can replace WireMock for an important use case, and what changes if you switch.
MockServer
An open-source self-hosted server for mocking, proxying and recording HTTP, HTTPS and gRPC APIs.
MockServer is an open-source self-hosted server that mocks and proxies HTTP up to HTTP/3 plus gRPC, records traffic and injects faults, started with one Docker command.
Mockoon
A desktop app and CLI for designing and running mock REST APIs locally without an account.
Mockoon offers a desktop app and CLI for designing local mock REST APIs without an account, imports OpenAPI, and needs no Java, but hosted deployments are paid.
Prism
An open-source mock server and validation proxy built from OpenAPI documents and Postman collections.
Prism generates mock servers directly from OpenAPI files or Postman collections and adds a validation proxy, but depends on an accurate specification and lacks fault simulation.
json-server
A command-line tool that turns a JSON file into a fake REST API for prototyping.
json-server turns a single JSON file into a fake REST API with one npm command, simpler but without request matching, recording or fault simulation.
Beeceptor
A web service for creating mock API servers and inspecting incoming webhook requests in real time.
Beeceptor moves mocking to a hosted service on a unique subdomain with dynamic responses and live inspection, but requests pass through a third party and it is closed source.
Mockbin
A free web tool that creates mock API endpoints with fixed responses and logs requests to them.
Mockbin is a free open-source web tool for mock endpoints generated from OpenAPI 3.x, with no account, but it returns fixed responses rather than programmable logic.
Similar software
Related functionality, not necessarily a direct replacement.
HTTP Toolkit
An open-source desktop tool for intercepting, inspecting and rewriting HTTP and HTTPS traffic.
Schemathesis
An open-source property-based testing tool that generates API tests from OpenAPI and GraphQL schemas.
Step CI
An open-source API test automation framework that runs multi-step workflows written in YAML, JSON or JavaScript.
Fiddler Everywhere
A cross-platform web debugging proxy for capturing, inspecting, modifying and replaying HTTP(S) traffic.