Capture live HTTP traffic and replay it against a test environment
open coreLGPL-3.0self-hostablefree
GoReplay (formerly Gor) captures live HTTP traffic from a network interface and replays it against another environment, so you can test a new build, configuration or infrastructure change with real production requests. It sits off the request path (no proxy, sidecar or app instrumentation by default): the gor CLI listens on a port with pcap, and can print requests, mirror them to staging in real time (shadow testing), save them to files and replay them later at a chosen speed for load testing. Requests can be filtered and rewritten, and middleware in any language can modify them or compare responses; captures can also go to Kafka or Elasticsearch and run distributed. GoReplay PRO adds Amazon S3 capture storage, keep-alive TCP session recognition, binary protocol capture and replay, a commercial licence and dedicated support.
Problems it solves
- replay production HTTP traffic against staging
- shadow test a new release with real user traffic
- load test with a realistic captured request mix
- reproduce a production bug from captured requests
- validate an infrastructure migration with real traffic
Features
- capture HTTP from a network interface without a proxy or sidecar
- real-time mirroring to another environment
- record to files and replay at a chosen speed
- request filtering and rewriting
- middleware for modifying requests and comparing responses
- Kafka and Elasticsearch outputs
- distributed setups
- PRO: S3 capture storage, keep-alive TCP sessions, binary protocols
Limitations
- Capturing needs root, Administrator or CAP_NET_RAW access12
- HTTPS traffic must be captured after TLS termination, since it can only read plaintext HTTP12
- S3 storage, binary protocols and keep-alive TCP session recognition are PRO-only12
Ways to run it
GoReplay (open source)
Only in this edition
- HTTP traffic capture and replay
- request filtering, rewriting and middleware
- command-line interface
- community support
Not included
- S3 storage, binary protocols, keep-alive TCP sessions, commercial licence
You arrange
- a host where you can capture traffic with root or CAP_NET_RAW
- an isolated replay target
GoReplay PRO
Only in this edition
- Amazon S3 capture storage and replay
- keep-alive TCP session recognition
- binary protocol capture and replay
- commercial licence
- dedicated support
You arrange
- a host where you can capture traffic with root or CAP_NET_RAW
- an isolated replay target
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what GoReplay does.
- Artillery Full-stack performance and reliability testing: scalable API and Playwright load testing
