MockServer
An open-source self-hosted server for mocking, proxying and recording HTTP, HTTPS and gRPC APIs.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get MockServer
Package managers
- Homebrew
brew install mockserver
About MockServer
MockServer stands in for the services an application depends on so tests run against controllable behaviour. It mocks HTTP/1.1, HTTP/2, HTTP/3, HTTPS and gRPC, and can proxy real traffic, record and replay it, and pause requests at breakpoints for inspection.
It can inject latency, errors and malformed responses to test resilience, and includes an MCP server so AI assistants can drive it. It runs from a single Docker command and needs no SaaS account.
Strengths
- Mocks and proxies HTTP up to HTTP/3 plus gRPC
- Records and replays real traffic
- Fault injection for resilience testing
- Starts with one Docker command
Limitations
- Aimed at developers and test setups rather than manual API exploration
- Configuration takes some learning for complex scenarios
Details
- Pricing
- FreeFree and open source with no SaaS account needed.
- License
- Open source, license not stated
- Developer
- The MockServer contributors
- Platforms
- Self-hosted, Command line
- How it runs
- Downloadable app, Self-hosted
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Developers isolating tests from unreliable or unfinished dependencies
- 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 MockServer
Compare allSoftware that can replace MockServer for an important use case, and what changes if you switch.
WireMock
An open-source tool for mocking HTTP APIs so you can test without real service dependencies.
WireMock is also open source, with request matching, response templating, record and playback and fault simulation, and adds a paid cloud product for collaboration.
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 with request recording and proxying, but focuses on REST rather than gRPC.
Prism
An open-source mock server and validation proxy built from OpenAPI documents and Postman collections.
Prism builds mock servers and a validation proxy from OpenAPI documents or Postman collections, but depends on an accurate specification and lacks recording and fault injection.
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, far simpler but without proxying, recording, gRPC or fault injection.
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 no setup and imports OpenAPI and gRPC definitions, but requests pass through a third party.
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.
Charles
An HTTP and HTTPS debugging proxy that shows all web traffic between a computer and the internet.
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.