31 مستودعات
Tools that intercept network requests to simulate server responses or verify application behavior during testing.
Explore 31 awesome GitHub repositories matching testing & quality assurance · API Request Mocking. Refine with filters or upvote what's useful.
Playwright is a comprehensive browser automation framework designed for end-to-end testing and web workflow automation. It provides a unified API to drive web applications across multiple browser engines, enabling developers to simulate complex user interactions, perform web scraping, and validate application behavior in consistent, isolated environments. The framework distinguishes itself through a web-first testing paradigm that prioritizes stability and resilience. By utilizing an auto-waiting actionability engine and accessibility-tree-based locators, it eliminates common sources of test
Intercepts network requests to return custom responses, allowing for isolated testing without external network dependencies.
Laravel is a comprehensive full-stack web framework designed for building scalable server-side applications. It provides an integrated development environment that centers on an object-relational mapper for database abstraction, a robust routing system, and a sophisticated service container for dependency injection. The framework is built to handle complex application requirements through a modular architecture that emphasizes convention over configuration. What distinguishes Laravel is its deep integration of background processing and event-driven communication. It features a task queue orch
Simulates internal application requests to verify behavior and inspect responses without triggering actual network calls.
OkHttp is an HTTP client for the JVM and Android that enables network communication via synchronous and asynchronous requests. It provides a core identity as a comprehensive networking toolkit featuring a WebSocket client for bidirectional data synchronization, a TLS security toolkit for encrypted communication, and a programmable HTTP mock server for simulating backend responses. The project distinguishes itself through a specialized security and performance architecture. It implements mutual TLS, certificate pinning, and DNS over HTTPS to secure data in transit, while utilizing connection p
Directs incoming mock requests to specific responses based on custom logic like the request path.
AFNetworking is an Objective-C networking library for Apple platforms, including iOS, macOS, watchOS, and tvOS. It functions as an HTTP client that manages remote server communication by wrapping the system loading framework to handle requests and responses. The library provides specialized security and identity tools, featuring SSL certificate pinning for server trust validation and the implementation of standardized OAuth authentication flows. It further distinguishes itself with network reachability monitoring to track interface availability and request mocking capabilities to simulate ser
Intercepts outgoing network traffic to simulate server responses for comprehensive application testing.
DoraemonKit is a mobile frontend development toolset designed to optimize the lifecycle of web and hybrid mobile applications. It functions as a comprehensive suite of productivity tools, providing specialized utilities for mobile UI inspection, web view debugging, and on-device performance monitoring. The toolset distinguishes itself through several targeted simulation and interception capabilities. It includes a network traffic interceptor for mocking API responses without modifying source code, a device state simulator for overriding GPS coordinates, and a mobile web debugging bridge that
Intercepts network requests to simulate API responses without modifying application source code.
Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s
Allows programmatic server request simulation to verify route behavior without network connections.
MSW is a JavaScript API mocking library and integration testing tool designed to intercept network requests at the network level. It allows for the definition of mock data and status codes using routing syntax to simulate server responses without requiring changes to the application source code. The project utilizes a service worker to proxy API calls in the browser, providing a mechanism for isolated frontend development and testing. It employs platform-specific network adapters to maintain a consistent mocking interface across both browser and Node.js environments. The library covers a ran
Provides a mechanism to restrict request interception to specific closures to prevent global mock leakage.
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API
Replaces the fetch function with a custom implementation to return predefined responses without network calls.
Jasmine is a JavaScript testing framework and test runner designed for behavior-driven development. It provides a comprehensive toolset for writing and executing descriptive test suites that verify code behavior in both web browsers and Node.js environments. The framework is distinguished by its integrated mocking library, which allows for dependency isolation through spies and stubs, as well as the ability to simulate time and timing functions to test asynchronous logic synchronously. It also includes a mechanism to enforce test uniqueness, preventing duplicate names for tests and suites. I
Supports intercepting and stubbing HTTP client calls to isolate tests from external networks.
Moya is a network abstraction layer for Swift that provides a structured framework for defining and executing REST API requests. It functions as a type-safe API client that decouples network endpoint definitions from the underlying implementation details to prevent configuration errors and URL typos. The project distinguishes itself by using protocol-based endpoint definitions and a provider-coordinated execution model. It includes a system for mapping network responses to strongly typed objects and features a dedicated tool for generating type-safe network interface files from external REST
Simulates server responses for testing by intercepting requests and returning pre-defined mock data.
This project is a comprehensive Python network request framework designed for both synchronous and asynchronous HTTP communication. It provides a high-performance client capable of executing non-blocking requests within event-driven applications, while also supporting standard blocking calls for simpler scripts. The library is built to operate natively across diverse asynchronous runtimes, automatically detecting and utilizing the underlying event loop for concurrency. What distinguishes this library is its modular architecture, which decouples request construction from network execution thro
Intercepts outgoing network requests to return pre-defined responses for testing without performing actual network operations.
Proxypin is a cross-platform HTTP and HTTPS proxy debugger designed to capture, inspect, and modify network traffic. It functions as a man-in-the-middle interceptor, allowing developers to analyze application data flows and validate network communication during development and testing. The tool distinguishes itself through its focus on mobile and remote device integration, utilizing QR-code-based configuration synchronization to simplify the setup of proxy settings and security certificates. It includes an event-driven scripting engine that enables programmatic manipulation of requests and re
Modifies request headers and response bodies in real-time to test application behavior and simulate server conditions.
Nock is a Node.js HTTP mocking library used to intercept outgoing network requests and return predefined responses. It functions as a network request interceptor and HTTP mock server, allowing developers to simulate external API behavior for automated testing without making live network calls. The project includes an API fixture recorder to capture real network interactions and save them as reusable data files for playback. It also features a network latency simulator that introduces artificial delays to outgoing HTTP responses to verify timeout handling and race conditions. The library prov
Provides tools to intercept network requests and simulate server responses to mimic external API behavior.
nock is a Node.js HTTP mocking library and request interceptor. It captures outgoing network traffic to specific hosts and paths, returning predefined responses to decouple applications from external servers during automated testing. The project functions as an API expectation framework to verify that specific calls were made with correct parameters. It includes a traffic recorder that captures real network interactions as fixtures for playback and a network simulation tool to introduce artificial latency or trigger network errors. Its capabilities cover request matching via hostnames, paths
Intercepts network requests to simulate server responses and decouple code from external dependencies.
This project is a mobile-first web interface built with Vue 3 that replicates the layout and interaction patterns of a short-form video platform. It is designed as a responsive web application focused on high-performance mobile rendering and short-video workflows. The application features a vertical video carousel with infinite scrolling and a vertical-slide view orchestration system for seamless content playback. It employs a responsive layout using viewport-relative units to ensure consistent rendering across various mobile screen sizes and aspect ratios. The project incorporates Pinia for
Intercepts network requests to return local JSON data for backend simulation during development.
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
Provides an interception layer to return local JSON files instead of real API responses during development.
Sinon is a JavaScript test double library and mocking framework used to isolate code and verify behavior during unit testing. It provides a collection of spies, stubs, and mocks that replace real function implementations and object methods with controlled substitutes. The project includes a specialized fake timer library for overriding the system clock, allowing the simulation of time progression to trigger timeouts and intervals without waiting for real-time delays. It also features a test sandbox mechanism to group multiple fakes together, ensuring the original state is restored between tes
Mocks server responses and inspects outgoing requests by simulating a network environment.
pyTelegramBotAPI is a Python framework and API wrapper designed for building bots that interact with the Telegram Bot API. It provides a toolkit for managing bot lifecycles through both synchronous and asynchronous request patterns. The framework is distinguished by a routing system that uses custom filters and middleware pipelines to direct incoming updates to specific handlers. It includes a finite state machine manager to track user progress through multi-step conversations and a retry-based system to handle server-side rate limiting. The library covers a broad range of capabilities, incl
Allows replacing the HTTP client with a mock to simulate API responses during testing.
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
Intercepts network calls during testing to return predefined responses and eliminate external API dependencies.
هذا المشروع عبارة عن عميل PHP API و SDK لدمج خدمات OpenAI في تطبيقات PHP. يعمل كمكتبة تكامل وغلاف للتفاعل مع النماذج اللغوية الكبيرة لإنشاء نصوص، وصور، وصوت عبر استدعاءات REST API. توفر المكتبة تنسيقاً متخصصاً لمساعدي الذكاء الاصطناعي، وإدارة سلاسل المحادثات ومخازن المتجهات. كما تتضمن أدوات لضبط النموذج المخصص، وتنفيذ البحث الدلالي من خلال تضمينات النصوص، ومعالجة الصوت للنسخ والتركيب. يغطي سطح الإمكانات اعتدال المحتوى، وإدارة الملفات، والتعامل مع الدردشة وإكمال النصوص. ويدعم تسليم البيانات في الوقت الفعلي عبر بث أحداث مرسلة من الخادم، والمعالجة المجمعة غير المتزامنة، والتحقق من توقيعات webhook.
Simulates server behavior with a fake client to test application logic without sending network requests.