Item logo image for Mock:Intercept and directly return data

Mock:Intercept and directly return data

4.6 (

16 ratings

)
Item media 5 (screenshot) for Mock:Intercept and directly return data
Item media 1 (screenshot) for Mock:Intercept and directly return data
Item media 2 (screenshot) for Mock:Intercept and directly return data
Item media 3 (screenshot) for Mock:Intercept and directly return data
Item media 4 (screenshot) for Mock:Intercept and directly return data
Item media 5 (screenshot) for Mock:Intercept and directly return data
Item media 1 (screenshot) for Mock:Intercept and directly return data
Item media 1 (screenshot) for Mock:Intercept and directly return data
Item media 2 (screenshot) for Mock:Intercept and directly return data
Item media 3 (screenshot) for Mock:Intercept and directly return data
Item media 4 (screenshot) for Mock:Intercept and directly return data
Item media 5 (screenshot) for Mock:Intercept and directly return data

Overview

拦截请求并直接返回 Mock 数据,包括 XMLHttpRequest、fetch类接口

这是一款用于 Mock XMLHttpRequest 和 fetch 请求的工具。它可以帮助开发者在开发过程中减少对真实接口的依赖,从而更高效地编写和测试代码。 主要功能包括: 1. 支持对使用 XMLHttpRequest 或 fetch 方法发起的接口请求进行 Mock。 2. 能根据 Swagger 2.0 文档自动生成 Mock 数据。 3. 支持修改请求头(Request Headers)。 4. 支持修改请求体(Request Body)。 5. 可对接口请求进行重定向处理。 6. 提供三种匹配模式:contains、equals 和 regexp,以满足不同的接口匹配需求。 7. 支持自定义返回状态和请求响应时间。 8. 支持配置数据的导入和导出。 9. 提供浅色和深色两种主题。 10. 支持中英文双语切换,依据浏览器语言环境自动显示对应语言。 11. 支持配置数据可转换为 TypeScript 类型定义。 This is a tool for mocking XMLHttpRequest and fetch requests. It helps developers reduce reliance on real APIs during development, enabling more efficient coding and testing. Key features include: 1. Support for mocking API requests made using XMLHttpRequest or fetch methods. 2. Automatic generation of mock data based on Swagger 2.0 documentation. 3. Ability to modify request headers (Request Headers). 4. Ability to modify request bodies (Request Body). 5. Support for redirecting API requests. 6. Offers three matching modes: contains, equals, and regexp, to meet different API matching needs. 7. Customization of return status and response time. 8. Support for importing and exporting configuration data. 9. Light and dark themes available. 10. Bilingual support for Chinese and English, with automatic language selection based on the browser's language settings. 11. Configuration data can be converted into TypeScript type definitions.

4.6 out of 5 16 ratings

Learn more about results and reviews.

Details

  • Version
    2.4.1
  • Updated
    January 30, 2026
  • Offered by
    xiangmingcsyr
  • Size
    507KiB
  • Languages
    中文(中国)
  • Developer
    Email
    xiangmingcsyr@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

Related

稀土掘金

3.5

为程序员、设计师、产品经理每日发现优质内容。

MockMan - mock APIs

4.1

Mocks api responses for AJAX (XHR) requests. (Postman for Frontend)

Requestly: Supercharge your Development & QA

4.5

Features: Intercept & Modify HTTPs Requests, API Mocking, GraphQL Mocking, Rest API Client, API Testing, Modify HTTP Headers, etc

Mokku

4.1

Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.

Apifox Browser Extension

3.5

API 文档、API 调试、API Mock、API 自动化测试

Mockiato — Free API Testing & Mocking Tool

4.8

Chrome extension to intercept requests, create real-time mocks, and auto-insert headers for web development & testing API.

tweak: mock and modify HTTP requests

4.6

Mock or modify your HTTP requests to test, develop and demo your web application

Ajax Interceptor Tools

4.4

Modify the response text of Ajax requests

ModResponse - Mock and replay API

4.5

Mock, modify, and replay API. Easy setup. No proxy needed. No code change required.

Parrot API mocking

5.0

Hassle-free mocking of xhr and fetch calls.

Ajax Modifier

4.6

To modify ajax responses on any page

MTDevTool

5.0

MTDevTool浏览器插件,自动泳道等能力、提供联调插件,接口出现问题时自动收集数据发送给后端(提升沟通效率),自动切换Mock数据(不依赖后端接口),并统计阻塞时间。 1.自动获取本人FSD进行中的项目泳道 2.泳道环境页面404时,自动访问主干 3.接口…

稀土掘金

3.5

为程序员、设计师、产品经理每日发现优质内容。

MockMan - mock APIs

4.1

Mocks api responses for AJAX (XHR) requests. (Postman for Frontend)

Requestly: Supercharge your Development & QA

4.5

Features: Intercept & Modify HTTPs Requests, API Mocking, GraphQL Mocking, Rest API Client, API Testing, Modify HTTP Headers, etc

Mokku

4.1

Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.

Apifox Browser Extension

3.5

API 文档、API 调试、API Mock、API 自动化测试

Mockiato — Free API Testing & Mocking Tool

4.8

Chrome extension to intercept requests, create real-time mocks, and auto-insert headers for web development & testing API.

tweak: mock and modify HTTP requests

4.6

Mock or modify your HTTP requests to test, develop and demo your web application

Ajax Interceptor Tools

4.4

Modify the response text of Ajax requests

Google apps
Create a Mobile Website
View Site in Mobile | Classic
Share by: