I have found a few topics on this issue from previous poster, but it isn’t clear to me what i have done wrong and the responses haven’t always helped. When i run these http request in collection one at a time, there is no issue. The environment variable updates, and I can pass this into future requests in order to continuing testing. In flows however, a user is create, the id is generated, but the variable doesn’t update leading to issues further down the line. Am I missing something?
The addition of the get and create variable here are attempts to try and get the problem (uncessfull). I had originally simply ran a post-script for when the user is created
// Save user ID as an environment variable
pm.environment.set("user_id", responseJson.id);
});
Thank you in advance