replay

command
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

`replay` replays an archive of requests to a different target host. The archive must have been recorded via `blackhole`

Usage of ./replay:
     --block-profile             (for debug only) Block profile this run
     --cpu-profile               (for debug only) CPU profile this run
 -n, --dryrun                    Unpack and show what is in this file, don't run it
 -x, --exit-on-error             Exit on first error
 -f, --extract-to-file           Extract requests to one file per request. Please use this only with -r limit or -i options
     --mem-profile               (for debug only) MEM profile this run
 -m, --min-delay int             Minimum time in milliseconds to wait before the next request is sent. 0 means no wait. Actual wait till will be max(min-delay, actual-delay)
     --mutex-profile             (for debug only) Mutex profile this run
 -o, --output-directory string   Output directory if -f is used (default ".")
 -q, --quiet                     Run quietly and print only errors
 -i, --reqid string              Run only this particular request identified by an exchange specific format (do dryrun first to see the ids)
 -r, --reqs int                  Send only N requests to the bidder (instead of everything from the file)
 -H, --target-host-port string   Send requests to this host. Example locahost, localhost:8080, host.domain.com
     --test                      Test integrity of the file. Print ID of each request.
 -t, --threads int               Number of request threads (parallel) (default 5)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL