buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.53k stars 13 forks source link

using '-output-binary' to secure endpoint doesn't work for captured grpc traffic #1101

Open 6a6ai opened 2 years ago

6a6ai commented 2 years ago

how to reproduce:

1) capture binary traffic from the locally run service instance which uses protobufs/gRPC for communicating with clients 2) replay the captured traffic to the test instance which uses TLS using '-output-binary' (btw, you're required to provide the port at this point, you get no message about it until you enable debug output) 3) the above doesn't work, but replaying to the locally run service instance works with a caveat that unless you use the rate around 5-10%, the replay results in a very low number of successful requests.

version used 1.3.3