ccakibballjagidfebldkmghgndangdk
Hassle-free mocking of xhr and fetch calls. Mocking your API responses like a pro. The Parrot browser extension allows you to mock any asynchronous call you like. Using its network viewer you can monitor all calls being done, and with the ease of just one mouse button click you can start mocking every call you need to be mocked. Works for both old-school XmlHttpRequest and modern Fetch-API calls. Mocking can be as easy as just pasting alternative JSON payloads to be returned by the call, or by doing more complex transformation of responses using JavaScript. Whether or not mocking needs to take place can be decided by comparing the URL with a matching string or regular expression or, if a more fine-grained approach is needed, by inspecting the request using JavaScript. 💡 When to use this extension? 🔸 You are developing a front end that needs to connect to some back end API, but that API has not yet been developed or is down. 🔸 You want to give a live demo but the back end API needed is currently not available or broken. 🔸 You would not only like to test the happy flow, but would also like to see how your front end behaves given any possible alternate scenario or edge case. 🔸 You are experiencing a nasty bug but have no way of reproducing it easily using the real back end system. You would like to tweak the response to check if any unexpected response could be the cause of your issue. 💡 How to use this extension? Just make sure you have the Parrot the network viewer (see below) option enabled and start your journey. Any API-call done will showup in the viewer and can be mocked by the click of one single button. As an alternative, you can also start by pressing the "Define your mocks" button and then pressing the Add button to define a mocked response for a specific request. A line will show up on which you can define the HTTP verb/method and the URL-fragment of the request you would like to be mocked. The URL fragment is defined with a regular expression, allowing you to make any matching requirement as loose or strict as you would like it to be. NB In cases where the request also has a payload (like POST), the content of that payload can be used for determining if mocking should take place. On that same line you can then define the status code of your response, the exact response type and the payload to be returned. Once the extension detects the method/URL you expressed, the regular call will still be done. However, once the actual response has been received, no matter it's actual result, it will be replaced by the mocked response you defined. NB Next to being JSON, for any response also SCRIPT can be specified. In this case plain JavaScript statements can be defined with which the original response can be modified (you can just reference the contextual variable "response"). 💡 JSON5 Parrot uses JSON5 (https://json5.org) to allow for a less strict JSON-format. This means that typical JavaScript JSON-responses can be copied and pasted with ease. No need to use quotes around properties. If used, quotes can be single or double. Dangling comma's are allowed and you can even have comment in your JSON-structure. When determining the mock data to be substituted, there can be multiple rules matching the given URL and method. By default, Parrot will just cycle through the available mocks in top-down order. You can easily change this behavior by always selecting the first available mock, always selecting the last available mock, randomly picking one of the available mocks or sequencing through them. 💡 Timing your calls by adding a delay Particularly for checking for, or debugging of, potential race condition issues, for any request a delay (expressed in milliseconds) can be specified. This delay will be taken into account before the response is returned to the client that made the request. By carefully timing request/response cycles you can make sure that responses will be received in the exact order you would like them to be. 💡 Export and Import your mock rules The set of mock rules can also be exported to the file system using the Export button. This allows you to share your mock data with others and also allows you to create/maintain sets of mock rules. Exported files can easily be reimported by using the Import button. Imported files will be appended to any currently existing mock rules in the extension, allowing you to stack multiple sets on top of each other. Every time mock data has been substituted, a small notification will show up. This behavior can be turned off using the popup dialog. The notification will show the path that's being mocked, the number of mock rules applied on it's response and, if applicable, the delay that was taken into account. Parrot will show all asynchronous calls in a compact view directly attached to your content page. This network view offers you the possibility to show and mock any response with the click of one single button. The overview also directly shows which responses were mocked and which responses were original. In case of a mocked response, opening the mock dialog will show you the response that resulted after applying all involved mock rules.
Request Interceptor
Request Interceptor Extension for Chrome. Request Interceptor: Native HTTP/HTTPS Traffic Manager for Chrome Request Interceptor is a developer tool that allows you to seamlessly intercept, monitor, and route network traffic directly within your browser. Core Features: - Forward, drop, or pause incoming/outgoing requests. - Modify header values and POST payload data on the fly. - Add or delete custom request headers. - Filter interceptions by specific resource types. - Export request details as JSON and browse history. What is New in Version 3.0: - Bulk Actions: Instantly "Forward All" or "Drop All" intercepted requests with a single click. - Advanced Filtering: Isolate specific request types (GET, POST, PUT, DELETE) with interactive multi-select dropdowns. - Color-Coded UI: HTTP methods now feature color badges for faster visual scanning. - Improved UX: Added confirmation dialogs for deletions, "Select All" toggles, and one-click clear buttons for search inputs. - Stability: Fixed edge cases to prevent crashes while routing headless request payloads. What is New in Version 2.0: - Upgraded the extension to the modern Manifest V3 architecture. - Added a dedicated alert page and improved error messaging output. - Refined UI copy (e.g., changing to "Save as a JSON File"). - Added titles to the History and Settings pages for better navigation. - Extension windows now close automatically when you stop debugging. - Added full support for non-Latin characters.
XHR Request Interceptor
Redirect XHR requests and change their headers Redirect XHR requests and modify headers from any front-end application to wherever you want! Easy to use interface and supports regex (RE2). Especially useful for full-stack devs: Redirect from any environment to test your back-end developments.
Browser Proxy
Replace fetch, XMLHttpRequest, AJAX responses on the fly! Browser-Proxy allows you to mock responses of AJAX requests without leaving the browser on pages where you enabled it. You can choose what requests shall be overwritten, or even mock not yet existing APIs. You can change the response, status code, delay, response headers, set up chunking and use parts of the request as part of the response. It also lets you to share these mocks with someone though import and export, and all of this with a nice UI. - Change the response of fetch, XMLHttpRequest, Axios and other AJAX requests on the fly. - Mock Responses of not yet existing requests. - RegExp based rules for url, body or headers to decide what requests to override. - Import and export the overrides into JSON file to share in team. - Individual enabling and disabling of overrides on different sites, and grouping into folders. - Part of the request can be used as part of the response. - Mock file download interactions with chunking and custom delays. - Works offline. - Open source. For more details and documentation and source code visit: https://github.com/Vladislav-Boiko/browser-proxy -------------------------------------------- Change notes: 1.0.3 Added response highlighting and negation filter, fixed chunks duplication and variables removement bugs 1.0.2 Fixed communication between background scripts and popup in chrome v95+ 1.0.1 Removed permissions for clipboard copy according to the google review process 1.0.0 initial release
Mockiato — Free API Testing & Mocking Tool
Chrome extension to intercept requests, create real-time mocks, and auto-insert headers for web development & testing API. Mockiato is an extension for Google Chrome, designed to optimize web application development and testing. It allows you to intercept outgoing requests in real-time and create mocks for them, ensuring quick emulation of server responses. In addition, Mockiato enables the addition or modification of headers in requests. This feature significantly simplifies request configuration and saves developers' time. Combined, these tools provide flexibility and convenience, making the development and testing process more efficient and reliable. You can submit issues, bugs or feature request at https://github.com/avivasyuta/mockiato/issues