GoReplay records HTTP from network interfaces and replays it to test servers for shadowing, load testing, and debugging. It runs as a command-line daemon without in-path proxy changes.
Overview
GoReplay is an open-source tool for capturing live HTTP traffic on a server and replaying it against another environment. The goal is to test deployments, configuration changes, and infrastructure updates using real production request patterns instead of synthetic scripts alone.
It listens on network interfaces in the background rather than acting as an inline proxy, so production routing stays unchanged aside from running the GoReplay process on the same machine as the service. Recorded traffic can be printed for inspection, written to files, or forwarded to HTTP endpoints. Basic usage pairs an input raw port capture with stdout or an output HTTP URL.
Typical workflows include shadowing a new build by duplicating requests, load testing by replaying at a chosen speed, and debugging by filtering and re-sending individual requests to compare responses. The open-source edition covers HTTP capture, local files, filtering, rewriting, and middleware. A commercial PRO extension adds binary protocol support, cloud storage replay, TCP session replication, and a commercial license with dedicated support.
Installation is via downloaded binaries or local compilation. Examples use sudo when binding to privileged ports. Documentation stresses capturing after TLS termination and isolating the replay target so side effects stay controlled.
Key features
- Passive HTTP capture on interfaces
- Replay to HTTP test endpoints
- No in-path proxy requirement
- stdout and file output modes
- Request filtering and rewriting
- CLI middleware hooks
- Shadow and load test workflows
- Optional PRO S3 and TCP sessions
Use cases
- Shadow testing new application releases
- Load testing with real traffic mix
- Reproducing production HTTP bugs
- Validating infrastructure migrations
- Comparing responses across environments