Forum Discussion
sergeykutsakov
Occasional Contributor
I don't understand how to get access_token? I need use groovy script?
sergeykutsakov
8 years agoOccasional Contributor
I should illustrate.
I need access token for other testcases. I send this token to server side in header:
HHToken: HD4K9SM6SU3OG59T36GH136EK8CBDQVNR01ONQ9PAT4JP2
SoapUI offers variant send it in header as:
Authorization: Bearer HD4K9SM6SU3OG59T36GH136EK8CBDQVNR01ONQ9PAT4JP2
But this variant is unsuitable for me.
So I create teststep with request in which I get acess_token. Only acess_token which I transfer to other testcase.
I think it is not good idea. Can you suggest me other variant how can I get acсess_token?
- nmrao8 years agoChampion Level 3Do you want to show the response(just structure with dummy element, not necessarily the actual data)?
- sergeykutsakov8 years agoOccasional Contributor
I need send this access_token in current and next request in header as
HHToken: xxxxxxxxxxxxxxxxxxxxxxx
I ask how to save or transfer access_token?
- sergeykutsakov8 years agoOccasional Contributor
Maybe I can take access_token from HTTP Log as on picture above (point 3)?
Related Content
- 2 years ago
- 3 years ago
Recent Discussions
- 3 days ago