MockServer

Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed

About

MockServer is ranked #2 of 25 in API Mocking Tools on Inferse. It runs on API, Linux, macOS, Self-hosted, Web, Windows. There is a free plan.

Compared on API Mocking Tools

Free plan
Yesmock-server.com

Facts

Purpose
MockServer mocks and proxies HTTP, HTTPS and gRPC services for fast, isolated and deterministic testing.mock-server.com · 1 Oct 2026
Core roles
It can act as a mock, proxy and request-verification tool.mock-server.com · 1 Oct 2026
Protocol support
It supports HTTP/1.1, HTTP/2, HTTPS, SOCKS and experimental HTTP/3, with HTTP/3 using a separate UDP port.mock-server.com · 1 Oct 2026
API contracts
Mocks can be generated and traffic validated from OpenAPI or Swagger specifications.mock-server.com · 1 Oct 2026
Imports
Recorded traffic can be imported from browser HAR files and Postman collections.mock-server.com · 1 Oct 2026
Messaging and identity
It can mock gRPC services, AsyncAPI brokers including Kafka, MQTT and AMQP, and OAuth2/OIDC providers.mock-server.com · 1 Oct 2026
Chaos testing
It injects latency, error responses, dropped connections and malformed responses into mocked or proxied HTTP, gRPC and TCP traffic.mock-server.com · 1 Oct 2026
AI integration
Every instance includes an MCP server at /mockserver/mcp for assistants such as Claude Code, Cursor, Windsurf, Cline and OpenCode.mock-server.com · 1 Oct 2026
Deployment
It can run through Docker, an executable JAR, Helm/Kubernetes, Testcontainers, Homebrew or a JVM-less binary bundle.mock-server.com · 1 Oct 2026
Client integrations
Official clients are available for Java, JavaScript, Python, Ruby, Go, .NET, Rust and PHP, alongside the CLI and REST API.mock-server.com · 1 Oct 2026
Observability
A built-in web dashboard shows live logs, expectations and recorded traffic, while Prometheus metrics and OpenTelemetry tracing support shared environments.mock-server.com · 1 Oct 2026
Control-plane security
Control-plane requests can be authenticated with mutual TLS, JWT or both, and authorization can map OIDC scopes or groups to roles.mock-server.com · 1 Oct 2026
Security limitation
The /mockserver/status and /mockserver/ready health probes are always reachable without authentication or authorization.mock-server.com · 1 Oct 2026
Template safety
Velocity class loading is disabled by default and JavaScript templates cannot resolve Java classes unless explicitly allowed.mock-server.com · 1 Oct 2026
Source and support
GitHub hosts the source code, feature requests, issues, pull requests and releases.mock-server.com · 1 Oct 2026

Best MockServer alternatives

See all 12