View Issue Details

IDProjectCategoryView StatusLast Update
0004076Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-31 15:36
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.340.378 
Target Version1.03Fixed in Version1.03 
Summary0004076: Security/Security Basic 256Sha256/002.js accidentally skipped
Description

This script gets skipped when Protocol and Encoding/Protocol TCP Binary UA Security/ is enabled.
The problem is that this test case overwrites the available endpoints here:

Protocol and Encoding/Protocol TCP Binary UA Security/Test Cases/initialize.js:
if( gServerCapabilities.Endpoints !== null && gServerCapabilities.Endpoints.length > 0 ) {
for( var e=0; e<gServerCapabilities.Endpoints.length; e++ ) { // iterate thru all endpoints
var currentEP = gServerCapabilities.Endpoints[e];
if( currentEP.SecurityMode == MessageSecurityMode.SignAndEncrypt ) {
if( currentEP.SecurityPolicyUri == SecurityPolicy.policyToString( SecurityPolicy.Basic128Rsa15 ) ) {
endpointBas128 = currentEP;
}
else if( currentEP.SecurityPolicyUri = SecurityPolicy.policyToString( SecurityPolicy.Basic256 ) ) {
endpointBas256 = currentEP;
}
}
}//for e...
}
else {
addError( "No secure endpoints available. Aborting tests." );
stopCurrentUnit();
}

See the "else if" condition uses = instead of ==

TagsNo tags attached.
Files Affected

Relationships

related to 0004150 closedAlexander Allmendinger maintree\Protocol and Encoding\Protocol TCP Binary UA Security\Test Cases\initialize.js 

Activities

Alexander Allmendinger

2018-02-13 15:42

developer   ~0008866

fixed:
else if( currentEP.SecurityPolicyUri = SecurityPolicy.policyToString( SecurityPolicy.Basic256 ) ) {
to:
else if( currentEP.SecurityPolicyUri == SecurityPolicy.policyToString( SecurityPolicy.Basic256 ) ) {

Paul Hunkar

2019-08-31 15:36

administrator   ~0010870

reviewed in extra CMP call

Issue History

Date Modified Username Field Change
2017-11-27 10:15 Bernd Edlinger New Issue
2017-11-27 10:15 Bernd Edlinger Status new => assigned
2017-11-27 10:15 Bernd Edlinger Assigned To => Alexander Allmendinger
2017-12-01 15:37 Paul Hunkar Target Version => 1.03
2018-02-05 10:37 Bernd Edlinger Relationship added related to 0004150
2018-02-13 15:42 Alexander Allmendinger Note Added: 0008866
2018-02-13 15:42 Alexander Allmendinger Status assigned => resolved
2018-02-13 15:42 Alexander Allmendinger Fixed in Version => 1.03
2018-02-13 15:42 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-31 15:36 Paul Hunkar Status resolved => closed
2019-08-31 15:36 Paul Hunkar Note Added: 0010870