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
·
Netflix avatar

Netflix/pollyjs

0
View on GitHub↗
10,253 Stars·353 Forks·JavaScript·Apache-2.0·9 Aufrufenetflix.github.io/pollyjs↗

Pollyjs

Pollyjs is an HTTP mocking and recording library designed to capture and replay network interactions to create deterministic tests. It functions as a request interceptor and stubbing framework that records real API responses into files, ensuring consistent test results across different environments without relying on live network servers.

The tool utilizes pluggable network adapters to support various environments and employs a state-based mode switching system to toggle between recording, replaying, and stubbing behaviors. It uses pattern-based request matching and persistent interaction storage to serve identical responses to incoming requests.

The library covers a broad range of API integration capabilities, including network traffic simulation and the management of request flows. It provides mechanisms for returning custom status codes and mocked data to test edge cases and validate application behavior during automated integration testing.

Features

  • HTTP Mocking Libraries - A comprehensive library for capturing and replaying HTTP interactions to create deterministic tests.
  • HTTP Response Stubbing - Returns predefined responses and custom status codes to simulate various server behaviors and edge cases.
  • API and Network Testing - Records and replays network requests to create deterministic tests that do not rely on a live backend.
  • HTTP Interaction Recording - Provides the ability to capture outgoing network requests and responses to save them for later reuse in tests.
  • Integration Test Suites - Captures real network traffic to build reliable integration test suites that run without external dependencies.
  • HTTP Stubbing Frameworks - Provides a system for returning custom status codes and mocked data for specific network requests to test edge cases.
  • HTTP Mocking - Simulates specific server responses and edge cases by stubbing network calls.
  • HTTP Request Interceptors - Provides a middleware layer that captures outgoing network calls and returns predefined responses.
  • Request Interception Middleware - Intercepts outgoing network calls to determine if they should be routed to a live server or a mock response.
  • Response Recordings - Matches incoming requests against stored recordings to serve identical responses and ensure consistent outcomes.
  • Interaction Recording Storage - Saves captured request and response pairs to a file system or database for reuse across test executions.
  • Request Matching - Identifies the correct recorded response by comparing request URIs and headers against predefined rules.
  • HTTP Client Adapters - Abstracts the underlying HTTP client to support different environments like browsers or Node.js.
  • Request Interception Control - Controls whether network calls are intercepted or passed to a server to regulate traffic during test execution.
  • Deterministic Testing Utilities - Provides a utility for recording real API responses to ensure consistent test results across different environments.
  • HTTP Traffic Simulation - Controls the flow of HTTP requests to regulate traffic and test application behavior under various connectivity scenarios.

Star-Verlauf

Star-Verlauf für netflix/pollyjsStar-Verlauf für netflix/pollyjs

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

Open-Source-Alternativen zu Pollyjs

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Pollyjs.
  • nock/nockAvatar von nock

    nock/nock

    13,103Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗13,103
  • 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
  • ctimmerm/axios-mock-adapterAvatar von ctimmerm

    ctimmerm/axios-mock-adapter

    3,544Auf GitHub ansehen↗

    This library provides a utility for intercepting and simulating HTTP requests within the Axios ecosystem. It functions as an HTTP request interceptor that allows developers to define mock responses for outgoing network traffic, enabling frontend integration testing and development without requiring live backend infrastructure. The tool distinguishes itself by offering granular control over the request lifecycle, including the ability to match specific request patterns and forward unmatched traffic to actual destinations. It supports the simulation of unstable network environments by injecting

    JavaScriptaxiosjavascriptmock
    Auf GitHub ansehen↗3,544
  • 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
Alle 30 Alternativen zu Pollyjs anzeigen→

Häufig gestellte Fragen

Was macht netflix/pollyjs?

Pollyjs is an HTTP mocking and recording library designed to capture and replay network interactions to create deterministic tests. It functions as a request interceptor and stubbing framework that records real API responses into files, ensuring consistent test results across different environments without relying on live network servers.

Was sind die Hauptfunktionen von netflix/pollyjs?

Die Hauptfunktionen von netflix/pollyjs sind: HTTP Mocking Libraries, HTTP Response Stubbing, API and Network Testing, HTTP Interaction Recording, Integration Test Suites, HTTP Stubbing Frameworks, HTTP Mocking, HTTP Request Interceptors.

Welche Open-Source-Alternativen gibt es zu netflix/pollyjs?

Open-Source-Alternativen zu netflix/pollyjs sind unter anderem: nock/nock — nock is a Node.js HTTP mocking library and request interceptor. It captures outgoing network traffic to specific hosts… ctimmerm/axios-mock-adapter — This library provides a utility for intercepting and simulating HTTP requests within the Axios ecosystem. It functions… pgte/nock — Nock is a Node.js HTTP mocking library used to intercept outgoing network requests and return predefined responses. It… alisoftware/ohhttpstubs — OHHTTPStubs is an HTTP network mocking library and request interceptor used to simulate server responses for testing… axios/axios — Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different… sindresorhus/got — Got is a promise-based HTTP request library for Node.js that supports HTTP/2 and streaming. It provides a system for…