Mockpit
Overview
Record fetch and XHR calls, edit responses in a JSON tree, and mock any API with wildcards. Toggle mocks instantly. Works offline.
Mockpit records the API calls your web app makes and lets you replace responses in a few clicks. Turn it on for a site, open the side panel, select a request, choose Mock this, edit the JSON and save. Your app gets the mocked response without a proxy, code changes or a backend. RECORD • Record fetch and XMLHttpRequest calls: method, URL, headers, textual bodies, status and timing. • Disabled pages do not record, mock or block traffic, including embedded frames. • Preserve the log across reloads, with configurable body and log size limits. MOCK AND EDIT • Structured JSON tree editor by default, with text mode one click away. • Multiple response variants per mock, such as success, empty data, error 500 and network failure. • Set status, headers, delay and simulated network errors. • Add recorded responses as variants of an existing mock. MATCH REAL API CALLS • URL wildcards, named path segments and optional request body matching. • Changing timestamps, cache busters and other volatile query values are wildcarded for you. • Match GraphQL operations and variables. • The most specific mock wins, with warnings when another mock answers instead. SWITCH SCENARIOS • Toggle individual mocks, whole groups or all mocks without reloading. • Switch a whole group to a response variant by name. • See which requests were mocked and how often each mock was used. • Alt+Shift+M pauses or resumes mocking globally. WORK WITHOUT A BACKEND • Mock all creates mocks from a recorded session. • Import a HAR file or export and import mocks as JSON. • Block requests without a mock to find missing API coverage. • Mocks work offline once your app is loaded. Mockpit does not cache a site’s HTML, scripts or assets for an offline reload. BUILT TO STAY OUT OF THE WAY • A compact, dark interface in the Chrome side panel or DevTools. • No debugger banner and no proxy configuration. • Capped captures, bounded queues and caches, and a virtualized request list. Streaming and binary response bodies are skipped. • Turning a site off drops pending recorder work and stops its recorder connection and periodic timer. Site enablement is shared by tabs on the same origin. PRIVACY Everything stays on your computer. Mockpit has no servers, accounts, analytics or tracking. Requests and mocks are stored locally in your browser and can be cleared. LIMITATIONS Mockpit intercepts page fetch and XMLHttpRequest calls. It does not intercept requests initiated by workers or service workers, WebSockets, EventSource, sendBeacon, images or script tags. Synchronous XHR can be recorded but cannot be mocked. Mocked requests appear in Mockpit rather than Chrome’s Network panel. Chrome 120 or newer is required.
0 out of 5No ratings
Details
- Version0.1.1
- UpdatedNovember 19, 2026
- Offered bysolo
- Size584KiB
- LanguagesEnglish
- Developer
Email
solomonidze29@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes