1 unstable release
Uses new Rust 2024
new 0.1.0 | May 4, 2025 |
---|
#862 in Command line utilities
185KB
446 lines
Replay
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
✨ 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
- Run your app through the proxy once to record real API interactions.
- Save the recorded sessions.
- Switch to mock mode for testing — no real API calls needed.
Dependencies
~19–30MB
~526K SLoC