The thing I’m trying to automate is setting a token as a dynamic variable to every next request after the login in my collection.
Because the token is different every time I log in, I’d like to know how this newly generated token can be automatically added to every next request. Is it a pre-request script in my collection, using collection variables or something else? Please let me know. Thanks in advance!
I’ll give you an example of my collection:
What I’d like to achieve is going through the requests using Runner and test if all the tests pass or not. Once executed the account should be deleted and new one created again in order to navigate through the same steps. That’s why I need to automate setting of the token.