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 هو خادم وهمي يعتمد على المتصفح ومحاكي API من جانب العميل مصمم لتطوير تطبيقات JavaScript. يعمل كأداة محاكاة تعترض طلبات الشبكة لمحاكاة سلوك الـ API الخلفي، مما يسمح للمطورين ببناء واجهات أمامية واختبارها دون الحاجة إلى بنية تحتية خلفية حية. توفر الأداة طبقة محاكاة تحاكي نقاط نهاية REST لتسهيل النماذج الأولية السريعة لسير عمل المستخدم ومنطق التطبيق. تتيح إنشاء استجابات خادم وهمية مباشرة داخل متصفح الويب للتحقق من كيفية تعامل التطبيق مع سيناريوهات البيانات والأخطاء المختلفة. يدمج النظام وسيطاً لاعتراض الطلبات ومطابقة مسارات ديناميكية لإعادة توجيه المكالمات الصادرة إلى معالجات وهمية قابلة للبرمجة. كما يدعم التطوير من خلال مخزن بيانات في الذاكرة لمحاكاة الاستمرارية من جانب الخادم وبذر البيانات القائم على المخطط لإنشاء مجموعات بيانات وهمية.
Allows the definition of custom JavaScript functions to process requests and return tailored responses based on input.
هذا المشروع عبارة عن مجموعة أدوات تطوير برمجيات (SDK) وأداة لإدارة العناقيد (clusters) مخصصة لـ PHP. يعمل كـ SDK للبحث بالنص الكامل وواجهة للبحث المتجهي (vector search)، مما يتيح للتطبيقات إجراء عمليات بحث معجمية، وتقريبية، ودلالية على البيانات المفهرسة. تطبق المكتبة عميل HTTP متوافق مع معيار PSR 7 لضمان التوافق عبر بيئات مختلفة من خلال واجهات مراسلة موحدة. كما توفر واجهة متخصصة لاسترجاع التضمينات (embeddings) وتنفيذ مهام الاسترجاع الدلالي باستخدام البيانات المتجهية. تغطي قدرات المشروع مجموعة واسعة من المهام الإدارية والتشغيلية، بما في ذلك إدارة فهارس البحث، ومراقبة صحة العناقيد، وعمليات دورة حياة المستندات. ويدعم المشروع طرق استعلام متنوعة مثل SQL وEQL وES|QL، إلى جانب تجميع البيانات والتحليل الجغرافي المكاني. بالإضافة إلى ذلك، يوفر أدوات لتنسيق تعلم الآلة، واكتشاف الشذوذ، وإدارة الهوية والوصول.
Enables replacing the live HTTP client with a mock implementation to simulate server responses.
js-assessment هو إطار عمل للتقييم التقني لـ JavaScript ومقيم لجودة الكود. يوفر بيئة قائمة على الاختبار لتقييم مهارات البرمجة من خلال مطالبة المرشحين بتنفيذ منطق يحل مجموعة من حالات الاختبار الفاشلة. يتضمن النظام بيئة اختبار API وهمية تحاكي مصادر البيانات الخارجية عن طريق تحميل ملفات JSON محلية عبر طلبات الشبكة. يسمح هذا بالتحقق من كيفية تعامل الكود مع بيانات API أثناء عملية التقييم. يغطي إطار العمل التحقق من جودة الكود من خلال سكربتات التنسيق التلقائي وتقييم المهارات التقنية من خلال عملية تحقق مدفوعة بالسكربت. ينظم التحديات في تمارين معيارية حيث تتحقق كل حالة اختبار من جزء معين من المنطق.
Simulates external API responses by returning predefined data from local JSON files.
Mockserver is a multi-protocol mock server and API verification proxy used to simulate HTTP, gRPC, and WebSocket endpoints. It functions as a tool for testing client applications without relying on live backend services, providing a system to simulate chat completions and streaming responses for large language model integrations. The project automates behavior by generating request expectations and response behaviors from OpenAPI and Swagger specification files. It differentiates itself through a network traffic simulator that introduces latency, dropped connections, and failures to verify ho
Generates flexible, dynamic responses using scripts and templates to avoid static values during testing.
Flurl هو أداة بناء روابط (URL) بأسلوب fluent وواجهة لعميل HTTP في .NET، مصمم لإنشاء عناوين ويب معقدة وإرسال طلبات عبر واجهة متسلسلة. يعمل كمكتبة لمعالجة الروابط وإطار عمل لمحاكاة HTTP لتسهيل التفاعل مع الشبكة والاختبار. يتميز المشروع بواجهة fluent تسمح بالبناء التزايدي للمسارات، ومعلمات الاستعلام، والأجزاء. يوفر نظام محاكاة مخصص لاعتراض حركة مرور الشبكة الصادرة وإرجاع استجابات محددة مسبقاً، مما يتيح إجراء اختبارات الوحدة المعزولة دون الحاجة إلى خادم مباشر. تشمل إمكانياته الأوسع استهلاك REST API، وإدارة مصادقة الطلبات عبر بيانات الاعتماد الأساسية أو رموز Bearer، ومحاكاة سلوك المتصفح عبر ملفات تعريف الارتباط للجلسة ونماذج HTML. تغطي المكتبة أيضاً تحليل الروابط، والتحقق من صحتها، وترميز المكونات، إلى جانب تنفيذ الطلبات غير المتزامنة وإلغاء تسلسل استجابات JSON.
Includes a dedicated mocking framework that intercepts outgoing network traffic to return predefined responses for isolated testing.
WebMock is a Ruby library for HTTP request stubbing, response simulation, and network interception. It serves as a test assertion framework for verifying outgoing HTTP traffic and a network interception layer that blocks external connections to prevent accidental requests during testing. The project provides capabilities for dynamic response generation and the sequencing of different return values for repeated requests to the same endpoint. It supports simulating network failures, such as timeouts or exceptions, and allows for response replays using raw HTTP data loaded from local files. The
Enables the configuration of custom status codes, headers, and bodies to override default mock responses.
vue-naive-admin هو قالب لوحة تحكم إدارية خفيف الوزن تم بناؤه باستخدام Vue 3 و Vite و Naive UI. يوفر أساساً مهيأ مسبقاً لتطوير واجهات إدارة المؤسسات، ويجمع بين مجموعة مكونات واجهة المستخدم ومعمارية واجهة أمامية مصممة للنشر السريع. يتميز المشروع باستخدام UnoCSS للتصميم الذري القائم على الأدوات ونظام تحكم في الوصول قائم على الأدوار يقوم بإنشاء مسارات التطبيق ديناميكياً بناءً على أذونات المستخدم. كما يعمل على توحيد إدارة البيانات من خلال مكونات CRUD مغلفة، مما يوفر أغلفة جداول ونوافذ منبثقة قابلة لإعادة الاستخدام لضمان تجربة مستخدم متسقة. يغطي النظام الهوية والأمان من خلال مصادقة المستخدم وإدارة استمرارية الجلسة، إلى جانب إدارة الحالة واستمرارية البيانات من جانب العميل. كما يتضمن أدوات لتكامل API، مثل إدارة طلبات HTTP وخدمة وهمية قابلة للتكوين لمحاكاة استجابات الخلفية أثناء التطوير. يسمح التكوين متعدد البيئات للمشروع بتبديل الإعدادات بين مراحل التطوير والاختبار وما قبل الإصدار والإنتاج.
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.