Task #1434
Integration tests for VASCO token mockup
Status: | Development / Work In Progress | Start date: | April 03, 2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Rad Faeze | % Done: | 0% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
- wsAssignTokenToUser
- wsGenerateTACwithSessionID (user the token serial no as session ID)
- wsVerifyToken
- wsDisableToken
- wsVerifyToken
- wsEnableToken
- wsVerifyToken
- wsUnassignTokenFromUser
- wsVerifyToken
Note that the second operation is using TAC, instead of token! Since in automated integration tests we cannot wait for the actual user to generate the token and then key it into the application, we have to emulate it (MockUp). This way at least we can test other parts of the code which deal with token assignment and verification, as well as database queries.
In the current MockUp implementation, we're using TAC engine for the purpose of this emulation. So TAC replaces token, and Session ID does that for serial no.
History
#1 Updated by Rad Faeze over 12 years ago
- Status changed from New - Begin Life Cycle to Development / Work In Progress
#2 Updated by Rad Faeze over 12 years ago
Ahmadi Hadi wrote:
Using 1497524840 as token serial no and test-user-0 as user alias, create a TestCase in SoapUI which tests the following web service operations (The sequence is important):
- wsAssignTokenToUser
- wsGenerateTACwithSessionID (use the token serial no as session ID)
- wsVerifyToken
- wsDisableToken
- wsVerifyToken
- wsEnableToken
- wsVerifyToken
- wsUnassignTokenFromUser
- wsVerifyToken
Note that the second operation is using TAC, instead of token! Since in automated integration tests we cannot wait for the actual user to generate the token and then key it into the application, we have to emulate it (MockUp). This way at least we can test other parts of the code which deal with token assignment and verification, as well as database queries.
In the current MockUp implementation, we're using TAC engine for the purpose of this emulation. So TAC replaces token, and Session ID does that for serial no.
+ negative test