diff options
Diffstat (limited to 'examples/dup_and_replay.py')
-rw-r--r-- | examples/dup_and_replay.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/dup_and_replay.py b/examples/dup_and_replay.py new file mode 100644 index 00000000..9c58d3a4 --- /dev/null +++ b/examples/dup_and_replay.py @@ -0,0 +1,4 @@ +def request(ctx, flow): + f = ctx.duplicate_flow(flow) + f.request.path = "/changed" + ctx.replay_request(f) |