Mock API calls seamlessly
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.
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
This extension is development phase, might not work in some kind of response like md files.
- Mock API call, specify JSON body, status, time delay and even headers
- Wild Card: add
(.*)as wild card in url which will match anything, for example:
some-domain/user/(.*)/messages. This will match
Mokku doesn't support GraphQL as of now.
Mokku does not collect or ask for any personal information, though it will store the mocks the chrome local store & all the hosts name where it has been enabled once to provide better experience to user.
- node + npm (Current Version)
- dist: Chrome Extension directory
npm run watch
npm run build
Load extension to chrome
dist directory. All the files are refreshed without extension reload except content script. Reload the extension to see the changes.