Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Integration
  3. MockServer (.8k)

MockServer (.8k)

Apache-2.0Javamockserver-7.4.0

MockServer is an HTTP(S) mock server and proxy for mocking, recording, and debugging integrations with external systems.

Visit WebsiteGitHubGitHub
4.9k stars1.1k forks0 contributors

What is MockServer (.8k)?

MockServer is an open-source HTTP(S) mock server and proxy that enables developers to mock external systems for integration testing. It allows you to simulate API responses, record and inspect network traffic, and debug systems by proxying requests. The tool supports multiple client languages and deployment options, making it versatile for various testing scenarios.

Target Audience

Developers and QA engineers working on applications that integrate with external HTTP/HTTPS services, particularly those needing robust integration testing, traffic inspection, or service mocking capabilities.

Value Proposition

Developers choose MockServer for its comprehensive feature set that combines mocking and proxying in a single tool, its support for multiple programming languages, and its flexible deployment options including Docker and Kubernetes. Its ability to inspect encrypted SSL traffic sets it apart from simpler mocking libraries.

Overview

MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspect and modify live traffic, and inject failures. It supports HTTP/1.1, HTTP/2, gRPC, WebSockets, TCP and more on a single port, with additional support for HTTP/3, message brokers, and AI/LLM APIs.

Use Cases

Best For

  • Mocking external APIs during integration tests
  • Recording and analyzing HTTP/HTTPS traffic for debugging
  • Simulating network failures or slow responses in tests
  • Testing applications that use multiple proxy types
  • Creating isolated test environments with mocked dependencies
  • Automated testing in CI/CD pipelines with Docker or Kubernetes

Not Ideal For

  • Simple unit testing with lightweight, in-process mocks (e.g., using Jest or nock)
  • Projects requiring mocking of non-HTTP protocols like gRPC or WebSockets
  • Teams preferring GUI-based tools for visual mock configuration without coding

Pros & Cons

Pros

Comprehensive HTTP Mocking

Supports full HTTP/HTTPS request matching and response generation, enabling simulation of any external service with configurable rules.

Encrypted Traffic Inspection

Can proxy and introspect SSL traffic for debugging, a standout feature for security analysis without manual decryption.

Multi-Language Client Support

Offers clients for Java, JavaScript, and Ruby, making it adaptable across different tech stacks and integration points.

Versatile Deployment Options

Available as Docker container, Maven plugin, WAR file, and Helm chart, supporting diverse environments from local development to Kubernetes.

Cons

Complex Configuration Overhead

Requires setting up a separate server or proxy instance, which adds more steps compared to lightweight, embedded mocking libraries.

Protocol Limitations

Only handles HTTP/HTTPS; lacks support for modern protocols like gRPC or WebSockets, restricting use in polyglot microservices architectures.

Documentation Version Fragmentation

With multiple versioned documentation sites listed in the README, finding accurate info for specific versions can be confusing and time-consuming.

Frequently Asked Questions

Quick Stats

Stars4,924
Forks1,112
Contributors0
Open Issues1
Last commit8 hours ago
CreatedSince 2013

Tags

#ai#proxy#integration-testing#ruby-client#java-client#proxy-server#node-client#kubernetes#java#mock-server#nodejs#grunt-plugin#node-module#docker#test-automation#debugging#javascript-client#ruby#homebrew#http-mocking

Built With

N
Netty
H
Helm
M
Maven
N
Node.js
J
Java
D
Docker

Links & Resources

Website

Included in

Integration523
Auto-fetched 2 hours ago

Related Projects

HoppscotchHoppscotch

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Stars79,869
Forks5,983
Last commit1 day ago
BrunoBruno

Opensource IDE For Exploring and Testing API's (lightweight alternative to Postman/Insomnia)

Stars45,839
Forks2,711
Last commit14 hours ago
curl (k)curl (k)

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

Stars42,451
Forks7,277
Last commit10 hours ago
InsomniaInsomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

Stars39,901
Forks2,358
Last commit3 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub