I have a collection of tests that compare the values in a JSON response to initial environmental variables, then updates the environmental variables accordingly with the new values. However, I also have tests that I still want to have compared to the Initial values, instead of the altered current value. Is there a way to reference the Initial value instead of the Current value without having to create extra environment variables?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Incorrect environment variable value ("original value") referenced by newman | 3 | 1977 | September 4, 2020 | |
Refer current value of the variable in the mock server | 0 | 475 | May 20, 2022 | |
I have environment variables defined and want to use them in Tests to confirm data sent out is what comes back in | 3 | 2285 | October 29, 2021 | |
Global variables, initial vs current value | 0 | 1499 | July 21, 2021 | |
Script to copy the value of a Current variable to an Initial variable? | 2 | 339 | June 22, 2022 |