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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dreamhead avatar

dreamhead/moco

0
View on GitHub↗
4,446 estrellas·1,084 forks·Java·MIT·3 vistas

Moco

moco es un servidor mock multiprotocolo y stub de API programable utilizado para simular endpoints HTTP, REST, WebSocket y Server-Sent Events. Permite la creación de servicios backend falsos para facilitar el desarrollo y las pruebas de integración sin necesidad de un servidor en vivo.

El proyecto se distingue por su capacidad para actuar como una herramienta de reproducción de tráfico de red, capturando pares reales de petición-respuesta mediante un proxy y reproduciéndolos localmente. También admite simulaciones de comunicación bidireccional, incluyendo simulación de servidor WebSocket y simulación de flujo SSE con retrasos de entrega configurables.

La herramienta proporciona un amplio conjunto de capacidades para la coincidencia de peticiones y la gestión de respuestas, incluyendo filtrado basado en atributos, validación de datos estructurados mediante JSONPath y XPath, y modelado jerárquico de recursos. Admite la generación dinámica de contenido mediante plantillas y máquinas de estado de respuesta secuencial, y puede simular condiciones de red utilizando latencia artificial.

El servidor puede ejecutarse como un servicio independiente y se configura principalmente mediante archivos JSON estructurados.

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.
  • Frameworks de pruebas - Concise web services for stubs and mocks.

Historial de estrellas

Gráfico del historial de estrellas de dreamhead/mocoGráfico del historial de estrellas de dreamhead/moco

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace dreamhead/moco?

moco es un servidor mock multiprotocolo y stub de API programable utilizado para simular endpoints HTTP, REST, WebSocket y Server-Sent Events. Permite la creación de servicios backend falsos para facilitar el desarrollo y las pruebas de integración sin necesidad de un servidor en vivo.

¿Cuáles son las características principales de dreamhead/moco?

Las características principales de dreamhead/moco son: 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.

¿Qué alternativas de código abierto existen para dreamhead/moco?

Las alternativas de código abierto para dreamhead/moco incluyen: 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…

Alternativas open-source a Moco

Proyectos open-source similares, clasificados según cuántas características comparten con Moco.
  • mock-server/mockserver-monorepoM

    mock-server/mockserver-monorepo

    4,897Ver en GitHub↗

    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
    Ver en GitHub↗4,897
  • getsentry/responsesAvatar de getsentry

    getsentry/responses

    4,350Ver en GitHub↗

    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
    Ver en GitHub↗4,350
  • alisoftware/ohhttpstubsAvatar de AliSoftware

    AliSoftware/OHHTTPStubs

    5,068Ver en GitHub↗

    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
    Ver en GitHub↗5,068
  • pgte/nockAvatar de pgte

    pgte/nock

    13,108Ver en GitHub↗

    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
    Ver en GitHub↗13,108
  • Ver las 30 alternativas a Moco→