Mocks api responses for AJAX (XHR) requests. (Postman for Frontend)
MockMan - mock APIs Extension
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.
Source Manifest.json
How to download and manually install MockMan - mock APIs extension for Chrome
Looking for a way to install MockMan - mock APIs extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install MockMan - mock APIs extensions manually, this article outlines two simple methods to effortlessly install MockMan - mock APIs extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download MockMan - mock APIs extension and manually install through Drag &Drop
If you ever need to manually install a MockMan - mock APIs extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the MockMan - mock APIs Extension by clicking the "Download CRX" button on the website.
Look for the MockMan - mock APIs extension you wish to install. Go to the website and download the MockMan - mock APIs extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for MockMan - mock APIs extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the MockMan - mock APIs extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download MockMan - mock APIs extension for Chrome and install in Developer Mode
This is another method to install MockMan - mock APIs extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the MockMan - mock APIs extension file
Select and download the MockMan - mock APIs extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the MockMan - mock APIs extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your MockMan - mock APIs extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the MockMan - mock APIs extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install MockMan - mock APIs extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
tweak: mock and modify HTTP requests 2,000+ 190 ★ 3.22MiB
Mock:Intercept and directly return data 2,000+ 6 ★ 487KiB
Request Interceptor 2,000+ 58 ★ 1.89MiB
Requestly - Intercept, Modify & Mock HTTP Requests 2,000+ 1227 ★ 876KiB
Parrot API mocking 2,000+ 5 ★ 3.6MiB
Browser Proxy 2,000+ 1 ★ 2.54MiB
Oh-my-Mock 2,000+ 8 ★ 7.07MiB
Mockiato: Mocks on the Fly! 2,000+ 8 ★ 477KiB
ModResponse - Mock and replay API 2,000+ 23 ★ 454KiB
Mokku 2,000+ 76 ★ 3.28MiB
Mock Proxy 2,000+ 4 ★ 2.03MiB
xhr-devtool 2,000+ 1 ★ 51.34KiB
Netify 2,000+ 40 ★ 1.24MiB
Mimic , mock http requests 2,000+ 5 ★ 2.48MiB
YMock: Mock API calls info 2,000+ 2 ★ 1.68MiB
Interceptor 2,000+ 2 ★ 180KiB
Chrome Response Override 2,000+ 15 ★ 488KiB
Tamper Dev 2,000+ 29 ★ 532KiB
Ajax Modifier 2,000+ 48 ★ 2.08MiB
Request Interceptor 2,000+ 12 ★ 23.97KiB
Ajax Proxy 2,000+ 8 ★ 835KiB
Ajax Interceptor Tools 2,000+ 12 ★ 2.31MiB
URL Throttler 2,000+ 31 ★ 38.13KiB
Scripter debugger extension 2,000+ 2 ★ 1.04MiB
User reviews
Мадам Брошкина (ID: 000000a4244a600f) Voted 5 ★ - Updated 12/08/2024
Andrew Raymond (BizTech) (ID: 0000003104d661a0) Voted 5 ★ - Updated 10/18/2022
Fabio Issamu Oshiro (ID: 00000045f3806074) Voted 5 ★ - Updated 06/15/2022
kami kamyar (ID: 000000f18cf1d9d7) Voted 5 ★ - Updated 05/22/2022
Try Setyo Utomo (ID: 00000028dc65e600) Voted 5 ★ - Updated 05/17/2022