wemock
Overview
Record real API calls in Chrome DevTools, then replay them as mock scenarios. WebSocket and SignalR too.
wemock is a DevTools panel for front-end developers. It logs your page's API calls, turns any call into a mock with one click, and serves the mock back to the page. Record, then replay - "Mock this" on one call, or "Save as scenario" on the whole list. - Import a HAR file from the Network tab, an OpenAPI or Swagger file (JSON or YAML), or a JSON mock file. Scenarios - Keep "empty list", "server down" and "slow network" side by side, and switch in one click. - Select, delete and clear scenarios, with Undo. Replies - Any status from 200 to 599, headers, delays, and text or binary bodies. - Fill a body with {{params.id}}, {{query.page}}, {{body.user.name}}, {{uuid}} or {{now}}. - Answer each call differently: pending, pending, done. - Or write the reply as JavaScript, run in a sandbox for at most one second. - Change a real response: let the call through, then change its status, headers or JSON fields. - Stream a reply in chunks, as Server-Sent Events too; EventSource works. Real calls - Header rules add, change or remove request headers on calls that go to the server. Matching - URL patterns with parameters and wildcards, GraphQL operation names, and conditions on the query, a header or the JSON body. WebSocket and SignalR - Mock a socket with a timeline of server messages and replies to client messages, or let the real one run and turn its traffic into a mock. SignalR errors and streams work as with a real hub. Checking - A Test bar shows which mock answers a URL, and what it answers. - Load the sample: a small shop with every kind of mock, to try wemock in a minute. - Each mocked call writes one line to the Console, and the Log says which mock answered. Works with fetch, XMLHttpRequest, axios and WebSocket. Free and open source (MIT). Your data stays in your browser. wemock sends nothing anywhere and runs on a site only after you switch it on there.
0 out of 5No ratings
Details
- Version1.8.0
- UpdatedNovember 16, 2026
- Offered byWillowAnk Solution
- Size357KiB
- LanguagesEnglish
- Developer
Email
khoahoelca@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
Support
For help with questions, suggestions, or problems, visit the developer's support site