Table of Contents
ABOUT SESSION TIMEOUT
A session can end (or terminate) when the user ends it, explicitly or implicitly. However, if the user does not end the session, the server can end the session if it detects no user interaction within a predetermined amount of time. When the server ends a session in this manner, it is referred to as a session timeout.
SESSION TIMEOUT-TEST CASES
TC ID | FEATURE | TEST CASES/STEPS | EXP RESULT |
TS_Session_timeout_1 | Session Expiry | Objective: To validate the application behavior when user perform any action/operation in the application after keeping the application in idle less than the token expiry time (Eg:1 Hour) Steps: | User should not be logged out from the application and allowed to perform any action in the application |
TS_Session_timeout_2 | Session Expiry | Objective: To validate the application behavior when user perform any action/operation in the application after keeping the application in idle more than the token expiry time Steps: | User should be logged out from the application citing the reason that the application session timed out and not allowed to perform any action in the application until logged in again |
TS_Session_timeout_3 | Session Expiry | Objective: To validate application behavior when user working in a single tab where as application opened in multiple tabs of a browser Steps : | User should not logged out from the application in both tab2 and tab1 and allowed to perform any action in the application |
TS_Session_timeout_4 | Session Expiry | Objective: To Validate the application behavior when user changed the password from profile/Forgot password flow Steps: | User has to be logged out from the application in all the browser tabs |
TS_Session_timeout_5 | Session Expiry | Objective: To validate the application behavior when user is logged in multiple browsers/devices Steps: | User should not be logged out from the application |
TS_Session_timeout_6 | Session Expiry | Objective: To validate the application behavior when user working in multiple tabs in same browser and logged out from one tab and then performed actions in the other tab Steps: | User should be logged out from the application & has to be taken to login page |
TS_Session_timeout_7 | Session Expiry | Objective: To validate the application behavior when logged in to the application and disconnected the internet and after session expiration time reconnecting with internet and reloads the application Steps: | User should logged out from the application and allowed to perform any action in the application |
TS_Session_timeout_8 | Session Expiry | Objective: To validate the application behavior when user logged in to the app in multiple browsers/systems then logged out from one browser/system Steps: | User A should be logged from Browser 1 and should not be logged out in other browser/system |
TS_Session_timeout_9 | Session Expiry | Objective: To validate the application behavior when user A is logged in to the application and other side account got locked due to invalid password attempts by same user in other device/browser Steps: | The Application has logout successfully when user perform any action in the application |
TS_Session_timeout_10 | Session Expiry | Objective: To validate if the application generates a new session id after the session timed out and a new session began 1. On the login window enter the valid credentials and | The 2 session ids generated should be different |