HTTP Interaction Recorder for Tests

JSON →
library 1.4.0 ·javascript
verified May 27, 2026

vcr-test is a testing utility that records and replays HTTP interactions, enabling fast, deterministic, and accurate tests by eliminating reliance on live external APIs. It intercepts HTTP traffic from any client (`fetch`, `axios`, `got`, etc.) using `@mswjs/interceptors` and stores request/response pairs in YAML "cassette" files. The current stable version is 1.4.0. It provides flexible recording modes (once, none, update, all) and extensibility for request masking, pass-through, and custom matching. Its key differentiator is its framework-agnostic nature and support for modern JavaScript features like `await using`, while also offering a callback API for older environments. While no explicit release cadence is stated, the project appears actively maintained on GitHub.

total hits 20
actors 7 distinct systems
last hit 8h ago human
GPTBot
5
MetaBot
4
Script
2
Search engines
3
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India · 🇫🇮 Finland · 🇩🇪 Germany