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

very strange question #1109

Closed wangfeng22 closed 2 years ago

wangfeng22 commented 2 years ago

Sometimes goreplay can barely grab the request, sometimes only the response.This phenomenon seems to be related to the size of the response message. Using jmeter to stress the 2k json message can be reproduced.

moviewang commented 2 years ago

add --input-raw-override-snaplen

wangfeng22 commented 2 years ago

add --input-raw-override-snaplen

Why does this happen? What is the function of this parameter

wangfeng22 commented 2 years ago

add --input-raw-override-snaplen

Thank you very much!!! this solved my problem.