Updating with Replay
There are two ways to update a scenario using the CLI.
Replay a scenario's requests and update the request responses
Overwrite the scenario with new requests and responses
Background
How to Update ScenariosReplaying
If request(s) require authorization headers, they should be added dynamically.
The following command will replay the scenario and update the recorded responses with the newly received repsonses.
Steps
1
Decorate requests with credentials
An authorization header or a cookie may be needed to be added to replayed requests. To do so, see the following guide on how to use lifecycle hooks.
Last updated
Was this helpful?