Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

🚚 Installation

cargo-binstall replay

✨ 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.

About

Sniff and replay HTTP requests and responses — perfect for mocking APIs during testing.

Topics

Resources

Stars

19 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages