Use the Main menu to view or download the test results (the Test Log and Auto-Saved reports) that have been saved on the TAS. You can access the results of your tests or the results of other users' tests.
Optional User Authentication was added for the Result Website. See additional details below.
TIPS:
|
The file names of Test Reports and Test Logs are formed by combining the date and time the test completed, the test session name (test sessions that have not been saved are labeled "UNNAMED"), and the run ID of the test session. Test reports have an ".xls" or ".csv" extension and Test Logs have a ".log.txt" extension.
1. |
Select View > Test Results from the Main menu. A new Test Results browser window opens and displays a list of the results saved from your test sessions. |
|
2. |
When you select Enable ToolTips, many components on the page will provide helpful hints. Recommended for first time users.
You can click on the Help button and it will take you to this page.
|
|
3. |
If you want to view another Users results, click the View Another User link and select the user's name from the User Results Directory list. You can click on the Help button and it will take you to this page. Optional User Authentication which restricts user access was added for the Result Website . See additional details below.
Test Results browser window opens and displays a list of the results saved from your test sessions :
|
User Authentication |
The feature is controlled via TAS Manager CLI command, results-auth-admin [ on | off | check ] ##>results-auth-admin Usage: results-auth-admin [on|off|check] ##>results-auth-admin check results-auth-admin: on ##>
When enabled, you will be prompted to login: Select View > Test Results from the Main menu. When Authentication is enabled, you will be prompted to login:
Note: If the TAS is not running, you will not be able to login. The TAS is used for authentication. You will get an error “Error!Can't connect to TAS”. If you enter an unknown or invalid Username or Password you will get an error.
If you are logged in as Test Admin or greater, you can see all user results and you are able to switch between users. Links to the Usage CSV files are provided:
When you are logged in as a Test Admin, you can see the Switch User button. When logged in as test operator you are brought directly to your own results listing and there is no Switch User button. With the Authentication enabled, the Download ZIP option is not supported. When going directly to specific URL (entering by hand or copy/pasting into address bar), if the user was not logged in yet, they would be required to login via the login page : If you enter unknown/invalid Username or Password you will get an error, If the credentials are correct, but the user doesn’t have access to the specific resource in the URL, the page will redirect to the user’s default landing page. For example if Test Operator Bingyu tries to reach a URL for sms results, it will just show this page :
And the link will end up here:
If the user has the access to the test results, there will be a new window popup as the default landing page, it requires user’s permissions according to the specific browser a. Firefox
b. Chrome
Select ‘Allow pop-ups for URL’ for the default landing page. Go to ‘settings’ to change it : a. Firefox : options->Privacy&Security->Permissions->Block pop-up windows->Exceptions b. Chrome : settings-> advanced->Privacy and Security->Site Settings->Pop-ups and redirects
With different type of test results, the browser will execute them differently based on the following: .log, .txt, most browsers would show it directly; The other formats like .pcap .csv .xls ,etc. would activate the downloading process.
Also when Auth is enabled, the RESTful API should return the correct getFile.cgi? URLS in the Results List: "resultFilesList": [ "http://TASIP/getFile.cgi?sms/19-08-13_08.05.55__RID-1__SCH_TEST_AFW1b.log.txt", "http://TASIP/getFile.cgi?sms/19-08-13_08.05.55__RID-1__SCH_TEST_AFW1b.xls" ] When Authentication is turned off, you have direct access to the Usage Report.csv files. |
NOTES:
|
NOTE: For every test session that has test cases with External Apps enabled, we automatically produce a network traffic capture file (tsn_tcn_veth_capture.pcap) and an error file (tsn_tcn_error_results.ret) under test results displayed by the TAS. The Network Traffic file only captures the network traffic for the test case from the External Apps point of view, not the Landslide viewpoint and the error file logs any errors that occurred in the External Apps point of view only.
|