Read the Test Logs

This section describes the test logs produced by PSY tester

PSY Tester writes test logs for its tests. The logs indicate if a test was successful. A separate log file is produced for each tested PSY.

Open and read a test log file PSY Tester writes a separate log file for each PSY that was tested. The log filename is of the form <PSYNAME>_<UID>.txt (for example TestPSY5Status_01ff0018.txt). Log files are stored in C:\logs\psytester. The log file begins with a header that contains the same information as in the PSY Tester List View: implementation name, implementation UID and version number. The different test parameters specified in the PSY Tester resource file are then logged. There is a test header for every test performed. It declares the name of the test and the time and date when the test was performed. All test headers begin with a line of ‘*’ characters. At the end of the log, there is a summary that gives the total number of messages of different types: Info, Warning and Error. Note that for repeated tests for the same PSY, the output is appended in the log file. The example log below shows the contents of the log file that is generated when testing a PSY called TestPSY5Status. It shows the test output with a number of Info information messages. If there is a problem with the test, Error and Warning are written in the log. For some complex tests, the results in the log are divided into sections by delimiters. A number of ‘=’ characters together with some information text marks a section of results, and in some cases, these subsections are divided into separate subsections that are marked with a number of ‘-‘ characters. If a log file contains only Info messages, the PSY has sucessfully passed the tests.
********************************************************************
PSY Name: Test PSY5 Status
PSY Uid: [01ff0018]
PSY Version: 1
********************************************************************
PSY Tester Parameters.
********************************************************************
Number of Memory Requests: 1000
Number of Location Requests: 25
Number of Partial Update Requests: 20
Number of Stress Test Instances: 20
Number of Multiple Session Test Instances: 3
Number of Multiple Session Cancel Test Instances: 2
Heap Size Percentage Level: 10
Time To Fix Threshold: 3
Horizontal Accuracy Threshold: 3
Vertical Accuracy Threshold: 3
Maxage Max Test Time: 30
Max Horizontal Accuracy: 50000
Max Vertical Accuracy: 5000
Reasonable Horizontal Accuracy: 1000
Reasonable Vertical Accuracy: 200
Max Time To First Fix: 30000000
********************************************************************
PSY Central Repository Capability Test
Test date and time : 2003/11/19 13:58:45
********************************************************************
Info: All the PSY Central Repository values are protected with proper capabilities
********************************************************************
Parameter Test
Test date and time : 2003/11/19 13:58:45
********************************************************************
Info: PSYInterfaceVersion = 1
Info: PSYPriority = PriorityAuto
Info: PSYAvailability = Available
Info: TimeToFirstFix = 12000000 µs
Info: TimeToFix = 6000000 µs
Info: VerticalAccuracy = 20.000000 m
Info: HorizontalAccuracy = 20.000000 m
Info: CostIndicator = CostUnknown
Info: PowerConsumption = PowerHigh
Info: TechnologyType = 2
Info: DeviceLocation = DeviceExternal
Info: Horizontal Capability supported as well as necessary TPositionInfo class
Info: Vertical Capability not supported
Info: Speed Capability not supported
Info: Direction Capability not supported
Info: Satellite Capability not supported
Info: Compass Capability not supported
Info: NMEA Capability not supported
Info: Address Capability not supported
Info: Building Capability not supported
Info: Media Capability not supported
Info: TPositionInfo and HPositionGenericInfo classes supported
Info: TPositionCourseInfo class not supported
Info: TPositionSatelliteInfo class not supported
Info: Quality Timeout: 10 s
Info: PSY is visible
********************************************************************
MaxAge Test
Test date and time : 2003/11/19 13:58:45
********************************************************************
Info: PSY doesn't support MaxAge for TPositionInfo.
Info: PSY doesn't support MaxAge for HPositionGenericInfo.
********************************************************************
Memory Test
Test date and time : 2003/11/19 13:58:46
********************************************************************
Info: Stack size: 16384 bytes
Info: Min heap size: 396 bytes, Max heap size: 396 bytes
********************************************************************
Partial Update Test
Test date and time : 2003/11/19 13:58:48
********************************************************************
Info: Number of partial updates: 0 out of 20 requests.
********************************************************************
Uid-ECom Test
Test date and time : 2003/11/19 13:58:52
********************************************************************
Info: UID retrieved and it was correct.
********************************************************************
Cancel Request Test
Test date and time : 2003/11/19 13:58:53
********************************************************************
Info: Cancel of request worked properly, request completed with KErrCancel
********************************************************************
Location Request Test
Test date and time : 2003/11/19 13:58:53
********************************************************************
Info: Time to first fix less or equal than specified.

==== Testing capabilities with TPositionInfo ====
Info: All Requests returned correct UID number in position object
Info: 0 of 24  of TimeToFix values are greater than specified value
Info: All requests returned correct time in position object

---- Testing Horizontal Capability ----
Info: 1/3 or less of horizontal values outside specified accuracy interval.
Number of values outside interval: 0 of 25

---- Testing Vertical Capability ----
Info: Vertical Capability not checked because capability not supported

==== Testing capabilities with HPositionGenericInfo ====
Info: All Requests returned correct UID number in position object
Info: 0 of 24  of TimeToFix values are greater than specified value
Info: All requests returned correct time in position object

---- Testing Horizontal Capability ----
Info: 1/3 or less of horizontal values outside specified accuracy interval.
Number of values outside interval: 0 of 25

---- Testing Vertical Capability ----
Info: Vertical Capability not checked because capability not supported

---- Testing Speed Capability ----
Info: Speed capability not supported

---- Testing Direction Capability ----
Info: Direction capability not supported

---- Testing Satellite Capability ----
Info: Satellite capability not supported

---- Testing Compass Capability ----
Info: Compass Capability not checked because capability not supported

---- Testing NMEA Capability ----
Info: NMEA Capability not checked because capability not supported

---- Testing Address Capability ----
Info: Address Capability not checked because capability not supported

---- Testing Media Capability ----
Info: Media Capability not checked because capability not supported

---- Testing Building Capability ----
Info: Building capability not supported
Info: Location request tests not performed with TPositionCourseInfo because PSY
didn't support it.
Info: Location request tests not performed with TPositionSatelliteInfo because
PSY didn't support it.
********************************************************************
Update Interval Test
Test date and time : 2003/11/19 13:59:3
********************************************************************
Info: Update Interval (Tracking) not supported.
********************************************************************
Monitor Status Test
Test date and time : 2003/11/19 13:59:3
********************************************************************
Info: Status updates seems not to be supported
********************************************************************
Clear Position Data Test
Test date and time : 2003/11/19 13:59:8
********************************************************************

==== Testing clearing of TPositionInfo ====
Info: All TPositionInfo fields were cleared for TPositionInfo

==== Testing clearing of HPositionGenericInfo ====
Info: All TPositionInfo fields were cleared for HPositionGenericInfo
Info: All HPositionGenericInfo fields were cleared for HPositionGenericInfo
==== Testing clearing of TPositionCourseInfo ====
Info: Clearing of position data tests not performed with TPositionCourseInfo because PSY didn't support it.

==== Testing clearing of TPositionSatelliteInfo ====
Info: Clearing of position data tests not performed with TPositionSatelliteInfo because PSY didn't support it.
********************************************************************
Monitor Thread Test
Test date and time : 2003/11/19 13:59:8
********************************************************************

Process monitoring is not performed on emulator
********************************************************************
Multiple Session Test
Test date and time : 2003/11/19 13:59:8
********************************************************************

=== Testing multiple sessions ===
Info: PSY probably uses Request Bundling
Info: 0 of 3 TimeToFix values are greater than specified value
Info: All requests returned correct UID number
Info: 3 of 3 requests returned with KErrNone

=== Testing multiple sessions with cancel, canceling 2 of 3 requests ===
Info: 0 of 3 TimeToFix values are greater than specified value
Info: All requests returned correct UID number
Info: 2 of 3 requests returned with KErrCancel
Info: 1 of 3 requests returned with KErrNone

===Stress testing multiple sessions ===
Info: 0 of 20 TimeToFix values are greater than specified value
Info: All requests returned correct UID number
Info: 20 of 20 requests returned with KErrNone

#################################################################################
#################################################################################
Testing completed! Number of Errors = 0 | Number of Warnings = 0 | Number of Infos = 70
#################################################################################
#################################################################################

For information about handling problems or errors read Handle errors and problems.

Related tasks
PSY Tester Tutorial