Spin up realistic mock services in minutes. Generate intelligent synthetic data with RAG, inject latency & failures, and manage everything in a modern admin UI.
# Install (example)
$ cargo install mockforge-cli
Everything you need to simulate complex services and ship faster, without waiting on real backends.
Mock HTTP REST, gRPC, GraphQL, WebSocket, and SMTP endpoints with a unified interface. Includes HTTP Bridge for automatic gRPC-to-REST conversion.
AI-powered intelligent data generation with RAG, smart field inference, deterministic seeding, relationship awareness, data drift simulation, and template tokens like {{uuid}} and {{faker.email}}.
Operation‑aware latency/failure profiles to test real‑world conditions.
Capture live traffic and replay scenarios to debug and benchmark.
Add custom generators, data sources, and overrides with a clean plugin system.
Web‑based interface for managing servers, overrides, and metrics.
Validate incoming requests against OpenAPI specs with deep schema resolution, supporting path, query, header, cookie, and body parameters.
Generate narrative-driven WebSocket events for real-time testing scenarios.
Enterprise-grade security with AES-256/ChaCha20 encryption for sensitive configurations.
Built for faster frontend/backend parallelization and safer integration testing under real-world conditions.
Developer workflow
Faster parallel delivery
Frontend and backend teams unblock each other with realistic mocks instead of waiting on live services.
Risk reduction
State-aware test confidence
Scenario switching and failure profiles expose retry/fallback behavior before integration surprises hit production.
Adoption path
Open-source first
Start with OSS workflows, then layer team and enterprise support as complexity grows.
Define your API & rules
Describe endpoints and schemas. Configure latency/failure profiles and overrides per operation.
Generate realistic data
Use built‑in tokens ({{uuid}}, {{now}}, etc.) or plug in custom generators.
Run & iterate
Start the mock server, inspect requests in the Admin UI, and fine‑tune behaviors as you build.
# Quick start (example)
$ mockforge init
✔ Created mockforge.yaml
# Add an endpoint override
$ mockforge add /users/{id} --status 200 \
--body '{ "id": "{{uuid}}", "name": "{{name}}" }'
# Run server
$ mockforge serve --port 8080
Listening on http://localhost:8080
Whether you're evaluating open source, scaling team workflows, or planning enterprise rollout, start from the path that matches your goals.
Use docs + workflows to standardize realistic mocks across frontend, backend, and QA.
Read implementation docs →Need support, roadmap alignment, or deployment guidance? Start a conversation.
Contact the team →“MockForge let our frontend team build weeks faster by simulating gRPC services with realistic data.”
— Engineer, Early Adopter
Get the repo, run the quick start, and start shipping faster.