Forum Discussion
Tush
Occasional 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
- 6 months agosohailalam2696