awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

16 Repos

Awesome GitHub RepositoriesLocal API Response Mocking

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.

Awesome Local API Response Mocking GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • vuecomponent/ant-design-vue-proAvatar von vueComponent

    vueComponent/ant-design-vue-pro

    10,937Auf GitHub ansehen↗

    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.

    Vueadminant-designantd
    Auf GitHub ansehen↗10,937
  • kaina404/flutterdoubanAvatar von kaina404

    kaina404/FlutterDouBan

    9,103Auf GitHub ansehen↗

    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.

    Dartandroiddartflutter
    Auf GitHub ansehen↗9,103
  • proxymanapp/proxymanAvatar von ProxymanApp

    ProxymanApp/Proxyman

    6,858Auf GitHub ansehen↗

    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.

    debugging-tooliosmacos
    Auf GitHub ansehen↗6,858
  • alexreisner/geocoderAvatar von alexreisner

    alexreisner/geocoder

    6,446Auf GitHub ansehen↗

    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.

    Ruby
    Auf GitHub ansehen↗6,446
  • requestly/requestlyAvatar von requestly

    requestly/requestly

    6,341Auf GitHub ansehen↗

    Intercepts outgoing API calls and returns predefined responses from local storage, eliminating the need for a live server.

    TypeScriptapiapi-clientapi-mock
    Auf GitHub ansehen↗6,341
  • orval-labs/orvalAvatar von orval-labs

    orval-labs/orval

    6,145Auf GitHub ansehen↗

    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.

    TypeScript
    Auf GitHub ansehen↗6,145
  • miragejs/miragejsAvatar von miragejs

    miragejs/miragejs

    5,527Auf GitHub ansehen↗

    Mirage JS ist ein browserbasierter Mock-Server und Client-seitiger API-Simulator für die Entwicklung von JavaScript-Anwendungen. Es fungiert als Mocking-Tool, das Netzwerkanfragen abfängt, um das Verhalten von Backend-APIs zu simulieren, wodurch Entwickler Frontend-Interfaces erstellen und testen können, ohne eine Live-Backend-Infrastruktur zu benötigen. Das Tool bietet eine Simulationsschicht, die REST-Endpunkte nachahmt, um das schnelle Prototyping von Nutzerflüssen und Anwendungslogik zu erleichtern. Es ermöglicht die Erstellung gefälschter Serverantworten direkt im Webbrowser, um zu verifizieren, wie eine Anwendung mit verschiedenen Datenszenarien und Fehlern umgeht. Das System integriert eine Middleware zum Abfangen von Anfragen und dynamisches Route-Matching, um ausgehende Aufrufe an programmierbare Mock-Handler umzuleiten. Es unterstützt die Entwicklung zudem durch einen In-Memory-Datenspeicher zur Simulation von serverseitiger Persistenz und schema-basiertes Data-Seeding zur Generierung von Mock-Datensätzen.

    Allows the definition of custom JavaScript functions to process requests and return tailored responses based on input.

    JavaScript
    Auf GitHub ansehen↗5,527
  • elastic/elasticsearch-phpAvatar von elastic

    elastic/elasticsearch-php

    5,337Auf GitHub ansehen↗

    Dieses Projekt ist ein Software Development Kit (SDK) und Cluster-Management-Tool für PHP. Es dient als SDK für Volltextsuche und Vektor-Suchschnittstelle, wodurch Anwendungen lexikalische, Fuzzy- und semantische Suchen auf indizierten Daten durchführen können. Die Bibliothek implementiert einen PSR-7-HTTP-Client, um die Kompatibilität zwischen verschiedenen Umgebungen durch standardisierte Messaging-Schnittstellen zu gewährleisten. Sie bietet eine spezialisierte Schnittstelle zum Abrufen von Embeddings und zur Durchführung semantischer Retrieval-Workflows unter Verwendung von Vektordaten. Der Funktionsumfang deckt eine breite Palette administrativer und operativer Aufgaben ab, einschließlich der Verwaltung von Suchindizes, der Überwachung des Cluster-Status und der Verwaltung von Dokumentlebenszyklen. Es unterstützt diverse Abfragemethoden wie SQL, EQL und ES|QL sowie Datenaggregation und Geodatenanalyse. Zusätzlich bietet es Tools für Machine-Learning-Orchestrierung, Anomalieerkennung sowie Identitäts- und Zugriffsmanagement.

    Enables replacing the live HTTP client with a mock implementation to simulate server responses.

    PHP
    Auf GitHub ansehen↗5,337
  • rmurphey/js-assessmentAvatar von rmurphey

    rmurphey/js-assessment

    5,146Auf GitHub ansehen↗

    js-assessment ist ein technisches JavaScript-Assessment-Framework und Code-Qualitäts-Evaluator. Es bietet eine Test-Driven-Umgebung zur Bewertung von Programmierkenntnissen, indem Kandidaten aufgefordert werden, Logik zu implementieren, die eine Reihe fehlschlagender Testfälle auflöst. Das System enthält eine Mock-API-Testumgebung, die externe Datenquellen durch Laden lokaler JSON-Dateien via Netzwerkanfragen simuliert. Dies ermöglicht die Validierung, wie Code während des Assessment-Prozesses mit API-Daten umgeht. Das Framework deckt die Überprüfung der Codequalität durch automatisierte Linting-Skripte und die Bewertung technischer Fähigkeiten via skriptgesteuertem Validierungsprozess ab. Es organisiert Herausforderungen in modulare Übungen, bei denen jeder Testfall ein spezifisches Stück Logik validiert.

    Simulates external API responses by returning predefined data from local JSON files.

    JavaScript
    Auf GitHub ansehen↗5,146
  • mock-server/mockserverAvatar von mock-server

    mock-server/mockserver

    4,900Auf GitHub ansehen↗

    Mockserver ist ein Multi-Protokoll-Mock-Server und API-Verifizierungs-Proxy, der dazu verwendet wird, HTTP-, gRPC- und WebSocket-Endpunkte zu simulieren. Er fungiert als Tool zum Testen von Client-Anwendungen, ohne sich auf Live-Backend-Dienste verlassen zu müssen, und bietet ein System zur Simulation von Chat-Vervollständigungen und Streaming-Antworten für Integrationen großer Sprachmodelle. Das Projekt automatisiert das Verhalten durch die Generierung von Request-Erwartungen und Antwortverhalten aus OpenAPI- und Swagger-Spezifikationsdateien. Es zeichnet sich durch einen Netzwerktraffic-Simulator aus, der Latenz, Verbindungsabbrüche und Fehler einführt, um zu verifizieren, wie Anwendungen mit instabilen Netzwerkabhängigkeiten umgehen. Die Plattform deckt API-Vertragstests und Request-Muster-Verifizierung ab und verwendet eine Matching-Engine, um eingehende Requests auf vordefinierte Antworten abzubilden. Sie enthält zudem Fähigkeiten für Live-Traffic-Monitoring, Aufzeichnung und Modifikation, um Datenflüsse zu analysieren oder Traffic für Debugging-Zwecke zu replizieren.

    Generates flexible, dynamic responses using scripts and templates to avoid static values during testing.

    Java
    Auf GitHub ansehen↗4,900
  • tmenier/flurlAvatar von tmenier

    tmenier/Flurl

    4,403Auf GitHub ansehen↗

    Flurl is a .NET fluent URL builder and HTTP client wrapper designed for constructing complex web addresses and sending requests with a chainable interface. It functions as a URL manipulation library and an HTTP mocking framework to facilitate network interaction and testing. The project distinguishes itself through a fluent interface that allows for the incremental construction of paths, query parameters, and fragments. It provides a dedicated mocking system to intercept outgoing network traffic and return predefined responses, enabling isolated unit testing without a live server. Its broade

    Includes a dedicated mocking framework that intercepts outgoing network traffic to return predefined responses for isolated testing.

    C#c-sharpdotnethttp
    Auf GitHub ansehen↗4,403
  • bblimke/webmockAvatar von bblimke

    bblimke/webmock

    4,050Auf GitHub ansehen↗

    WebMock ist eine Ruby-Bibliothek für HTTP-Request-Stubbing, Antwort-Simulation und Netzwerk-Interzeption. Sie dient als Test-Assertion-Framework zur Verifizierung ausgehenden HTTP-Verkehrs und als Netzwerk-Interzeptionsschicht, die externe Verbindungen blockiert, um versehentliche Anfragen während des Testens zu verhindern. Das Projekt bietet Funktionen für die dynamische Antwortgenerierung und die Sequenzierung verschiedener Rückgabewerte für wiederholte Anfragen an denselben Endpunkt. Es unterstützt die Simulation von Netzwerkfehlern, wie Timeouts oder Exceptions, und ermöglicht das Replay von Antworten mithilfe von rohen HTTP-Daten, die aus lokalen Dateien geladen werden. Die Bibliothek deckt ein breites Spektrum an API-Simulations- und Netzwerkkontrollfunktionen ab, einschließlich Request-Matching basierend auf URIs und Headern, Aufzeichnung von Request-Signaturen und Filterung ausgehenden Datenverkehrs. Sie enthält zudem Monitoring-Utilities, um Netzwerkereignisse über benutzerdefinierte Callbacks abzufangen und zu protokollieren.

    Enables the configuration of custom status codes, headers, and bodies to override default mock responses.

    Ruby
    Auf GitHub ansehen↗4,050
  • zclzone/vue-naive-adminAvatar von zclzone

    zclzone/vue-naive-admin

    3,976Auf GitHub ansehen↗

    vue-naive-admin ist eine leichtgewichtige Vorlage für ein Administrations-Dashboard, die mit Vue 3, Vite und Naive UI erstellt wurde. Sie bietet ein vorkonfiguriertes Fundament für die Entwicklung von Enterprise-Management-Interfaces und kombiniert eine UI-Komponentensuite mit einer Frontend-Architektur, die auf schnelle Bereitstellung ausgelegt ist. Das Projekt zeichnet sich durch die Verwendung von UnoCSS für Utility-First-Atomic-Styling und ein rollenbasiertes Zugriffskontrollsystem aus, das Anwendungsrouten dynamisch basierend auf Benutzerberechtigungen generiert. Es standardisiert zudem das Datenmanagement durch gekapselte CRUD-Komponenten und bietet wiederverwendbare Tabellen- und Modal-Wrapper, um eine konsistente Benutzererfahrung zu gewährleisten. Das System deckt Identität und Sicherheit durch Benutzerauthentifizierung und Sitzungspersistenz-Management ab, neben Zustandsmanagement und clientseitiger Datenpersistenz. Es enthält zudem Werkzeuge für die API-Integration, wie z. B. HTTP-Request-Management und einen konfigurierbaren Mock-Service zur Simulation von Backend-Antworten während der Entwicklung. Die Multi-Environment-Konfiguration ermöglicht es dem Projekt, Einstellungen zwischen Entwicklungs-, Test-, Pre-Release- und Produktionsphasen umzuschalten.

    Provides a configurable mock service to simulate backend API responses during development.

    Vue
    Auf GitHub ansehen↗3,976
  • langroid/langroidAvatar von langroid

    langroid/langroid

    3,894Auf GitHub ansehen↗

    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.

    Pythonagentsaichatgpt
    Auf GitHub ansehen↗3,894
  • umijs/dumiAvatar von umijs

    umijs/dumi

    3,796Auf GitHub ansehen↗

    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.

    JavaScriptdocs-generatorlibrary-developmentstatic-site-generator
    Auf GitHub ansehen↗3,796
  • openai-php/laravelAvatar von openai-php

    openai-php/laravel

    3,732Auf GitHub ansehen↗

    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.

    PHP
    Auf GitHub ansehen↗3,732
  1. Home
  2. Testing & Quality Assurance
  3. General Testing Utilities
  4. Test Utilities & Assertions
  5. Network and API Mocking
  6. API Response Modifiers
  7. Local API Response Mocking

Unter-Tags erkunden

  • Custom Mock Response OverridesAccepts static data or dynamic functions per handler to override default mock responses for specific test scenarios. **Distinct from Local API Response Mocking:** Distinct from Local API Response Mocking: focuses on per-handler overrides with static data or dynamic functions, not on returning static responses from local storage.
  • Scripted Mock Responses1 Sub-TagConfiguring scripts to return predefined responses, acting as a mock server for development. **Distinct from Local API Response Mocking:** Distinct from Local API Response Mocking: uses script logic to generate responses, not static files from local storage.