Plugin Icon

MockMan - mock APIs Chrome 插件, crx 扩展下载

Plugin Screenshot
Plugin Screenshot
Plugin Screenshot
Plugin Screenshot
                    

Mocks api responses for AJAX (XHR) requests. (Postman for Frontend)

This is essentially built to increase productivity in frontend development. Made for developers, it lets users to define rules (url, method and mock response) to respond to AJAX calls. Supports all common libraries like axios, superagent, XMLHttp, fetch etc. Response can be a JSON object or an error. It includes a JSON formatter to automatically convert your response in proper json format. Each rule can be individually turned on/off to apply mocking. There's a global power switch to turn off mocking all the rules at once. The JSON object maker lets users to make the object in JS syntax and the formatter will convert it into valid JSON object with inverted commas and no trailing commas etc. Features: 1. Urls can be absolute complete paths or regex enabled. 2. Labels for rules, so user can add different versions of same api 3. Delay in response 4. Test your app with success and error responses. 5. Add response headers along with mock response in the rule. Steps for Users - 1. Define the api url, method, response JSON or error msg to be mocked. 2. Refresh the project and the ajax / fetch request will be mocked. Mocked url will disappear from network tab and appear in console if rule matches. For any query or bug report or feature request - reach out to [email protected]. This extension is made with love for fellow developers. If this helps you, support us with good reviews :)) Let's build stuff.

分类 🛠️工具
插件标识 bigfgeehfoenaimkoohnokeeideaomnd
平台 Chrome
评分
★★★★☆ 4.6
评分人数 23
插件主页 https://chromewebstore.google.com/detail/mockman-mock-apis/bigfgeehfoenaimkoohnokeeideaomnd
大小 2.3MiB
官网下载次数 2000
下载地址

CRX扩展文件安装方法

第1步: 打开Chrome浏览器的扩展程序

第2步: 在地址栏输入: chrome://extensions/

第3步: 开启右上角的【开发者模式】

第4步: 重启Chrome浏览器 (重要操作)

第5步: 重新打开扩展程序管理界面

第6步: 将下载的crx文件直接拖入页面完成安装

注意:请确保使用最新版本的Chrome浏览器

同类插件推荐