API Response Simulator

API Response Simulator

Simulate API response to test your app's behavior

What is API Response Simulator?
API Response Simulator is a Chrome extension that allows you to simulate backend APIs and test how your application handles different API responses. With this extension, you can easily map backend API endpoints to the desired responses you want to simulate for your application.
Stats
This extension was removed from Chrome Web Store on 2022-05-05
Users: 1,000+
Rating: 3.17 (18)
Version: 0.2.0 (Last updated: 2021-08-09)
Creation date: 2019-11-18
Risk impact: High risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • storage
  • webRequest
  • <all_urls>
  • webRequestBlocking
Size: 1.70M
Stats date:

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
Summary

The API Response Simulator Chrome Extension allows you to simulate backend APIs in order to test how your application handle API certain response.

Generally, if you want to test how frontend behaves when backend API returns 2xx, 4xx or 5xx status codes, there are two options:

  • If you control the backend, you can patch your backend code and manually return 2xx/4xx/5xx status codes from API methods.
  • If you don't control the backend, you can patch your frontend code with some debug statements to verify the behavior.

Neither of which is an elegant approach.

The API Response Simulator Chrome Extension allows you to map backend API endpoints to the responses you want to simulate for your application. Internally it patches browser's native XMLHttpRequest API.

Once you've installed the extension, follow the steps to operate it:

  • Click on the ! icon at right top of the browser and switch on the extension.
  • Click on the OPTIONS button. It'll open a page where you can supply rules with:
    • The combination of URL and HTTP verb
See more
User reviews
nie działa
by ka K ka K, 2021-11-15

Hi Anup, qq How do I pass in partial URL match? Is there a documentation where I can read more about how are you matching the URL path? Eg: I want to mock a scenario where the following book creation API fails https://mybooks.io/library1/book INSERT 200 https://mybooks.io/**/book INSERT Should return 500
by Chirag Pandit Chirag Pandit, 2021-10-25

This never worked for any of the endpoints I manually entered. However after 2 months of Google Maps not working in Chrome, I realized that this extension was blocking all of Map's API calls. Uninstalled the extension and Maps started working just fine. Reinstalled the extension just to leave this review, now I'll be removing it again.
by Rob Davis, 2021-06-29
View all user reviews
Safety
Risk impact

API Response Simulator is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install API Response Simulator if you trust the publisher.

Risk likelihood

API Response Simulator may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details
Promo images
API Response Simulator marquee promo image
Marquee promo image
API Response Simulator small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to API Response Simulator: