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.59k stars 17 forks source link

[Question]: How do I use the --input-raw-max-wait parameter #1210

Closed gcil125 closed 1 year ago

gcil125 commented 1 year ago

`go

That's right

gor --input-file "a.gor" --output-http "http://127.0.0.1:50001" input-raw-max-wait 0.1s

This is wrong

gor --input-file "a.gor" --output-http "http://127.0.0.1:50001" --input-raw-max-wait 0.1s `

image image
ivan-stankov-salt-security commented 1 year ago

@gcil125 see: https://github.com/buger/goreplay/blob/master/settings.go#L168C48-L168C67

try

gor --input-file "a.gor" --output-http "http://127.0.0.1:50001/" --input-file-max-wait 0.1s