Overview
Test case for edge cases of the REST security service logout method.
Assumptions- Test harness is called with a run.config having authentication set to the DefaultSecurityServiceHandler.
- Test harness is configured to connect to a database having "guest" and "admin" users that can be authenticated with any password.
Procedure 1
- Logout of "guest" user without logging in.
- TEST: no exception
- Login as "guest" user with "guest" password
- Logout of "guest" user without logging in.
- Logout of "guest" again user without logging in.
- TEST: no exception
- Login as "admin" user with any password
- Logout of "admin" user without logging in.
- Logout of "admin" again user without logging in.Logout as null/empty user
- TEST: no exception
Expected Runtime
- < 1 sec
Notes
- n/a