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.
It looks like trying to rewrite the same param using http-set-param that is used for filtering through http-allow-url is incompatible. Maybe the same regex used from http-allow-url for input is used for the output and it's not allowed to get to server at 8001? It's just a wild guess.
The workaround I found is to use http-rewrite-url instead like so:
As you can see, there is a Rewritten input line that is not present in the previous command.
I'm using a compiled version of GoReplay from master at commit 243b2cf484ec12aaf37cb37a2d05905d84df775b. Same happens with latest stable release 1.3.3.
Given 2 HTTP servers in port 8000 and 8001, respectively, I'm trying to do the following:
param=0000
param
value and set it to1234
Point 1) and 2) work ok doing like so:
However, whenever I try to use
http-set-param
to modify the value ofparam
as per point 3), I get nothing in server at 8001:It looks like trying to rewrite the same param using
http-set-param
that is used for filtering throughhttp-allow-url
is incompatible. Maybe the same regex used fromhttp-allow-url
for input is used for the output and it's not allowed to get to server at 8001? It's just a wild guess.The workaround I found is to use
http-rewrite-url
instead like so:As you can see, there is a
Rewritten input
line that is not present in the previous command.I'm using a compiled version of GoReplay from master at commit
243b2cf484ec12aaf37cb37a2d05905d84df775b
. Same happens with latest stable release 1.3.3.