Parrot API mocking

Hassle-free mocking of xhr and fetch calls.
What is Parrot API mocking?
Parrot API mocking is a Chrome extension that allows you to easily mock API responses for testing and debugging purposes. It wraps Fetch and XMLHttpRequest calls, ensuring that the actual call is made but the response is substituted by the mock data you specify. With Parrot, you can easily test different scenarios, debug issues, and mitigate CORS issues. It also offers features like timing your calls, exporting/importing mock definitions, multiple mock definitions, and a network viewer for easy monitoring and mocking of responses.

Extension stats

Rating: 5.00 (5)
Version: 8.2.2 (Last updated: 2024-03-01)
Creation date: 2020-12-26
Risk impact: Moderate risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 3
Permissions:
  • storage
  • scripting
Host permissions:
  • <all_urls>
Size: 3.85M

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension

Extension summary

Mocking your API responses like a pro. Parrot allows you to mock any asynchronous API call you want. It does this by patching both Fetch and XMLHttpRequest in such way that the actual call will always be done, but the response will be substituted by the mock data you specified.

๐Ÿ’ก When to use this extension?

๐Ÿ”ธ You are developing a front end that needs to connect to some back end API, but that back end 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?

Start by just 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.

See more

User reviews

Amazing! I want to you to add capability to edit response header as well. I am getting an issue. I could not use original response on mocking request body.

PLESE let me move the network viewer window! It's in the way! This app is perfect for any website that DOES'NT have something i need to click on in the bottom right corner. Edit: Thank you. Five stars.
by Michael Hinrichs, 2024-01-03

Great tool! Real easy to use and handles the mocking like charm. 5 out of 5!
by Peter Brons, 2022-12-19
View all user reviews

Extension safety

Risk impact

Parrot API mocking may not be safe to use and it requires some risky permissions. Exercise caution when installing this extension. Review carefully before installing.

Risk likelihood

Parrot API mocking has earned a good reputation and can be trusted.

Upgrade to see risk analysis details

Promo images

Parrot API mocking small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to Parrot API mocking: