awesome-repositories.com
Blog
awesome-repositories.com

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

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

dreamhead/moco

0
View on GitHub↗
4,446 Stars·1,084 Forks·Java·MIT·2 Aufrufe

Moco

moco ist ein Multi-Protokoll-Mock-Server und programmierbarer API-Stub, der zur Simulation von HTTP-, REST-, WebSocket- und Server-Sent-Events-Endpunkten verwendet wird. Er ermöglicht die Erstellung gefälschter Backend-Dienste, um Entwicklung und Integrationstests zu erleichtern, ohne einen Live-Server zu benötigen.

Das Projekt zeichnet sich durch seine Fähigkeit aus, als Tool für die Wiedergabe von Netzwerkverkehr zu fungieren, indem es echte Request-Response-Paare über einen Proxy erfasst und lokal wiedergibt. Es unterstützt zudem bidirektionale Kommunikationssimulationen, einschließlich WebSocket-Server-Simulation und SSE-Stream-Simulation mit konfigurierbaren Übermittlungsverzögerungen.

Das Tool bietet eine breite Palette an Funktionen für Request-Matching und Response-Management, einschließlich attributbasiertem Filtern, strukturierter Datenvalidierung via JSONPath und XPath sowie hierarchischer Ressourcenmodellierung. Es unterstützt dynamische Inhaltsgenerierung durch Templates und sequentielle Response-Zustandsmaschinen und kann Netzwerkbedingungen mittels künstlicher Latenz simulieren.

Der Server kann als eigenständiger Dienst ausgeführt werden und wird primär über strukturierte JSON-Dateien konfiguriert.

Features

  • API Simulation and Mocking - Provides a comprehensive tool for simulating API responses across multiple protocols to replace external backend dependencies.
  • Programmable Response Logic - Implements programmable request matching and response logic via JSON configurations or custom code.
  • JSON-Driven Configurations - Uses JSON files to define server behavior, request matching, and response payloads.
  • REST API Mock Servers - Simulates RESTful endpoints by mapping resource paths and HTTP methods to predefined responses.
  • WebSocket Clients and Servers - Simulates a WebSocket server that provides bidirectional communication and responses based on request content.
  • Request Matching Engines - Matches incoming requests against defined patterns based on headers, bodies, and parameters to select responses.
  • Server-Sent Events - Implements a Server-Sent Events simulator that streams multiple events to clients with configurable delivery delays.
  • API Integration Testing - Facilitates automated verification of how systems handle various API responses and sequential workflows.
  • HTTP Mock Servers - Executes a standalone HTTP or HTTPS server that serves predefined mock responses from configuration files.
  • Mock Behavior Configuration - Defines server behavior and response payloads using structured JSON files instead of hard-coded logic.
  • Programmatic Response Generation - Generates responses programmatically based on incoming request details instead of using static payloads.
  • Multi-Protocol Dispatchers - Routes incoming traffic across HTTP, WebSocket, and Server-Sent Events using a unified handling mechanism.
  • Frontend-Driven Development - Enables an iterative frontend development workflow by providing simulated backend responses and network latency.
  • Multi-Protocol Servers - Handles requests and responses across multiple diverse protocols including HTTP, REST, WebSocket, and Server-Sent Events.
  • Resource Hierarchy Models - Maps nested URI segments to specific resource entities and their associated response sets.
  • Structural Data Validators - Validates request bodies against XML or JSON structures using XPath and JSONPath to ensure correct request matching.
  • Proxy Traffic Captures - Acts as a proxy to capture remote server traffic and record it for future local simulation.
  • API Request Filters - Filters incoming requests based on URI, method, parameters, headers, cookies, or body content to match specific stubs.
  • Request Proxying - Forwards requests to a remote server and records responses for local offline playback.
  • Sequential Response Queues - Returns a predefined sequence of different responses for the same request to simulate server state transitions.
  • Network Traffic Replay Tools - Captures real request-response pairs via a proxy and replays them locally for offline debugging.
  • SSE Stream Simulators - Simulates SSE endpoints that stream multiple events to clients with configurable delivery delays.
  • Hierarchical Resource Routes - Creates sub-resources using nested URI paths to represent complex entity relationships in a mock API.
  • Network Latency Simulators - Introduces configurable artificial delays before sending responses to simulate slow network conditions.
  • WebSocket Mocking Tools - Provides a simulator for bidirectional WebSocket communication, including connection messages and event-driven responses.
  • Traffic Recorders - Captures live HTTP request-response pairs to generate local mock definitions and replay traffic.
  • Response Templating - Uses templates with variables, random numbers, and timestamps to inject dynamic content into mock responses.
  • Test-Frameworks - Concise web services for stubs and mocks.

Star-Verlauf

Star-Verlauf für dreamhead/mocoStar-Verlauf für dreamhead/moco

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht dreamhead/moco?

moco ist ein Multi-Protokoll-Mock-Server und programmierbarer API-Stub, der zur Simulation von HTTP-, REST-, WebSocket- und Server-Sent-Events-Endpunkten verwendet wird. Er ermöglicht die Erstellung gefälschter Backend-Dienste, um Entwicklung und Integrationstests zu erleichtern, ohne einen Live-Server zu benötigen.

Was sind die Hauptfunktionen von dreamhead/moco?

Die Hauptfunktionen von dreamhead/moco sind: API Simulation and Mocking, Programmable Response Logic, JSON-Driven Configurations, REST API Mock Servers, WebSocket Clients and Servers, Request Matching Engines, Server-Sent Events, API Integration Testing.

Welche Open-Source-Alternativen gibt es zu dreamhead/moco?

Open-Source-Alternativen zu dreamhead/moco sind unter anderem: mock-server/mockserver-monorepo — This project is a multi-protocol API simulation and mocking system designed to replace external dependencies during… getsentry/responses — Responses is a Python mocking library designed to intercept outgoing HTTP calls made with the Requests library to… alisoftware/ohhttpstubs — OHHTTPStubs is an HTTP network mocking library and request interceptor used to simulate server responses for testing… pgte/nock — Nock is a Node.js HTTP mocking library used to intercept outgoing network requests and return predefined responses. It… requestly/requestly. wiremock/wiremock — WireMock is a suite of tools for service virtualization, providing mock servers for HTTP APIs and WebSocket…

Open-Source-Alternativen zu Moco

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Moco.
  • mock-server/mockserver-monorepoM

    mock-server/mockserver-monorepo

    4,897Auf GitHub ansehen↗

    This project is a multi-protocol API simulation and mocking system designed to replace external dependencies during development and testing. It provides an API mocking server, a network traffic proxy, and specialized simulators for language model services and identity providers. The system distinguishes itself through deep AI simulation capabilities, including the emulation of language model providers and Model Context Protocol servers using JSON-RPC 2.0. It supports multi-turn conversational logic, state tracking for AI chat APIs, and the visualization of agent execution through call graphs

    Java
    Auf GitHub ansehen↗4,897
  • getsentry/responsesAvatar von getsentry

    getsentry/responses

    4,350Auf GitHub ansehen↗

    Responses is a Python mocking library designed to intercept outgoing HTTP calls made with the Requests library to return predefined simulated responses. It functions as a request verification framework and a network simulation tool, allowing for the verification of application behavior against various API response patterns without making real network calls. The project distinguishes itself through a traffic recorder that captures real network interactions and saves them to files for deterministic replay. It further enables the simulation of complex network scenarios, including the triggering

    Pythontag-production
    Auf GitHub ansehen↗4,350
  • alisoftware/ohhttpstubsAvatar von AliSoftware

    AliSoftware/OHHTTPStubs

    5,068Auf GitHub ansehen↗

    OHHTTPStubs is an HTTP network mocking library and request interceptor used to simulate server responses for testing application behavior without a live backend. It functions as a network request stubbing tool that captures outgoing network calls and replaces them with predefined mock data, custom status codes, and headers. The library distinguishes itself through its ability to simulate a wide range of network conditions, including artificial latency and connection failures. It supports dynamic response sequencing, allowing the tool to return a series of different responses for the same requ

    Objective-Ciosmockmock-server
    Auf GitHub ansehen↗5,068
  • pgte/nockAvatar von pgte

    pgte/nock

    13,108Auf GitHub ansehen↗

    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

    JavaScript
    Auf GitHub ansehen↗13,108
Alle 30 Alternativen zu Moco anzeigen→