I'd like to use the result of one API response, to inform another API using that data

I generate access tokens as part of my API. I would like to keep using those temporary tokens as part of the test cycle. Currently, since each test in discretely independant, I can’t generate that token to be used in subsequent tests.

Suggested Solution:
I’d like for one API result to set variables for subsequent tests to be used in the request headers.

See https://github.com/postmanlabs/postman-app-support/issues/7242

Hey @sshadmand,

What type of token are you using? Are you able to show an example of your requests?

Have you taken a look at @allenheltondev’s post where he explains a little bit about how he is using the tokens, in his context?

Maybe there is something in there that might help you out?

1 Like