I am trying to update my variables in between monitor runs. Essentially, I need my collections to speak to each other using environment variables by making my initial value of the variable equal to my current variable (Which is the one that just ran)
{
"environment": {
"name": "NEW",
"values": [
{
"key": "PriorRunObject",
"value": "{{PriorRunObject}}"
}
]
}
}
You can see I am "dynamically" referencing my variable in the body of the xml that needs to be placed in the PUT request I am using. I am using the postman PUT Update Environment request to do this.
I also tried the following which did not work:
{
"environment": {
"name": "NEW",
"values": [
{
"key": "PriorRunObject",
"value": {{PriorRunObject}}
}
]
}
}
Thank you in advance for your help and/or contribution! :)