Mock API responses based on user configuration.
Mock API Responses Extension
Mock the response based on request url filter.
Steps:
Click on tool --> Select Options tab --> Configure your rules
Current Features:
- Mock the API response
- Fail the API based on request url
- Pause and Resume the rules
Upcoming:
- Delay
- Mock the request body
- Notifications if request filters match
- Route to different url
Versions:
1.0:
- Starter and only supports mocking of response
- Update and delete of exiting responses
2.0:
- Beautify the JSON response
- Pause and Resume individual rules
- Fail the API based on filtered request url
- Update of existing rule between mutation and failed
- Styling updates
Read more
Steps:
Click on tool --> Select Options tab --> Configure your rules
Current Features:
- Mock the API response
- Fail the API based on request url
- Pause and Resume the rules
Upcoming:
- Delay
- Mock the request body
- Notifications if request filters match
- Route to different url
Versions:
1.0:
- Starter and only supports mocking of response
- Update and delete of exiting responses
2.0:
- Beautify the JSON response
- Pause and Resume individual rules
- Fail the API based on filtered request url
- Update of existing rule between mutation and failed
- Styling updates
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Mock API Responses", "version": "2.1", "description": "Mock API responses based on user configuration.", "icons": { "64": "/icons/icons-64.png" }, "permissions": [ "storage", "declarativeNetRequest" ], "host_permissions": [ "" ], "background": { "service_worker": "background.js" }, "options_page": "options.html"}
Read more