Forum Discussion
nmrao
Champion Level 3
Save the token in Project level custom properties, say TOKEN
In the test request step, add Header
Authorization and value as Bearer ${#Project#TOKEN}
In the test request step, add Header
Authorization and value as Bearer ${#Project#TOKEN}
Cata
4 years agoOccasional Contributor
I couldn't save the token at project level because it's dynamic and it refreshes every few minutes but I managed to take the token from my initial request and add it in a Property Transfer test step and then write the Authorization Header on my subsequent requests with the Bearer ahead of the syntax which called the token.
So thank you very much. Your syntax helped me.
Related Content
Recent Discussions
- 5 days ago
- 10 days ago