Mokku
Extension Actions
- Extension status: Featured
Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.
Mokku Walkthrough: https://youtu.be/NDJ-UifByiE
Read FAQ's here: https://get.mokku.app/faq
Mokku adds itself as a tab in your Dev Tools panel. From there, you can see network logs, manage mocks, and much more.
1. Mock API Calls
- Specify JSON body, HTTP status, time delay, and headers.
- GraphQL Support: Supports mocking GraphQL queries and mutations.
- Dynamic Response Mocking: Write JavaScript functions to return complex, conditional responses.
- Dynamic URL Support: Use patterns like goals/:goalId. The URL parameters are available for your dynamic response function.
- VSCode Editor Added Monaco editor, the VSCode editor for editing response and functions
We Uses path-to-regexp v8.2.0 for dynamic url matching.
2. Modify Headers
- Easily modify request headers—globally for all requests or specifically for individual URLs.
3. Projects
- Group and organize your mocks and headers by Project for simplified management.
4. Import / Export
- Keep your mocks & headers by exporting by project basis and import them back as well.
⚙️ How it Works & Privacy
- Mokku operates within the Dev Tools panel, showing network logs and enabling mocking.
Any network call from the logs can be mocked with a simple click, or you can create a mock from scratch.
- Access/Injection: All URLs are accessible, but Mokku does not inject scripts into any page apart from those served locally (http://localhost*) until manually enabled from the Panel.
🔒 Privacy Policy
Mokku is committed to user privacy:
- It does not collect or ask for any personal information.
- Mocks are stored securely in the Chrome store.
Read more at https://github.com/mukuljainx/mokku?tab=readme-ov-file#-mokku-mock-api-calls-seamlessly
Change log: https://github.com/mukuljainx/Mokku/blob/master/CHANGELOG.md
Latest reviews
- Jonathan Miguel Martinez Medina (Globant)
- It doesn't work anymore. Tried to override a 200 with a 303, didn't override.
- Victor Iurkov
- 2.1.3 i don't like this upgrade. "add mock" from logs doesn't pass response body, method, url, status
- Thomas Kuntermann
- With version 2.1.3, the mock-creation is NOT useful anymore. You are getting forwarded to "mokku.app" website, when click on a network request from within the chrome dev-tools and need to create the mock COMPLETELY manually, without any pre-filled response/request parameters from selected network request... Cannot use this add-on anymore. Was a good friend for years... :(
- Дмитрий
- Overall, the extension is convenient, but the latest update isn't very user-friendly yet. Could you add a "show only mocks" filter in the developer toolbar?
- Enrique D. Amaya
- I understand that with more features, you need bigger screen state and thus the change, not my favorite thing but it works well so far! I do have some feedback! 1. On the panel, add a tooltip on the url column for each row, kind of hard seeing the domain only and having to click each one until I find the one I want to then click on the mock option. 2. Related to the previous one, add the options to add mock/header from the opened url in the panel 3. Add a stop logging on the panel 4. When clicking add mock to one of the captured URL it redirects me to Mokku page to build a new mock, but everything's blank, shouldn't it be prefilled? 5. Could it support unconventional graphql? like Walmart's
- Simon Cheng
- Was loving this plugin. However, after today's updates, it didn't work, only show API logs (similar to Network in dev tools). Could not find all my previous mocks. Finally found them in the cloud? Now the usage is very un-intrinsic.. how..
- MD
- No action with requests!! Please fix this
- Botan
- Gets the work done, import/export functionality can surely help!
- Subhadip Pal
- Best mocking tool, thank you Developer
- Dana Mulder
- Works as expected!
- Marcos Avila
- How can I make a backup? I don't see any option
- Marko Rajevic
- Is this Extension safe, I see that put some inject.js script that makes calls to my API?
- Голос Разума
- Disgusting. First, the developer decided to completely hide the source code of the extension, but now he has started inserting advertisements without users’ permission. Better use the free and fully open source mockiato extension.
- Natalia Díaz Palacios
- awesome app! easy to use! the only thing is that is presenting an issue when 204 status is thrown
- Chris Weller
- Avoid like the plague - a developer that's willing to injects ads into your Google homepage without warning will likely do far worse in the future. EDIT: I've created an ad-free fork, available on GitHub under "MokkuReborn". Please support Mukul with donations if you opt to use the ad-free version. https://github.com/itsWeller/MokkuReborn
- Asman Umbetov
- The extension injects ads into the Google pages
- Lukas Schmid
- It WAS a great extension. Shows now ad on google search result. What a shame.
- 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.
- Clara Griveau
- Was great but deleted it now that it triggers ad on my google search
- Gökberk Karaca
- I removed this extension since it displayed an advertisement on my Google searches without my permission, and didn't mention the source of the advertisement
- Tyler Charlesworth
- Adware!! Recently has begun injecting probably harmless but unexpected and unadvertised ads into Google search results. Generally, Chrome extensions with high levels of browser access are big security risks and it is VERY concerning to see an extension exhibiting unexpected behavior. This was a helpful extension once in a while and if the description noted this ad and the ad itself indicated what had injected it, this would feel more trustworthy. But the stakes are too high to have untrustworthy code with access to every page I'm browsing — removed! Thanks to Mukul for the work on this thus far (totally understand that this can be thankless work and monetizing is hard) and thanks to the other reviewers here that have identify this as the offending extension without me having to search through all extensions' source code.
- Ashish Chouksey
- Sadly removing this extension because of the ad. Even if the ad is harmless, it still feels like a breach because firstly it didn't ask for my permission nor did it inform about its origin (could be a line at the top of the ad saying 'by Mokku') and like others, I had to go through all my extensions to identify its source (I even ran a full scan because I feared it was a malware or something).
- Aiden Mellor
- Even if the ad is harmless, it still adds unnecessary bloat. Imagine if every plugin did this. Additionally, the ad doesn’t indicate which extension it comes from, making it deceptive and forcing you to search through all your plugins to identify the source.
- Giancarlos Castillo
- It used to be so good until they started to injecting ads
- Drazen Bjelovuk
- Injects random ads into web pages.
- Abdul Mujib DCT
- This extension is injecting ads into webpages.
- Ariel Ortmann
- It was good, now it injects advertising into sites.
- Rishav Agrahari
- One of the best API mock extensions I have encountered.
- Chirag Pandit
- Works
- Mefit Hernandez
- Awesome extension! Had help me on my day to day work.
- Muhammad Abdullah
- It is great help. Could you please provide guidance on how to simulate API requests using a syntax pattern similar to sample.com/api/*?
- Stuart Myers
- Mokku is an excellent lightweight mocking tool for FE development. I would like to leave one bug report - I would open on github but it seems as of Jan 2024 the repo is private(!). When developing a nextjs application, using query parameters and using the nextjs useRouter, navigating gets the following error: Failed to fetch RSC payload for http://localhost:3000/foo?query=bar. Falling back to browser navigation. TypeError: e.url.indexOf is not a function Error: e.url.indexOf is not a function at y (chrome-extension://somethingwrittenhere/js/inject.js:1:6216) // snip This is only an issue when mokku is enabled.
- Phil P
- Love this extension! I wish there was a way to import/export the created mocks to a json file so my team could be kept in sync with the same mocks. Along with a direct import button to select the json file, an alternative option to import by providing a url to pull in this json file from a remote system.
- Ruchi Rai
- Just Wow, super helpful and simple to use !
- Ruchi Rai
- Just Wow, super helpful and simple to use !
- 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.
- 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.
- Hayk Martirosyan
- I uninstlled old version and installed 2.1 . Now Im getting blank , white screen in the devtolls from mokku
- Hayk Martirosyan
- I uninstlled old version and installed 2.1 . Now Im getting blank , white screen in the devtolls from mokku
- supasai haplakhon
- on version 2.0 i can't change response status anymore 😭
- supasai haplakhon
- on version 2.0 i can't change response status anymore 😭
- Aleksei Ivasiuta
- Extension doesn't work and breaks sites such as youtube and google docs.
- Aleksei Ivasiuta
- Extension doesn't work and breaks sites such as youtube and google docs.
- Dan Moulton
- So glad I found this extension. It's going to be very useful to develop error-handling in my app, thanks.
- Dan Moulton
- So glad I found this extension. It's going to be very useful to develop error-handling in my app, thanks.
- Lokmane Arkhis
- Very useful tool, it will be better if this tool handle also GraphQL queries and mutations. Thanks a lot Mukul Jain !!
- Lokmane Arkhis
- Very useful tool, it will be better if this tool handle also GraphQL queries and mutations. Thanks a lot Mukul Jain !!
- Anonymous
- Awesome extension, huge help for web developers. Thanks!
- Kris Vlasenko
- Broken
- Hodor San
- Was working beautifully. But stopped working since Version 112.0.5615.165 (as of April 27, 2023)