API Response Simulator

API Response Simulator

API Response Simulator
API Response Simulator

热度 5617

当前版本 0.2.0
插件大小 1.62MiB
所属分类 开发者工具
更新时间 2019年11月18日
Chrome store open chrome web store
随机推荐 阿里云服务器2核2G 99元/1年(续费同价!)

API Response Simulator插件简介

API Response Simulator(扩展包名:apcdhhdefemipnmdedjfbchkecliimpc)由 开发,最新版本0.2.0 于 2019年11月18日 更新。 API Response Simulator 属于开发者工具分类。

🌹 这个应用程序可以在 ChromeFK 或 Google Chrome 网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。
Simulate API response to test your apps behaviAPI Response Simulator浏览器扩展插件属于开发者工具分类。此应用程序可以在ChromeFK或Google Chrome网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。

API Response Simulator插件描述

The API Response Simulat Chrome Extension allows you to simulate backend APIs in der to test how your application hle API certain response.

Generally, if you want to test how frontend behaves when backend API returns 2xx, 4xx  5xx status codes, there are two options:
 If you control the backend, you can patch your backend code  manually return 2xx/4xx/5xx status codes from API methods.
 If you dont control the backend, you can patch your frontend code with some debug statements to verify the behavi.

Neither of which is an elegant approach.

The API Response Simulat Chrome Extension allows you to map backend API endpoints to the responses you want to simulate f your application.
Internally it patches browsers native XMLHttpRequest API.

Once youve installed the extension, follow the steps to operate it:
 Click on the ! icon at right top of the browser  switch on the extension.
 Click on the OPTIONS button. Itll open a page where you can supply rules with:
   The combination of URL  HTTP verb
   The response status code
   The response value
 You can also edit/delete your rules

Design Credit:
Name: Jainul Abedin
LinkedIn: https://www.linkedin.com/in/jainulabedin4148b816
Email: jainulmca@gmail.com
                                

API Response Simulator插件离线安装方法

1.首先用户点击谷歌浏览器右上角的自定义及控制按钮,在下拉框中选择设置。

2.在打开的谷歌浏览器的扩展管理器最左侧选择扩展程序或直接输入:chrome://extensions/

3.找到自己已经下载好的Chrome离线安装文件xxx.crx,然后将其从资源管理器中拖动到Chrome的扩展管理界面中,这时候用户会发现在扩展管理器的中央部分中会多出一个”拖动以安装“的插件按钮。

4.下载 API Response SimulatorChrome插件v0.2.0版本到本地。

5.勾选开发者模式,点击加载已解压的扩展程序,将文件夹选择即可安装插件。

注意:最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,参照这篇文章即可解决

历史版本

(如何离线安装?)
版本号 文件大小 下载

API-Response-Simulator(0.2.0)

1.62MiB 城通网盘