Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.

Latest Version

Version
2.0.11
Update
May 24, 2024
Size
3.28MiB
Developer
Category
Users
10,000+
Rating
3.39474 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
Tabs
See more

Mokku Extension

Mokku helps user by mocking API and changing their response, response time and status, user can try all test case scenario like long loading time, error states, or any missing or incorrect data.

Mokku adds itself as a tab in dev tools as a panel. In the tab user can see network logs and mocks. Any network call from the logs can be mocked by simply clicking mock button then response can be edited. User can also search logs. Mock can also be created from scratch from create mock button.

Detailed Release notes: https://github.com/mukuljainx/Mokku/releases

v2.0.6
Remove sentry from inject script
Error handling while searching mocks

v2.0.4
Feature:
load Mokku in separate window as well
Add sentry for error tracking
Mock headers from log as well

v2.0.1
Fix: status not reflecting in mock
Feat: add option to edit mocked log

v2.0.0
New UI
Dark Theme
Resizable modal (log and mock)
Better code (allows adding feature quickly)
Bug fixes

v1.8.2
Fixed the broken build.

v1.8.0
Updates the manifest and other packages to latest version. Nothing new, this can break things but a required change to improve the extension and to release v2.0.0

v1.7.0
Allow user to create multiple mocks with same url and method. On creating new mock any previous will be disabled, same goes for enabling any mock.
Adds description field for mocks.

v1.6.1
Bug fix

v1.5.0
Add text response format.


v1.4.0
Auto format JSON after pasting, if valid

v1.3.0
Import and export Mocks
Copy a mock for quick duplication

v1.2.0
New JSON Editor with linting more verbose errors

v1.1.0
Dynamic URL Mocking
URL such as
1. \"service/chat/user/:userId/messages\" can be added. All the URL such as \"service/chat/user/u1/messages\", \"service/chat/user/u2/messages\" etc will be matched though response will remain same. In future userId will available as param just like express and you can provide a handler function.

2. \"service/some/thing/(.*)\" can also be added, (.*) will match anything just like the above.

All URL's are accessible but Mokku doesn't inject scripts into any pages apart from which are served locally and accessed using 'http://localhost*' until enabled from the Panel.

Collections & Dynamic mock generators coming soon!

You can submit issues, bugs or feature request at https://github.com/mukuljainx/mokku/issues
Read more

Source Manifest.json

{"update_url":"https://clients2.google.com/service/update2/crx",
"manifest_version":3,
"name":"Mokku",
"description":"Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.",
"version":"2.0.11",
"icons":{"16":"mokku-16.png",
"48":"mokku-48.png",
"128":"mokku-128.png",
"512":"mokku-512.png"},
"options_ui":{"page":"options.html"},
"action":{"default_icon":"mokku-16.png",
"default_popup":"popup.html"},
"content_scripts":[{"matches":[""],
"js":["js/content_script.js",
"js/inject.js"],
"run_at":"document_start"}],
"devtools_page":"devtool.html",
"background":{"service_worker":"js/background.js"},
"permissions":["storage",
"activeTab",
"tabs"],
"host_permissions":[""],
"web_accessible_resources":[{"resources":["js/inject.js"],
"matches":[""]}]}
Read more

Similar Extensions

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 10,000+ 190 ★ 3.22MiB

icon

Requestly - Intercept, Modify & Mock HTTP Requests Extension · Developer Tools 10,000+ 1227 ★ 876KiB

icon

MockMan - mock APIs Extension · Productivity 10,000+ 17 ★ 2.3MiB

icon

Mockiato: Mocks on the Fly! Extension · Developer Tools 10,000+ 8 ★ 477KiB

icon

ModResponse - Mock and replay API Extension · Developer Tools 10,000+ 23 ★ 454KiB

icon

Parrot API mocking Extension · Developer Tools 10,000+ 5 ★ 3.6MiB

icon

Oh-my-Mock Extension · Developer Tools 10,000+ 8 ★ 7.07MiB

icon

ModHeader - Modify HTTP headers Extension · Developer Tools 10,000+ 1061 ★ 676KiB

icon

CORS Unblock Extension · Developer Tools 10,000+ 162 ★ 203KiB

icon

Redux DevTools Extension · Developer Tools 10,000+ 726 ★ 1.2MiB

icon

Testing Playground Extension · Developer Tools 10,000+ 60 ★ 646KiB

icon

Netify Extension · Developer Tools 10,000+ 40 ★ 1.24MiB

icon

Request Interceptor Extension · Developer Tools 10,000+ 58 ★ 1.89MiB

icon

Mimic , mock http requests Extension · Developer Tools 10,000+ 5 ★ 2.48MiB

icon

URL Throttler Extension · Developer Tools 10,000+ 31 ★ 38.13KiB

icon

Chrome Response Override Extension · Developer Tools 10,000+ 15 ★ 488KiB

icon

Apollo Client Devtools Extension · Developer Tools 10,000+ 266 ★ 490KiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 10,000+ 114 ★ 2.89MiB

icon

Allow CORS: Access-Control-Allow-Origin Extension · Productivity 10,000+ 279 ★ 78.31KiB

icon

BrowserStack Extension · Developer Tools 10,000+ 95 ★ 805KiB

icon

Ajax Modifier Extension · Developer Tools 10,000+ 48 ★ 2.08MiB

icon

Tamper Dev Extension · Developer Tools 10,000+ 29 ★ 532KiB

icon

Angular DevTools Extension · Developer Tools 10,000+ 159 ★ 3.2MiB

icon

GraphQL Network Inspector Extension · Developer Tools 10,000+ 123 ★ 8.34MiB

User reviews

icon

Misael Freitas (ID: 000000e23ccef1e5) Voted 3 ★ - Updated 05/23/2024 Muito boa para o que foi feita para ser usada. Porém comoçou a enfiar ads na pesquisa do google Então ja não recomendo mais.

icon

Ruchi Rai (ID: 000000d3fd5f9617) Voted 5 ★ - Updated 09/04/2023 Just Wow, super helpful and simple to use !

icon

April Papajohn (ID: 00000052c0676951) Voted 5 ★ - Updated 09/01/2023 This tool is critical for mocking backend service responses during front end development. I especially like the Log feature that lets me capture real responses that I can then mock with one click.

icon

Hayk Martirosyan (ID: 0000000a1a636ad8) Voted 4 ★ - Updated 08/30/2023 I uninstlled old version and installed 2.1 . Now Im getting blank , white screen in the devtolls from mokku

icon

supasai haplakhon (ID: 00000092411f72c7) Voted 1 ★ - Updated 08/25/2023 on version 2.0 i can't change response status anymore 😭