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.

Home Page:https://goreplay.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Under the same pcap file, gor has various and random outputs.

dramenk opened this issue · comments

testing.pcap.gz contains a POST request and its response.

I execute ./gor --input-raw testing.pcap:80 --input-raw-track-response --input-raw-engine pcap_file --output-stdout several times, but it seems that the outputs are not the same. Most of the time there is no problem, but sometimes (maybe 1/4?) the response will be lost, or both the request and response are lost.

I think this tool is very useful, but this problem really bothers me. Does anyone know the reason?

I use https://github.com/buger/goreplay/releases/download/1.3.3/gor_1.3.3_mac.tar.gz:
2023-01-19 03 51 45

er.. The reason seems the data message and quit signal (file handles done) arrives in same time...