mockserver-monorepo
Active·★ 5.0k·Apache-2.0·Updated 2026-10-08
★ Trending★ Essential
MockServer functions as an HTTP(S) mock server and proxy, enabling development and testing against unavailable or misbehaving APIs. It also facilitates recording, inspecting, and modifying network traffic, along with injecting faults for resilience testing.
#API mocking#Proxy#HTTP/S#gRPC#Chaos engineering#Testing#Docker#Kubernetes
01
Features
01Mock any API including HTTP/1.1, HTTPS, HTTP/2, HTTP/3, gRPC, WebSockets, and message brokers.
02Act as a port forwarding, web, HTTPS, and SOCKS proxy with full visibility of encrypted traffic.
03Inject latency, dropped connections, and failures to test system resilience against misbehaving dependencies.
04Mock chat-completion APIs for major AI platforms like OpenAI, Anthropic, Gemini, and Azure OpenAI.
05Deploy seamlessly across Docker, Helm/Kubernetes, JAR, WAR, or as a standalone CLI application.
02
Compatibility
Java
Runtime
Verified via docs
Docker
Deployment
Verified via docs
Kubernetes
Orchestration
Verified via docs
Python
Client
Verified via docs
Node.js
Client
Verified via docs
Linux / macOS
OS
Verified via docs
03
Quick start
1
$ docker run -d --rm -p 1080:1080 mockserver/mockserver
04
Use cases
↳Develop and test applications even when dependent systems are unavailable, incomplete, or hard to reproduce.
↳Proxy real traffic to record, inspect, and modify requests and responses in flight with interactive breakpoints.
↳Perform chaos engineering by injecting latency, dropped connections, and errors to evaluate how applications handle dependency failures.
05
Alternatives
Comments
Log in to leave a comment
No comments yet. Be the first!