Hi @dhoyt, there’s a lot more code than that but that is essentially what is happening yes. There’s a condition further down that continues to return false and every time it does it sets the request to a previous one. Would be nice to be able to tell that condition to only try four times via four script runs before it just marks the test as false.
In the previous request you could do something like this to increment the count each time the request is run and then in the next request you could pull the environment variable and test it.