awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
W

wiremock/wiremock

0
View on GitHub↗
7,281 星标·1,501 分支·Java·Apache-2.0·5 次浏览

Wiremock

WireMock is a suite of tools for service virtualization, providing mock servers for HTTP APIs and WebSocket communication. It serves as an HTTP API mock server and request verifier, allowing for the simulation of responses and the interception of network requests to test client applications without a live backend.

The project differentiates itself through a service virtualization model that records real network traffic and replays it as stubs to mimic external service behavior. It includes a network fault injector to simulate response delays and connectivity issues, and a stateful scenario machine to mimic complex multi-step business workflows.

The toolset covers response stubbing and request verification through an in-memory request journal. It supports dynamic response templating and allows for the injection of custom Java logic via programmable server extensions to handle specialized request matching or response generation.

Features

  • API Response Simulators - Intercepts outgoing network requests and returns predefined data to simulate server scenarios without a live backend.
  • HTTP Mock Servers - Acts as a mock server for HTTP APIs to simulate responses and intercept requests without a live backend.
  • Service Virtualization - Records real network traffic and replays it as stubs to virtualize external service behavior.
  • Network Faults - Simulates connectivity issues, latency, and DNS disruptions to test application resilience.
  • HTTP Response Stubbing - Returns predefined responses based on patterns found in the request URL, headers, or body.
  • Request Matching Engines - Matches incoming HTTP requests against a library of predefined patterns to determine the appropriate stubbed response.
  • Request Verification - Inspects outgoing HTTP requests to verify that clients send the expected data to the server.
  • HTTP Traffic Recording - Captures live HTTP interactions and saves them as stubs to be replayed in subsequent tests.
  • HTTP Interaction Verifiers - Inspects outgoing network traffic via an in-memory request journal to verify that clients send expected data.
  • In-Memory Debug Logs - Stores a chronological volatile log of all received requests for verification of outgoing client data.
  • Controlled Fault Injections - Deliberately introduces network delays or malformed data into the response pipeline to validate resilience.
  • API Request Proxying - Provides mechanisms for forwarding API calls to remote services to intercept or modify responses.
  • Stateful API Simulations - Maintains internal state across multiple requests to mimic complex business logic and sequential API workflows.
  • Server Extensions - Provides programmable extensions to add custom logic to the request matching and response generation process.
  • Traffic Interception - Forwards requests to a real backend while capturing responses for recording or on-the-fly modification.
  • Plugin-Based Logic Extensions - Allows custom Java code to be loaded at runtime to implement specialized request matching or response generation.
  • Automation State Machines - Tracks sequences of request-response transitions to simulate state machines that mimic complex business workflows.
  • Integration Test Suites - Facilitates integration testing by capturing and inspecting outgoing network requests to verify client data.
  • WebSocket Mocking Tools - Mocks bidirectional message exchanges over WebSocket connections to test real-time communication logic.
  • Network Resilience Simulators - Simulates network delays and connectivity faults to ensure applications handle timeouts and errors gracefully.
  • Stateful Testing - Provides a stateful scenario machine to mimic complex multi-step business workflows and sequential API interactions.
  • Response Body Templating - Generates customized response bodies by injecting data extracted from the original request into templates.
  • Testing Utilities - Simulates bidirectional real-time messaging and server-side events to test WebSocket communication logic.
  • Mocking Tools - Flexible tool for reliable API simulation.
  • Service Virtualization - HTTP mock engine for embedding in test code or standalone.

Star 历史

wiremock/wiremock 的 Star 历史图表wiremock/wiremock 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

wiremock/wiremock 是做什么的?

WireMock is a suite of tools for service virtualization, providing mock servers for HTTP APIs and WebSocket communication. It serves as an HTTP API mock server and request verifier, allowing for the simulation of responses and the interception of network requests to test client applications without a live backend.

wiremock/wiremock 的主要功能有哪些?

wiremock/wiremock 的主要功能包括:API Response Simulators, HTTP Mock Servers, Service Virtualization, Network Faults, HTTP Response Stubbing, Request Matching Engines, Request Verification, HTTP Traffic Recording。

wiremock/wiremock 有哪些开源替代品?

wiremock/wiremock 的开源替代品包括: 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… mock-server/mockserver — Mockserver is a multi-protocol mock server and API verification proxy used to simulate HTTP, gRPC, and WebSocket… mockoon/mockoon — Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server… qustavo/httplab — httplab is an HTTP mock server and interactive API simulator used to analyze incoming request payloads and simulate…

Wiremock 的开源替代方案

相似的开源项目,按与 Wiremock 的功能重合度排序。
  • mock-server/mockserver-monorepoM

    mock-server/mockserver-monorepo

    4,897在 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
    在 GitHub 上查看↗4,897
  • getsentry/responsesgetsentry 的头像

    getsentry/responses

    4,350在 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
    在 GitHub 上查看↗4,350
  • alisoftware/ohhttpstubsAliSoftware 的头像

    AliSoftware/OHHTTPStubs

    5,068在 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
    在 GitHub 上查看↗5,068
  • mock-server/mockservermock-server 的头像

    mock-server/mockserver

    4,900在 GitHub 上查看↗

    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

    Java
    在 GitHub 上查看↗4,900
  • 查看 Wiremock 的所有 30 个替代方案→