Contributions
Re: Expiring Session through http request
Thanks for your Reply. Yes, Session remains there even after running Logout http request but when I run the same request in my browser, it just signs user out. I have never seen any help in the Smartbear help pages regarding closing/expiring session, that's why I am posting my request here. For your information, I tried with GET and POST requests both for logout like we use only POST during Login with form data. Thanks.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions937Views0likes0CommentsExpiring 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.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions973Views0likes2CommentsPassing cookie to a http request giving me wrong format response headers
Hi, I am passing header as "Cookie = 1234" in my HTTP request header and in response I am getting my custid cookie under Set-Cookie variable but in wrong format. Although this same thing is working for me in Runscope. Am I passing request header in a wrong way? Could somebody guide me? Thanks7 years agoPlace ReadyAPI QuestionsReadyAPI Questions761Views0likes1Comment