3 dépôts
Captures live HTTP responses and replays them during development to eliminate dependency on flaky or unavailable backend services.
Distinct from API Response Caching: Distinct from API Response Caching: focuses on recording and replaying responses for testing, not caching for performance.
Explore 3 awesome GitHub repositories matching data & databases · Response Recordings. Refine with filters or upvote what's useful.
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
Returns pre-recorded fixtures or predefined data packets to the application instead of making live network calls.
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 sto
Matches incoming requests against stored recordings to serve identical responses and ensure consistent outcomes.
Captures live HTTP responses and replays them to eliminate dependency on flaky backend services.