I want to run two collections parallel in Postman. The first collection has several iterations. In each iteration step I get back a new refresh-token from the response and this refresh-token is set as a variable to the environment.
var jsonData = pm.response.json();; pm.environment.set("refresh_token", jsonData.refresh_token);
Postman writes the latest value to the variable after the whole run is finished . But I need the current value as a variable in the environment after each iteration step.
Is it somehow possible to get the value after each iteration step?