goreplay icon indicating copy to clipboard operation
goreplay copied to clipboard

--output-http-track-response not returning response for few transactions

Open suryapadarthi opened this issue 4 years ago • 3 comments

Hello,

I am trying to log requests and responses data to a file, but not able to get responses for few transactions.

Below is the command: ./gor --input-raw :80 --input-raw-track-response --output-file %Y%m%d.log --output-file-append

Thanks, Surya

suryapadarthi avatar Sep 08 '21 10:09 suryapadarthi

I had the same problem.

I tried using the following command

sudo ./gor --input-raw :18080 --output-http-track-response --output-stdout

No response information is printed.

yancheng199287 avatar Oct 09 '21 02:10 yancheng199287

@yancheng199287 I guess you need --input-raw-track-response flag instead.

@suryapadarthi which version do you use? In general, goreplay do not give guarantee of 100% packet capture. It can happen for requests which have big POST bodies or similar. But good news that with each release it gets better, I highly recommend try latest version https://github.com/buger/goreplay/releases/tag/1.3.3

buger avatar Oct 09 '21 14:10 buger

@buger Thank you for your response. I am currently using 1.0.0 version. However, I tried to use the latest version but it seems it is not compatible with our OS version (RHEL6 Kernel2.6.32) - getting Kernel too old error. Is there any way to run the latest version on this OS?

suryapadarthi avatar Oct 18 '21 16:10 suryapadarthi