qmetrics.net

MockServer

Self-hosted HTTP mock server, proxy, and test recorder

MockServer screenshot

MockServer mocks, records, and proxies HTTP and HTTPS dependencies so tests stay isolated. It auto-detects HTTP/1.1, HTTP/2, gRPC, WebSockets, and TCP on one port.

Overview

MockServer is a single deployable tool for development and testing that stands in for external HTTP services. You configure expectations to return canned, templated, or callback-driven responses, or run it as a proxy to record, inspect, and modify live traffic, including TLS exchanges.

Matching can use method, path, query, headers, cookies, and body rules across JSON, XML, JSONPath, XPath, and regex. OpenAPI and Swagger specs can generate mocks. Chaos features add latency, dropped connections, and errors to exercise resilience. The same instance can mock some routes while proxying others.

It ships client libraries for several languages, a web dashboard, verification of received requests, record and replay, breakpoints, optional LLM API mocking, and a built-in MCP server so AI assistants can drive expectations. Deployment options include Docker, Helm on Kubernetes, JAR, Homebrew on macOS and Linux, and Testcontainers.

MockServer is explicitly scoped as a testing tool, not production middleware. Runtime requires Java 17+ when not using the bundled JVM in the official container image.

Key features

  • HTTP mock expectations and verification
  • Recording and replay proxy mode
  • OpenAPI-driven mock generation
  • Chaos latency and error injection
  • gRPC and WebSocket on one port
  • Built-in web dashboard
  • MCP server for AI assistants
  • Docker and Helm deployment

Use cases

  • Isolated REST service unit tests
  • Parallel development before APIs exist
  • Recording production traffic for replay
  • Resilience testing with injected faults
  • LLM API stubbing in AI app tests

Tags

Similar software

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT

Bruno

Git-native local API client for REST and GraphQL

Bruno is an API client for exploring and testing REST, GraphQL, gRPC, and WebSocket APIs. Collections live as folders on disk in OpenCollection YAML with no cloud sync.

★ 48.6k⟳ yesterdayMIT
Open Source Alternative to:Postman

mitmproxy

Interactive TLS-aware HTTP and WebSocket intercepting proxy

mitmproxy sits between clients and servers to inspect, modify, and replay HTTP/1, HTTP/2, HTTP/3, and WebSocket traffic. It ships console, CLI, and web front ends.

★ 47.2k⟳ 5 days agoMIT

Kong Gateway

Cloud-native API, LLM, and MCP gateway with plugins

Kong Gateway centralizes proxying, routing, load balancing, and authentication for microservice APIs and AI traffic. It extends behavior through a plugin system and optional AI gateway features.

★ 44.4k⟳ 5 days agoApache-2.0

IT Tools

Web collection of handy developer and IT utilities

IT Tools bundles many browser-based converters, encoders, and calculators for developers and IT staff, organized by category with a unified interface.

★ 41.4k⟳ 9 months agoGPL-3.0