Forum Discussion
nmrao
Champion Level 3
Can you show the script which does that?
Tush
7 years agoOccasional Contributor
After running "Login" test case, I extract the session ID from the Login response header.
def harResponse = context.expand( '${#[Lib#startSession#login]#HarResponse#$[\'headers\'][7][\'value\']}' )
I then pass this value to cookie parameter in my API requests.
Related Content
- 7 months agosohailalam2696