amrinderthandi
8 years agoNew Contributor
Expiring Session through http request
Hi,
I have successfully created a session by login through a http request using form based data. I need to login with different test users in different test cases to be used in my REST requests. The problem is that when I login first time, it seems I remain in the session as long as it doesn't expire on its own. I need to close the session in every test case before login to my new test case with different user. I don't know how I can achieve it. Could somebody please suggest me?
I have tried following ways:
1. Used GET http request with my Logout URL.
2. Under preference I checked the option 'Closes the HTTP connection after each HTTP request
but all in vain.
Kindly suggest.
Thanks.