Back to directory

Mockwave

An open-source, multi-protocol mock server for HTTP, GraphQL, SOAP, and gRPC, with weighted traffic splitting, dynamic JavaScript responses, chaos-testing fault injection, and an MCP server so an AI assistant can generate mock rules directly.

Mockwave

Mockwave defines mock rules and simulations in JSON, managed through a real-time browser admin UI or generated by an AI assistant, and responds to HTTP REST, GraphQL, SOAP, and reflection-free gRPC requests. Rules can weight traffic between a mock response and forwarding to a real service, compute dynamic responses with per-simulation JavaScript (via Goja), and be hot-reloaded without restarting the server.

It supports JSON file, DynamoDB, MongoDB, and Azure Cosmos DB store backends, captures matched or unmatched requests for later assertion with global TTL expiry, and can inject chaos -- latency, errors, resets, truncation, throttling -- to simulate degraded services or cascading failures without host agents or root access. An AWS-specific mode intercepts SNS, SQS, and EventBridge publishes on the mock port for assertion, optionally forwarding them on to the real broker.

mockwave mcp exposes a Model Context Protocol server so Claude Code can create rules, manage simulations, and auto-generate mocks from an OpenAPI 2.0 or 3.0 specification.

More in Testing

See all 69
  • Canary

    runcanary.ai

    An independent testing service, backed by Y Combinator, that runs an application and tries to break every change an AI coding agent makes, reporting what would have reached production.

  • MoEWatch

    github.com

    A diagnostic and audit library for Mixture-of-Experts models in HuggingFace Transformers that instruments router modules to catch expert collapse, routing entropy collapse and load imbalance during training.

  • LlamaToaster

    llamatoaster.com

    A benchmarking tool that sweeps llama.cpp settings on your own GPU or CPU to find the fastest configuration for a given model, and compares the result against a shared database of other people's hardware and settings.