Mokku
Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.
什么是Mokku?
Mokku是由Mukul Jain开发的Chrome扩展程序,该扩展的主要功能是“Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.”。
扩展截图
下载Mokku扩展crx文件
下载Mokku扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
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 扩展基本信息
| 名称 | |
| ID | llflfcikklhgamfmnjkgpdadpmdplmji |
| 官方URL | https://chromewebstore.google.com/detail/mokku/llflfcikklhgamfmnjkgpdadpmdplmji |
| 简介 | Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing. |
| 文件大小 | 3.28 MB |
| 安装次数 | 13,836 |
| 当前版本 | 2.0.6 |
| 更新时间 | 2023-09-11 |
| 上架时间 | 2020-07-01 |
| 评分 | 3.98/5 共56次评分 |
| 开发者 | Mukul Jain |
| 电子邮箱 | [email protected] |
| 付费类型 | free |
| 扩展官网 | https://mukuljainx.github.io/Mokku |
| 支持的语言 | en |
| 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.6",
"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": [
" | |