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
Fixed the broken build.
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
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.
Add text response format.
Auto format JSON after pasting, if valid
Import and export Mocks
Copy a mock for quick duplication
New JSON Editor with linting more verbose errors
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