General
What is MockLab?
MockLab is a developer platform for webhook debugging and API mocking. It provides instant HTTPS webhook endpoints, mock REST APIs with auto-generated data, WebSocket mock servers, chaos testing tools, a request rules engine, and a built-in realtime test client — all in one place.
Who is MockLab for?
MockLab is built for frontend developers, full-stack engineers, QA engineers, and anyone who needs to test against a backend or third-party API without that service being available. It's especially useful for teams working with webhooks (Stripe, GitHub, Twilio, etc.) and real-time features.
Do I need to install anything?
No. MockLab is entirely browser-based. Sign up, get your endpoint URL, and start receiving requests immediately. The only thing you'll run locally is whatever code you're testing.
Is MockLab open source?
The MockLab platform itself is closed source, but we have open source SDKs and integrations available. Follow us on GitHub for updates.
Webhook Inspector
How do I receive my first webhook?
Sign up, go to Webhook Inspector, and copy your unique endpoint URL (e.g. https://wh.mocklab.dev/your-id). Then send any HTTP request to that URL — from curl, Postman, your app, or a third-party service like Stripe. The request appears in the dashboard instantly.
Can I replay captured requests?
Yes. Every captured request has a Replay button. Click it to re-fire the exact same request — same headers, same body — to your local server, staging environment, or any other endpoint you specify.
How long are request logs retained?
Free plan retains the last 100 requests per endpoint. Pro plan retains up to 10,000 requests with extended history.
Does MockLab support HMAC signature verification?
Yes. You can configure your endpoint with a secret key and MockLab will verify incoming Stripe, GitHub, Shopify, or custom HMAC signatures and display the result in the inspector panel.
Mock REST API
What HTTP methods does the Mock REST API support?
Every mock collection exposes GET (list and by ID), POST, PUT, PATCH, and DELETE endpoints automatically. No configuration needed — they're all live the moment you create a collection.
How realistic is the auto-generated data?
Very realistic. MockLab uses Faker-quality data generation. Fields are named intelligently — a field named "email" generates real email addresses, "price" generates decimals, "name" generates full names, and so on.
Can I import my existing OpenAPI / Swagger spec?
Yes. Paste your spec URL or upload a JSON/YAML file and MockLab generates a fully populated mock collection with schema and data that matches your spec in one step.
Does the Free plan reset my data?
Free plan data resets daily. Pro plan keeps your data persistent indefinitely — records you create or modify stay until you delete them.
WebSocket & Realtime
Does MockLab support Socket.io as well as raw WebSockets?
Yes. Each WS project supports both protocols. You choose WebSocket or Socket.io per project, and get the corresponding connection URL (wss:// or Socket.io endpoint).
Can I schedule events to fire automatically?
Yes. Schedules let you configure an event to fire automatically on any interval — every 1 second, every 30 seconds, every 5 minutes, etc. Free plan allows 1 schedule per project; Pro allows 20.
What are chaos testing modes?
Chaos modes change how your WS project delivers events. Success mode is normal delivery. Error mode wraps every event payload in an error envelope (great for testing your error handlers). Slow mode adds a 1.5–3s random delay to every event. Pro plan unlocks Error and Slow modes.
Can I push events to a specific connected client?
Yes. When defining an event, you can choose "broadcast" (send to all clients) or specify a target client ID to send only to that connection. This lets you simulate targeted server-push scenarios.
Billing & Plans
Is the free plan really free forever?
Yes. The Free plan has no time limit, no credit card required, and includes full access to core features with lower usage limits. It's not a trial — it's a permanent plan.
Can I upgrade or downgrade at any time?
Yes. Upgrade takes effect immediately. Downgrade takes effect at the start of your next billing cycle so you keep your paid features until then.
What happens to my data if I cancel?
Your data is retained for 30 days after cancellation. You can reactivate your plan within that window to restore everything. After 30 days, data may be subject to Free plan limits.
Still have questions?
Our team is happy to help with any questions not covered here.