View Issue Details

IDProjectCategoryView StatusLast Update
0003994Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-07-10 16:46
ReporterHannes Mezger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03Fixed in Version1.03.341.384 
Summary0003994: Session Base/Err-007
Description
  • When running Err-007 and after that Err-009, there is an error in Err-009 (don‘t know why this happens):
    CreateSessionResponseHeader.RequestHandle does not match expected RequestHandle. Expected: 24 Received: 0
  • I think Err-007 doesn‘t really do what the intention was: the description says it shall send an empty ClientSignature and this is an error testcase, but it expects Good and does not clear the ClientSignature at all
  • There also seems something off with the script: the error about CreateSessionResponse is shown even if the server doesn‘t send a CreateSessionResponse at all!
Additional Information

Found with Unified Automation AnsiC DemoServer v1.8.0-358

TagsNo tags attached.
Files Affected

Relationships

related to 0004977 closedSebastian Allmendinger Session Base err-007 needs to be run against secure endpoint 

Activities

Alexander Allmendinger

2017-10-26 15:28

developer   ~0008606

The script actually doesn't set the ClientSignature to null.
Try to set the ClientSignature to null and check if it'll be empty in the request.

Alexander Allmendinger

2017-10-26 15:36

developer   ~0008607

Please check for correct behavior of the server if the ClientSignature is null/empty.

Hannes Mezger

2018-11-07 17:12

reporter   ~0009539

CTT version 1.3.341.383 skips these tests now, the issue can be closed

Paul Hunkar

2019-01-07 14:51

administrator   ~0009799

This test case should be testing a user connection that is using a user authentication that requires a signature (Username/password or X.509) and the signature is not included - which would then be a valid failure case.

Also the Anonymous case with a signature is another error case that needs to be tested.

Alexander Allmendinger

2019-01-11 14:27

developer   ~0009812

Even though the script is not really an error test case we left the script but fixed the initially connection break reported.

The ClientSignature for an IdentityToken over an unsecure channel is null anyhow, so this test result should be a Test Case to pass.

For the additionally mentioned scenario where we set the ClientSignature null for a secure channel there is already the test case Err-022 available which wasn't implemented by now. This script has been added and will be available in the next version of the CTT.

The test case for sending a ClientSignature when it is not needed should be moved in an own Mantis.

Paul Hunkar

2019-07-25 13:47

administrator   ~0010589

Reviewed in CMP call

Issue History

Date Modified Username Field Change
2017-10-10 13:05 Hannes Mezger New Issue
2017-10-10 13:05 Hannes Mezger Status new => assigned
2017-10-10 13:05 Hannes Mezger Assigned To => Alexander Allmendinger
2017-10-26 15:28 Alexander Allmendinger Note Added: 0008606
2017-10-26 15:28 Alexander Allmendinger Target Version => 1.03
2017-10-26 15:35 Alexander Allmendinger Assigned To Alexander Allmendinger => Paul Hunkar
2017-10-26 15:36 Alexander Allmendinger Note Added: 0008607
2017-11-17 14:40 Paul Hunkar Target Version 1.03 => 1.04
2018-11-07 17:12 Hannes Mezger Note Added: 0009539
2019-01-07 14:51 Paul Hunkar Note Added: 0009799
2019-01-07 14:51 Paul Hunkar Assigned To Paul Hunkar => Alexander Allmendinger
2019-01-11 14:27 Alexander Allmendinger Note Added: 0009812
2019-01-11 14:27 Alexander Allmendinger Status assigned => resolved
2019-01-11 14:27 Alexander Allmendinger Fixed in Version => 1.03.341.384
2019-01-11 14:27 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-07-25 13:47 Paul Hunkar Target Version 1.04 => 1.03
2019-07-25 13:47 Paul Hunkar Status resolved => closed
2019-07-25 13:47 Paul Hunkar Note Added: 0010589
2020-07-10 16:46 Paul Hunkar Relationship added related to 0004977