Introduction

Introduction

Welcome to MockLab — the developer platform for webhook debugging and API mocking. MockLab helps you test and develop without waiting for real backends, third-party services, or teammates to be available.

What is MockLab?

MockLab is a suite of six integrated developer tools:

  • Webhook Inspector — Capture and debug incoming webhook requests in real time
  • Mock REST API — Get public CRUD endpoints with auto-generated data in seconds
  • WS / Socket Mock — Spin up WebSocket and Socket.io servers without any backend
  • Chaos Testing — Simulate error and slow-response scenarios safely
  • Rules Engine — Route and transform webhook requests automatically
  • Realtime Tester — Built-in WebSocket test client — no external tools needed

Getting started in 30 seconds

  1. Sign up for a free account — no credit card required.
  2. Navigate to Webhook Inspector and copy your unique endpoint URL.
  3. Send a POST request to that URL from curl, Postman, or your webhook source.
  4. Watch the request appear in real time on the dashboard.
Terminal
# Send your first webhook
curl -X POST https://wh.mocklab.dev/your-endpoint-id \
  -H "Content-Type: application/json" \
  -d '{"event": "user.created", "email": "[email protected]"}'

# → See it instantly at app.mocklab.dev

Core concepts

Endpoint A unique HTTPS URL that receives incoming HTTP requests. Each endpoint is scoped to your account and can have rules and response overrides.
Collection A Mock REST API resource (e.g. /products, /users). Each collection has a schema that defines the shape of auto-generated records.
Project (WS) A WebSocket or Socket.io server instance. Each project gets a unique wss:// URL with events and schedules.
Rule A condition-action pair evaluated against incoming requests. Rules can match by method, path, headers, or body and then forward, reject, or respond.
Scenario A chaos mode applied to a WS project: Success (normal), Error (wraps payloads in error envelopes), or Slow (adds artificial delay).

Quick links