Replay
Replay captured HTTP sessions from the command line. Replay by session ID with retry, replay from a script file, or replay the most recently captured request.
The replay subcommand re-sends a previously captured request. You can replay a specific session by ID, replay from a recorded script file, or replay the last captured request. The replayed request appears as a new session in the session list.
replay --id
Replay a specific session by its ID. This is the most common replay mode.
httpeep-cli replay --id <session_id>Retry strategy
Add automatic retry for flaky endpoints:
httpeep-cli replay --id <session_id> \
--retry-times 3 \
--retry-interval-ms 800| Flag | Description | Default |
|---|---|---|
--retry-times <n> | Maximum total attempts | — |
--retry-interval-ms <ms> | Interval between retries in milliseconds | — |
Temporary rules during replay
Overlay temporary rules on the replay without modifying the global ruleset:
httpeep-cli replay --id <session_id> \
--rule-file ./rule.yaml
httpeep-cli replay --id <session_id> \
--map-remote "api.example.com=http://127.0.0.1:3000"All shortcut rule parameters are supported. See the Rules page for details.
replay file
Replay requests from a previously recorded script file.
httpeep-cli replay file ./recording.httpeepEach request in the file is re-sent through the proxy in the original order.
replay last
Replay the most recently captured request.
httpeep-cli replay lastTemporary rule parameters are only valid with --id mode. replay file and replay last do not accept --rule, --map-remote, or other temporary rule flags.