MockHub lets you spin up reliable REST & SOAP mock endpoints with scenarios, dynamic variables, headers, rate limits, and OpenAPI import. Perfect for frontend prototyping, integration tests, partner sandboxes, and demos.
Create an endpoint with method + JSON response in seconds; password protected if desired.
Switch responses dynamically (status, delay, error rate) to simulate failures & edge cases.
Parse a spec and auto-generate mock endpoints to accelerate integration work.
Describe your API and let AI draft the JSON body so you tweak only specifics.
Ready-to-copy code for cURL, JavaScript, Python, Java, C#, and Apex — includes Bearer token when required.
Bearer tokens for REST; API keys for SOAP operations. Quickly test secured flows.
Per‑endpoint call counts for usage tracking & rate limit monitoring.
| Manual Mocking | Using MockHub |
|---|---|
| Local scripts & JSON files | Hosted endpoints, shareable immediately |
| No failure simulation | Scenarios (delay, error rate, status changes) |
| Hard to maintain many routes | OpenAPI bulk import & grouping |
| Limited visibility | Daily stats & quota awareness |
| Ad‑hoc auth hacks | Built‑in Bearer / API key system |
| Inconsistent team setup time | Predictable 5‑step quick start |
Unblock UI work while backend evolves; swap to live API later.
Model success / failure flows without depending on flaky external systems.
Provide controlled mock endpoints to external consumers for trial access.
Stable responses for product demos & workshops.
Mirror contract while refactoring internal services.
Simulate degraded network latency & error conditions.
Use SOAP mock generation to create WSDL‑based operations with optional API key protection. Operations get unique URLs and can simulate responses similar to REST scenarios.
Yes, create up to 5 combined REST + SOAP items with daily call limits. Upgrade for higher quotas.
Yes, via the OpenAPI → Mock feature. It parses paths & methods into mocks.
You attach alternate responses with status, delay (ms), and optional error rate; switch active scenario anytime.
Approaching expiry auto‑extends by 2 days on access, keeping active development uninterrupted.
Most creation endpoints require Firebase auth; public SOAP mocks can be exposed optionally.
See How to Create a Mock API (REST) for a hands-on walkthrough.
Step-by-step guide to create a REST mock endpoint, set methods and JSON body.
Read guide
Simulate delays, error rates, status changes and alternate responses.
Read guide
Draft JSON bodies from short descriptions and refine fields easily.
Read guide
Toggle between active scenarios to simulate different behaviors.
Read guide
Track usage and disable endpoints when not needed.
Read guide
Generate SOAP services and operations from WSDL with optional API keys.
Read guide
Copy-and-paste code for cURL, JS, Python, Java, C#, and Apex.
Read guide