Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.
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
Latest reviews
- (2024-05-23) Misael Freitas: 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.
- (2023-09-04) Ruchi Rai: Just Wow, super helpful and simple to use !
- (2023-09-01) April Papajohn: 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.
- (2023-08-30) Hayk Martirosyan: I uninstlled old version and installed 2.1 . Now Im getting blank , white screen in the devtolls from mokku
- (2023-08-25) supasai haplakhon: on version 2.0 i can't change response status anymore 😭
- (2023-08-10) Aleksey Ivasyuta: Extension doesn't work and breaks sites such as youtube and google docs.
- (2023-07-28) Dan Moulton: So glad I found this extension. It's going to be very useful to develop error-handling in my app, thanks.
- (2023-07-28) Lokmane Arkhis: Very useful tool, it will be better if this tool handle also GraphQL queries and mutations. Thanks a lot Mukul Jain !!
- (2023-05-11) Awesome extension, huge help for web developers. Thanks!
- (2023-04-28) Kris Vlasenko: Broken
- (2023-04-27) Hodor San: Was working beautifully. But stopped working since Version 112.0.5615.165 (as of April 27, 2023)
- (2023-04-26) Alex Gunt: Empty screen in dev tools. Fix it please
- (2023-04-24) Aleksandr Arkhipov: Отличное расширение, но пару дней назад перестало работать, пустой экран в девтулс. Пофиксите плиз.
- (2023-04-24) Stopped working with latest version, Please check.
- (2023-04-23) Дмитрий Богданов: Расширение не открывается
- (2023-03-09) André Lucas: Very functional, tks
- (2023-01-14) Oktaviardi Pratama: theres is isue that cannot switch with same url ex: /api/post (type result a) /api/post (type result b) so it just consile the latest url (type result b) please fix this
- (2022-11-30) Jesse Bartola: Awful. Tried to use it and it seems to replace the xhr request object with `undefined` for any non-mocked requests. I would expect all requests to go through instead of requiring every one to be mocked
- (2022-09-25) Prasanna K V: very nice
- (2022-08-17) Ferran Buireu: Funciona muy bien y al integrarse con las DevTools facilita la vida.
- (2022-07-07) Philip VVella: great tool :)
- (2022-03-07) Daniel Wiederkehr-Prundianu: One of the worst experience ever! It took me days to find that this plugin messed up my network requests and caused them to fail!
- (2021-09-28) Hemavaan KK: I installed this plugin from Chrome web store, I run my application in local with Webpack on localhost:3000. After load the application and move to developer tool and click on the Mokku tab. I got message like "Mokku not available on this url." Could you please help me any one.
- (2021-09-27) Petra AT: I've installed the plugin and enabled it but i can't seem to mock my apis on http://localhost:3000
- (2021-09-06) YASH PAHALAJANI: Machaenge 🤘🏻
- (2021-08-20) Serhii Viazkov: I was waiting for a tool like this, and FINALLY - here is it! I can really mock an entire backend (without actual code for it) and make my front end work properly.
- (2021-06-11) Arunendu Roy: Indeed a useful tool to test the edge cases and reduce the dependency on dev team to test out negative scenarios on the browser. However I saw an issue in the logs page when I was making a multipart-form request, there it seems the tool is not capturing the request body. Thanks for developing this.
- (2021-06-03) Nando Pena: Does this still work? I installed the plugin from the Chrome web store, I run my app locally with webpack dev server on localhost:5000. But when I click on the Mokku tab in dev tools, all I see is "Mokku not available on this url."
- (2021-06-03) Anh: Very helpful for development
- (2021-05-14) Mateus Paixão: I've got this error every single page that I tried "Mokku not available on this url." I'm trying to use on my http://localhost as well.
- (2021-04-13) Pavel Terentev: Это просто офигенный инструмент! Спасибо разработчикам!
- (2021-03-23) Marina Dalidovich: Very useful tool for testing
- (2021-03-22) Hristo Hristov: Great tool, exactly what I needed and actually works as opposed to many similar extensions.
- (2021-02-16) Romain Saillant: Greatest tool ever for mocking API. Add a better JSON editor + linter... and it will definitively perfect !!!!
- (2021-02-14) Blame Club: Does not work at all. No logs, nothing. There seems to be a hack, that overrides XHR which contains errors.
- (2021-02-05) 蔡昂: This is a very helpful plugin for development, thank you.
- (2021-01-08) ankam sarav: Super awesome tool, Thanks a ton
- (2020-12-03) Serhan Coşkun: This is an incredible tool. Actually I imagined such a this tool to make but you already did :)) Thank you so much.
- (2020-12-02) Dung Huynh: It's useful for me to test some edge cases.
- (2020-10-30) This was lacking in devtools for ages. Have absolutely no idea why such a crucial feature is not supported natively. Awesome that you put it inside the devtools tab as opposed to typical clunky full page UIs or detached popups. Great work!
- (2020-10-23) Avtar Nanrey: Thank you man. It is very easy to use. Specially Logs feature. I logged the working one ones and after that I don't have to reply on backend for my frontend work.
- (2020-08-07) NE debug: Promising, but doesnt work. After trying half a dozen of these, I thought this one would work since its on dev tools. But no, doesnt manage to intercept and change the live API response.
- (2020-07-01) Hitesh Garg: Very useful extension to mock API calls