16 个仓库
Intercepts outgoing API calls and returns a predefined response from local storage, eliminating the need for a live server.
Distinct from API Response Modifiers: Distinct from API Response Modifiers: focuses on returning static responses from local storage rather than dynamically modifying responses during testing.
Explore 16 awesome GitHub repositories matching testing & quality assurance · Local API Response Mocking. Refine with filters or upvote what's useful.
This project is an enterprise-grade admin dashboard boilerplate and starter kit built on Ant Design Vue. It provides a complete administrative interface with pre-designed pages, navigation patterns, and a professional design system to accelerate the development of business applications. The toolkit features a centralized visual theme configuration system for modifying style variables to meet specific brand requirements. It also includes a multi-language interface system for internationalization and a dedicated development kit for mocking API data using local JSON files. The scaffolding cover
Simulates backend API responses using local storage to test application behavior without a live server.
FlutterDouBan is a cross-platform social media client and media community application built with Flutter. It serves as a mobile interface for discovering and tracking books, movies, and music while providing access to community feeds and user profiles. The project functions as an integration sample that demonstrates how to fetch and display live platform data from external APIs. It includes a simulation layer to interchange live network calls with local mock data for development and testing. The application covers a broad capability surface, including media catalog interfaces, community foru
Provides a local API response mocking layer to simulate network calls and develop features without a live backend.
Proxyman is a cross-platform HTTP debugging proxy that captures, inspects, and modifies HTTP, HTTPS, and WebSocket traffic. It functions as a man-in-the-middle proxy, decrypting SSL/TLS traffic to allow real-time inspection and modification of encrypted requests and responses. The tool is designed for debugging web and mobile applications, with capabilities for API mocking and simulation, scriptable traffic modification, and team collaboration on network logs. What distinguishes Proxyman is its deep integration with mobile and cross-platform development workflows. It provides automated certif
Configures scripts to return predefined responses, acting as a mock server for development.
This is a Ruby toolkit for converting addresses to geographic coordinates and performing reverse geocoding via multiple external API providers. It provides a library for integrating location services into Ruby applications, including an IP geolocation tool to translate IP addresses into coordinates, city names, and country data. The project includes a command line interface for bulk geocoding of database records with integrated rate limiting and a geospatial query engine for calculating distances and performing radius or bounding box searches. It also features a mocking framework that provide
Returns predefined responses for geocoding requests to eliminate external network dependencies during development.
Intercepts outgoing API calls and returns predefined responses from local storage, eliminating the need for a live server.
Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati
Accepts static data or dynamic functions per handler to override default mock responses for specific test scenarios.
Mirage JS is a browser-based mock server and client-side API simulator designed for JavaScript application development. It functions as a mocking tool that intercepts network requests to simulate backend API behavior, allowing developers to build and test frontend interfaces without requiring live backend infrastructure. The tool provides a simulation layer that mimics REST endpoints to facilitate rapid prototyping of user flows and application logic. It enables the creation of fake server responses directly within the web browser to verify how an application handles various data scenarios an
Allows the definition of custom JavaScript functions to process requests and return tailored responses based on input.
该项目是 PHP 的软件开发工具包和集群管理工具。它作为一个全文搜索 SDK 和向量搜索接口,使应用程序能够对索引数据执行词法、模糊和语义搜索。 该库实现了 PSR 7 HTTP 客户端,通过标准化的消息接口确保跨环境兼容性。它提供了一个专门的接口,用于检索嵌入向量并使用向量数据执行语义检索工作流。 其功能涵盖了广泛的行政和操作任务,包括搜索索引管理、集群健康监控和文档生命周期操作。它支持多种查询方法,如 SQL、EQL 和 ES|QL,以及数据聚合和地理空间分析。此外,它还提供用于机器学习编排、异常检测以及身份和访问管理的工具。
Enables replacing the live HTTP client with a mock implementation to simulate server responses.
js-assessment 是一个 JavaScript 技术评估框架和代码质量评估器。它提供了一个测试驱动的环境,通过要求候选人实现解决一组失败测试用例的逻辑来评估编程技能。 该系统包括一个模拟 API 测试环境,通过网络请求加载本地 JSON 文件来模拟外部数据源。这允许在评估过程中验证代码如何处理 API 数据。 该框架通过自动化 Linting 脚本进行代码质量验证,并通过脚本驱动的验证过程进行技术技能评估。它将挑战组织成模块化练习,其中每个测试用例验证一段特定的逻辑。
Simulates external API responses by returning predefined data from local JSON files.
Mockserver 是一个多协议 Mock 服务器和 API 验证代理,用于模拟 HTTP、gRPC 和 WebSocket 端点。它作为一种测试客户端应用的工具,无需依赖实时后端服务,并提供了一个用于模拟聊天补全和流式响应的系统,以支持大语言模型集成。 该项目通过从 OpenAPI 和 Swagger 规范文件生成请求预期和响应行为来自动化测试流程。其特色在于一个网络流量模拟器,可引入延迟、连接中断和故障,以验证应用如何处理不稳定的网络依赖。 该平台涵盖 API 契约测试和请求模式验证,使用匹配引擎将传入请求映射到预定义响应。它还包括实时流量监控、记录和修改功能,以便分析数据流或重放流量进行调试。
Generates flexible, dynamic responses using scripts and templates to avoid static values during testing.
Flurl 是一个 .NET 流式 URL 构建器和 HTTP 客户端包装器,专为构建复杂的 Web 地址并使用链式接口发送请求而设计。它作为一个 URL 操作库和 HTTP 模拟框架,旨在促进网络交互和测试。 该项目通过流式接口脱颖而出,允许增量构建路径、查询参数和片段。它提供了一个专门的模拟系统来拦截输出的网络流量并返回预定义的响应,从而在无需实时服务器的情况下实现隔离的单元测试。 其更广泛的能力包括 REST API 消费、通过基本凭据或 Bearer 令牌管理请求身份验证,以及通过会话 Cookie 和 HTML 表单提交模拟浏览器行为。该库还涵盖了 URL 解析、验证和组件编码,以及异步请求执行和 JSON 响应反序列化。
Includes a dedicated mocking framework that intercepts outgoing network traffic to return predefined responses for isolated testing.
WebMock 是一个用于 HTTP 请求存根、响应模拟和网络拦截的 Ruby 库。它既是一个用于验证传出 HTTP 流量的测试断言框架,也是一个网络拦截层,可阻止外部连接以防止测试期间发生意外请求。 该项目提供了动态响应生成以及为同一端点的重复请求排序不同返回值的功能。它支持模拟网络故障(如超时或异常),并允许使用从本地文件加载的原始 HTTP 数据进行响应重放。 该库涵盖了广泛的 API 模拟和网络控制功能,包括基于 URI 和标头的请求匹配、请求签名记录以及出站流量过滤。它还包括通过自定义回调拦截和记录网络事件的监控实用程序。
Enables the configuration of custom status codes, headers, and bodies to override default mock responses.
vue-naive-admin 是一个轻量级的管理仪表板模板和样板,基于 Vue 3、Vite 和 Naive UI 构建。它为开发企业管理界面提供了一个预配置的基础,结合了 UI 组件套件和旨在快速部署的前端架构。 该项目因使用 UnoCSS 进行原子化样式设计以及基于角色的访问控制系统而脱颖而出,该系统可根据用户权限动态生成应用程序路由。它通过封装的 CRUD 组件进一步标准化了数据管理,提供可重用的表格和模态框包装器,以确保一致的用户体验。 该系统通过用户身份验证和会话持久化管理来涵盖身份与安全,同时支持状态管理和客户端数据持久化。它还包含 API 集成工具,例如 HTTP 请求管理和用于在开发期间模拟后端响应的可配置 Mock 服务。 多环境配置允许项目在开发、测试、预发布和生产阶段之间切换设置。
Provides a configurable mock service to simulate backend API responses during development.
Langroid is a multi-agent orchestration framework and tool integration suite designed for building complex AI applications. It serves as a multi-modal integration layer that connects diverse local and remote language models with an agentic retrieval-augmented generation system. The project distinguishes itself through a collaborative message-exchange paradigm, allowing specialized agents to delegate tasks hierarchically and coordinate via structured communication. It features an advanced state management system for conversational AI, including the ability to rewind and prune conversation hist
Supports mocking language model responses with predefined answers to reduce API costs and latency during development.
dumi is a static site generator and markdown-based documentation tool specifically designed for software component libraries. It transforms markdown files and source code into structured technical guides and API references. The project distinguishes itself by providing an interactive component playground that renders live, runnable code demos directly in the browser. It includes an automated API reference generator that parses source code to create documentation tables and property descriptions. Additionally, it supports a monorepo documentation workflow with source mapping and hot module rep
Simulates API responses by loading local data files into the environment to accelerate testing and demos.
This is an OpenAI API Laravel client and LLM integration library designed to connect PHP applications to large language models. It enables the integration of AI capabilities for text generation, image processing, and data automation within a Laravel environment. The package includes an API mocking framework that allows developers to simulate network responses and verify application behavior without making live requests to OpenAI services. The integration is managed through service providers and configuration files, offering a facade-based static proxy and dependency injection for the API cli
Intercepts outgoing API calls and returns predefined response objects to eliminate the need for live server requests.