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

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

gcil125 opened this issue · comments

commented

`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

@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