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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
bblimke avatar

bblimke/webmock

0
View on GitHub↗

Webmock

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 library covers a broad range of API simulation and network control functions, including request matching based on URIs and headers, request signature recording, and outbound traffic filtering. It also includes monitoring utilities to intercept and log network events via custom callbacks.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • HTTP Stubbing Frameworks - Implements a comprehensive framework for stubbing HTTP requests and returning predefined status codes and bodies.
  • Ruby - Simulates HTTP server responses to isolate application logic from external network dependencies in Ruby projects.
  • Request Body Matchers - Validates request payloads using regular expressions, partial data structures, or custom logic blocks.
  • Application-Level Traffic Interception - Hooks into Ruby HTTP client libraries to divert outgoing traffic into a custom stub handler.
  • Request History Logs - Captures and stores a history of all intercepted requests to enable post-execution assertions.
  • Ruby HTTP Mocking Libraries - Provides utilities to intercept and simulate HTTP traffic within Ruby applications during testing.
  • API Expectation Frameworks - Provides tools to verify that specific API calls were made with the expected parameters and headers.
  • External API Call Assertions - Verifies that an application made expected outgoing HTTP requests to external services.
  • Custom Mock Response Overrides - Enables the configuration of custom status codes, headers, and bodies to override default mock responses.
  • Request Verification - Asserts that outgoing requests were made, skipped, or executed a specific number of times.
  • Network Connection Blockers - Blocks all external network connections by default to prevent accidental requests during testing.
  • Response Simulators - Generates custom status codes, artificial delays, and specific content types to test application resilience.
  • Network Failure Simulations - Provides simulations of network-level errors such as connection timeouts and service outages to verify application resilience.
  • Regex Request Matching - Allows matching API requests using regular expressions and flexible patterns in URIs and headers.
  • Network Request Assertions - Provides assertions for verifying that specific network requests were executed with expected parameters.
  • Network Request Filters - Uses regular expressions and custom logic to block or allow specific network requests based on URL patterns.
  • HTTP Client Interception - Intercepts outgoing network traffic to block external connections and prevent accidental requests during tests.
  • File-Based Response Serving - Serves the raw contents of local files as mock API response bodies.
  • Dynamic Response Callbacks - Provides custom callback functions to generate mock responses dynamically based on incoming request data.
  • Response Sequencing - Returns a sequence of different responses for repeated requests to the same endpoint.
  • Local API Response Mocking - Loads raw HTTP responses from local files to serve as stubbed return values.
  • Mock State Resetting - Includes utilities to reset request history and clear active stubs between individual test cases.
  • Network Connectivity Controls - Restricts or permits network access to specific hosts during test execution to ensure isolation.
  • Testing - HTTP request stubbing.
4,050 stars·577 forks·Ruby·MIT·16 views

Star history

Star history chart for bblimke/webmockStar history chart for bblimke/webmock

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Webmock

These projects share indexed features with Webmock. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • nock/nocknock avatar

    nock/nock

    13,103View on GitHub↗

    nock is a Node.js HTTP mocking library and request interceptor. It captures outgoing network traffic to specific hosts and paths, returning predefined responses to decouple applications from external servers during automated testing. The project functions as an API expectation framework to verify that specific calls were made with correct parameters. It includes a traffic recorder that captures real network interactions as fixtures for playback and a network simulation tool to introduce artificial latency or trigger network errors. Its capabilities cover request matching via hostnames, paths

    JavaScripthttpjavascriptmock
    View on GitHub↗13,103
  • getsentry/responsesgetsentry avatar

    getsentry/responses

    4,350View on 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
    View on GitHub↗4,350
  • mock-server/mockserver-monorepoM

    mock-server/mockserver-monorepo

    4,897View on 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
    View on GitHub↗4,897
  • alisoftware/ohhttpstubsAliSoftware avatar

    AliSoftware/OHHTTPStubs

    5,068View on 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
    View on GitHub↗5,068
Compare all 30 related projects→

Frequently asked questions

What does bblimke/webmock do?

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.

What are the main features of bblimke/webmock?

The main features of bblimke/webmock are: HTTP Stubbing Frameworks, Ruby, Request Body Matchers, Application-Level Traffic Interception, Request History Logs, Ruby HTTP Mocking Libraries, API Expectation Frameworks, External API Call Assertions.

Which projects share features with bblimke/webmock?

Projects with overlapping indexed features include: nock/nock — nock is a Node.js HTTP mocking library and request interceptor. It captures outgoing network traffic to specific hosts… getsentry/responses — Responses is a Python mocking library designed to intercept outgoing HTTP calls made with the Requests library to… mock-server/mockserver-monorepo — This project is a multi-protocol API simulation and mocking system designed to replace external dependencies during… alisoftware/ohhttpstubs — OHHTTPStubs is an HTTP network mocking library and request interceptor used to simulate server responses for testing… wheresrhys/fetch-mock — Fetch-mock is a testing utility designed to isolate application code from external network dependencies by… didi/mpx — MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from…