Prefix a property transfer in header
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Prefix a property transfer in header
I am using a property transfer to take an oAuth access_token from a response and transfer it to my next GET REST request. The header Name is "Authorization" and the value needs to be in the format "Bearer xxxxxx" ( where xxxxxx is the transferred access_token)
How to I add the Bearer prefix into my GET request? Do I need to add something in the property transfer target? Or is this done via test step properties?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kondasamy
Same in my case as well. In GetToken test step, I'm making an HTTP request.
Then I have added the below property in the header of next step as suggested.
Authorization: Bearer ${GetToken#ResponseAsXml#//Authorization}
But when I checked the raw form of request no value is passed except Bearer .

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »