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
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