1 unstable release

Uses new Rust 2024

new 0.1.0 May 4, 2025

#862 in Command line utilities

Apache-2.0

185KB
446 lines

Replay

ci downloads crates

This tool acts as a transparent HTTP proxy that intercepts and records all incoming and outgoing requests and responses. You can later replay these captured interactions to mock the real API without needing live network access — ideal for:

  • End-to-end tests
  • CI environments
  • Offline development
  • Contract testing

Preview

✨ Features

  • 🧲 Record HTTP traffic in real time
  • 🧪 Replay and mock previously recorded requests
  • 🛠️ Supports REST, GraphQL, and any HTTP-based API
  • 📦 Store interactions locally
  • ⚡ Fast and lightweight proxy implementation

🔧 Example Use Case

  1. Run your app through the proxy once to record real API interactions.
  2. Save the recorded sessions.
  3. Switch to mock mode for testing — no real API calls needed.

Dependencies

~19–30MB
~526K SLoC