Getting Started with Mock Studio
Mock Studio is a Chrome DevTools extension that lets you intercept, mock, and inspect network requests directly in your browser. Whether you're building a frontend against an API that doesn't exist yet, testing edge cases, or debugging production issues — Mock Studio has you covered.
Quick Start
Get up and running in under 2 minutes:
- Install Mock Studio from the Chrome Web Store
- Open DevTools (F12 or Right-click → Inspect)
- Navigate to the Mock Studio tab
- Create a Project to organize your mocks
- Add your first mock — define a URL pattern and response
That's it! Your mock is now active and will intercept matching requests.
Core Concepts
Projects
Projects are the top-level container for organizing your mocks. Each project contains its own set of mocks, folders, scenarios, and environments. Think of a project as one API or service you're working with.
Mocks
A mock defines a rule: when a request matches a specific method and URL pattern, Mock Studio intercepts it and returns your custom response body, status code, and headers.
Folders
Organize mocks within a project using folders. Group related endpoints together — for example, all /users/* endpoints in a "Users" folder.
Scenarios
Scenarios let you group mocks together and override their default responses. Perfect for testing specific flows like "Checkout Success" or "Payment Failed" without editing individual mocks.
Environments
Manage environment variables (like base URLs or tokens) that can be swapped between Development, Staging, and Production.
What's Next?
- Installation & Setup — Detailed installation guide
- Projects — Learn how to manage projects
- Mock Editor — Deep dive into creating mocks
- Network Capture — Create mocks from live traffic