How to extract the access token from the 'Auth' tab and transfer it to the other requests in header?
I want to get the generated Access Token from the Auth tab and use it as a property for other tests. (Require to pass the access Tokens as the header for all the test steps). I want to avoid doing it manually for all the test steps.
Is it possible for me to achieve that?
Note: The access Tokens are not generated in the response. I'm using OAuth 2.0 and the tokens are getting generated in the Auth Tab.
Attached is the screenshot for more reference.
Hi sonya_m,
Support Team has provided with the answer 🙂
While using OAuth 2 flow, you need to select the checkbox of 'Use Authorization Header' as shown in the attached screenshot. Then, you don't need to add the token in the Headers tab Ex. Authorization: Bearer [Access Token]. After that, you can use the Auth Manager and select the respective OAuth 2 profile for your requests.
Thank you,
Jagruuti