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.
--input-raw-engine af_packet
. #807--http-set-param
#791--input-raw
plugins, e.g. --input-raw :80 --input-raw :81 --input-raw :82
https://github.com/buger/goreplay/pull/700
--output-file-size-limit
, --output-file-max-size-limit
, --copy-buffer-size
and --input-raw-buffer-size
can now parse inputs from differents bases and data units like: 10mb, 10kb, 100gb, 18t https://github.com/buger/goreplay/pull/754
--output-tcp-sticky
so request/response with same ID sent to the same connection.--input-raw-bpf-filter 'dst port 80’
https://github.com/buger/goreplay/pull/478
--input-raw-engine pcap_file --input-raw ./recording.pcap
_docker pull buger/goreplay
. Should be run with --network host
argument.HTTP_PROXY
env variable.--http-basic-auth-filter "^customer[0-9].*
. You specify regexp which match userid:passwd
string. [https://github.com/buger/goreplay/pull/475]--output-file-max-size-limit 5gb
.--output-http-queue-len 5000
. Default is 1000.--output-http-stats
reports using --output-http-stats-ms
option. Example: --output-http-stats-ms 5000
(every 5 seconds).--output-http-workers-min
. Can be used in conjunction with --output-http-workers
which will act as a max worker count.--http-pprof :8181
. It starts web server on given address, and expose special /debug/pprof
endpoint with list of reports.—input-raw-buffer-size
which controls size of the OS buffer (in
bytes) which holds packets until they dispatched. Default value depends
by system: in Linux around 2MB. If you see big package drop, increase
this value.immediate
mode when packets delivered without buffering. Can help reduce packet drop. Example: --input-raw-immediate-mode
.--output-http-compatibility-mode
--input-raw-override-snaplen
.--input-tcp-secure --input-tcp-certificate ./cert.pem --input-tcp-certificate-key ./key.pem --output-tcp-secure
#457Finally a new big release, a lot of changes on all fronts. New features, usability stability, fixes.
It would not be possible without this people @smostovoy @exklamationmark @manjeshnilange @kudos @oivoodoo @sattvik @ylegat @nrwiersma @SophisticaSean
—prettify-http
option, you can automatically decode Gzip encoded responses, and de-construct chunked bodies.—output-http-track-respose
. Previously was available only if middleware is turned on.--input-raw-expire
to configure TCP message expiration%r
, will log each request to separate file, and %t
for payload type (0 - request, 1 - response, 2 - replayed response).--output-file-size-limit
option--output-http
1674b58--exit-after
option to specify duration after which Gor will exit #336Content-Length
but there is Connection: close
d34c27c--input-http
option (too confusing and never really worked) f0acd31--output-file
#304--output-http-timeout
c4271ff