View Issue Details

IDProjectCategoryView StatusLast Update
0004774Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-07-25 13:17
ReporterKarl Mayr Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.389 
Target Version1.03.341.390Fixed in Version1.03.341.390 
Summary0004774: Session Services / Session Base / Test case 012 aborts because of test case 005
Description

Test case 005 performs CreateSession twice, but CloseSession only once. Therefore only 49 sessions can be created during test 012 instead of max 50.

Steps To Reproduce

Perform Session Services / Session Base / Test case 005 and 012

Additional Information

Script Output for Test 005:

~~~ START OF TEST [activateSession002] ~~~

CreateSession( EndpointUrl=opc.tcp://ctt1:4841; SessionName: UaCttSession_2; RequestedSessionTimeout: 120000 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
ActivateSession( LocaleIds #1; UserIdentityToken: 3 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
Read( NodesToRead #2; TimestampsToReturn: 1; MaxAge: 0 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
Read( NodesToRead #1; TimestampsToReturn: 2; MaxAge: 0 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
CloseSession().Result: Good (0x00000000)
CloseSession( DeleteSubscriptions=true ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
old order: Size: 3 [0] = de|[1] = en|[2] = fr
new order: fr,en,de
CreateSession( EndpointUrl=opc.tcp://ctt1:4841; SessionName: UaCttSession_3; RequestedSessionTimeout: 120000 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
ActivateSession( LocaleIds #0; UserIdentityToken: 3 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.
Read( NodesToRead #2; TimestampsToReturn: 1; MaxAge: 0 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected.

~~~ END OF TEST [activateSession002] ~~~
TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2019-07-24 11:00

developer   ~0010570

Because the script was reusing the old session object the script didn't close the session as the closed flag has already been set after closing it in the first half of the script. Now the script is create a different session object which then correctly is being closed.

Paul Hunkar

2019-07-25 13:17

administrator   ~0010581

Reviewed in CMP call

Issue History

Date Modified Username Field Change
2019-06-04 13:24 Karl Mayr New Issue
2019-06-13 14:59 Alexander Allmendinger Assigned To => Alexander Allmendinger
2019-06-13 14:59 Alexander Allmendinger Status new => assigned
2019-07-24 11:00 Alexander Allmendinger Status assigned => resolved
2019-07-24 11:00 Alexander Allmendinger Resolution open => fixed
2019-07-24 11:00 Alexander Allmendinger Fixed in Version => 1.03.341.390
2019-07-24 11:00 Alexander Allmendinger Note Added: 0010570
2019-07-25 13:17 Paul Hunkar Target Version => 1.03.341.390
2019-07-25 13:17 Paul Hunkar Status resolved => closed
2019-07-25 13:17 Paul Hunkar Note Added: 0010581