How to Calculate Session Time Out in Web Testing?

Showing Answers 1 - 15 of 15 Answers

Semeena.A

  • Dec 4th, 2006
 

Get the Session time out set for the application.

Do testing as follows:-

Login into the application and put the apllication in the idle state for the time equal to the session time out time and verify that the application will  remain or not after the time out period.

If the session time out set, the application will shown a message as the page got expired after that time out period if it kept idle for that duration.

  Was this answer useful?  Yes

1. First of need to know how much set as a session timed out time.
2. Next invoke the application and keep it idle until crossed the session expired time
3. Now try to do invoke some pages or try to add some thing
4. If we got the message 'Session Expired' then it's fine or else need to log the issue

?As for negative case,

1. First of need to know how much set as a session timed out time.
2. Next invoke the application and keep it idle until some time, but make sure it doesn't crossed the session expired time
3. Now try to do invoke some pages or try to add some thing
4. If we got the message 'Session Expired' then it's?an issue?or else it's fine.

  Was this answer useful?  Yes

srinivasulub1981's explanation is a good one. 

The only thing I might add is that you can do the same thing using HTTP Requests to the web server's 'Client API'.  In this way, the actual time (in seconds) is returned in the web server's Response. 

  Was this answer useful?  Yes

cKR

  • Aug 8th, 2016
 

Open the website in Chrome Browser
Press F12- Click Time Line - Press Ctrl+E
Status will be displayed with Recording Time.
Verify the time when it kicks out the user from application

  Was this answer useful?  Yes

Kazi M Zahan

  • Jan 17th, 2017
 

So kurtz182, are you talking about manual verification in that case?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions