View Issue Details

IDProjectCategoryView StatusLast Update
0004443Compliance Test Tool (CTT) Unified Architecture5 - General Problempublic2019-07-23 13:45
ReporterHannes Mezger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.341.383 
Target Version1.03Fixed in Version1.03.341.383 
Summary0004443: Base Info Server Capabilities/006 + 007 + 008 + 011 + 014
Description

All of the scripts invoke the service using the configured maximum, expect success.

After that, the call is repeated for maximum + 1 operations, expecting different results, depending on the script. Some expect BadOutOfRange, others BadTooManyOperations or BadEncodingLimitsExceeded and some combinations of those.

1.
This needs to be consistent for all those scripts. BadEncodingLimitsExceeded should be accepted in all cases, as this is a common service result code which might be returned by the communication stack if limits are exceeded.

2.
For protecting against malicious clients, some server implementations might return an error message (see part 6, 7.1.2.5) containing BadEncodingLimitsExceeded instead of a ServiceFault with the status. In the CTT implementation of the services, the status of the error message is returned by the session.<service>() call and stored in the this.UaStatus variable. This is only checked for Good/Bad and an error is thrown if Bad. Instead, this.UaStatus should be matched against the ExpectedAndAcceptedResults and no error should be thrown on match.

3.
If a server sends an error message, it will close the TransportConnection to the client. After that, no service calls are possible anymore on the used SecureChannel. This has to be considered in the test scripts.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2018-12-07 11:40

developer   ~0009674

I prepared a fix for all those concerns. But unfortunately my test servers are not returning such ErrorMessages. Could you provide me a sample to verify the fixes?

Alexander Allmendinger

2018-12-14 13:10

developer   ~0009702

Fixed all mentioned issues.
Please note that the test script will fail, when the MaxByteStringLength of the Serializer is to small to send a WriteRequest with the MaxNodePerWrite of elements in it.

Paul Hunkar

2019-07-23 13:45

administrator   ~0010557

reviewed in CMP Call

Issue History

Date Modified Username Field Change
2018-11-08 15:00 Hannes Mezger New Issue
2018-11-08 15:00 Hannes Mezger Status new => assigned
2018-11-08 15:00 Hannes Mezger Assigned To => Alexander Allmendinger
2018-11-08 15:00 Hannes Mezger Issue generated from: 0004442
2018-11-08 15:04 Hannes Mezger Issue cloned: 0004444
2018-12-07 11:40 Alexander Allmendinger Note Added: 0009674
2018-12-07 11:40 Alexander Allmendinger Status assigned => feedback
2018-12-14 13:10 Alexander Allmendinger Note Added: 0009702
2018-12-14 13:10 Alexander Allmendinger Status feedback => resolved
2018-12-14 13:10 Alexander Allmendinger Fixed in Version => 1.03.341.383
2018-12-14 13:10 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:14 Paul Hunkar Category General Problem => 4 - General Problem
2019-01-28 14:15 Paul Hunkar Category 4 - General Problem => 5 - General Problem
2019-07-23 13:42 Paul Hunkar Target Version => 1.03
2019-07-23 13:45 Paul Hunkar Status resolved => closed
2019-07-23 13:45 Paul Hunkar Note Added: 0010557