Forum Discussion
https://community.smartbear.com/t5/SoapUI-Open-Source/how-to-use-token-id-in-second-request/td-p/147972/jump-to/first-unread-message
Thank you for the answer, but I need to pass response to Access token, not in another request. Like on the image attached.
- nmrao8 years agoChampion Level 3Have you tried using property expansion for the mentioned?
- karyna_riepka8 years agoNew Contributor
I did try property transfer, I created a project level property with my access token and put it in header for the request, that requires token, but it still fails. Is property extension very different from property transfer?
- PaulMS8 years agoSuper Contributor
Checking the request - Raw tab it seems that property expansion does not work for the authorization tab access token field, but it does work for headers.
Change the name of your header to
Authorization
value to
Bearer ${#Project#access_token}
This would override the authorization tab access token if manually entered.
More threads
https://www.soapui.org/oauth2/reference/oauth-2-advanced-options.html
https://stackoverflow.com/questions/11068892/oauth-2-0-authorization-header
https://community.smartbear.com/t5/SoapUI-Pro/Dynamically-Set-client-credentials/m-p/141040
Related Content
- 8 years ago
Recent Discussions
- 2 days ago
- 2 days ago