View Issue Details

IDProjectCategoryView StatusLast Update
0009277CTT UA Scripts1 - Script Issuepublic2024-03-27 17:47
ReporterGigantic Heisenberg Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindowsOS Version10
Fixed in Version1.03.508 
Summary0009277: Monitor_Basic_026 needs a cleared PublishHelper before execution
Description

Monitor_Basic_026 fails, when it is executed stand alone, but passes when it executed with other Tests (e.g, Monitor_Basic_001).
The clearPublish() function is part of the Test.PostTestFunctions and thus is executed after each Test. So Monitor_Basic_026 runs with a cleared PublishHelper, when executed with other prepended tests and runes with a used publish helper, when executed stand alone.

append "clearPublish()" after the last line of Monitor_Basic/initialize.js to fix this.

Additional Information

The described issue was observed in test scrip version 1.04.500 an 1.04.502

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2023-12-14 15:29

administrator   ~0020532

waiting for feedback from the submitter

Sebastian Allmendinger

2024-02-12 20:58

developer   ~0020794

After some discussions and further investigation by the reporter, the reason for the reported behavior has been identified.
The server, that has been tested with the CTT, collects data from an external data source. Due to architecture, the initial establishment of the communication to and the start of the collection of data from the data source take some time and - depending on the used PublishingInterval - the first PublishResponse after the creation of a Subscription and MonitoredItems may not contain data.
Most of the test scripts in this Conformance Unit are already prepared for this scenario (for example test script 003), but some (like the one mentioned in this mantis report) are not.

Sebastian Allmendinger

2024-03-27 17:35

developer   ~0021062

Added an initial Publish call to the initialize script to enter the KeepAlive period. As a result, the server has more time to sample data from the datasource before a PublishResponse must be sent.

Paul Hunkar

2024-03-27 17:47

administrator   ~0021064

reviewed changes in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2023-11-27 10:12 Gigantic Heisenberg New Issue
2023-12-14 15:29 Paul Hunkar Assigned To => Paul Hunkar
2023-12-14 15:29 Paul Hunkar Status new => feedback
2023-12-14 15:29 Paul Hunkar Note Added: 0020532
2024-02-12 20:58 Sebastian Allmendinger Note Added: 0020794
2024-03-27 17:34 Sebastian Allmendinger Project CTT UA Test Case => CTT UA Scripts
2024-03-27 17:35 Sebastian Allmendinger Assigned To Paul Hunkar => Sebastian Allmendinger
2024-03-27 17:35 Sebastian Allmendinger Status feedback => resolved
2024-03-27 17:35 Sebastian Allmendinger Resolution open => fixed
2024-03-27 17:35 Sebastian Allmendinger Note Added: 0021062
2024-03-27 17:47 Paul Hunkar Status resolved => closed
2024-03-27 17:47 Paul Hunkar Fixed in Version => 1.03.508
2024-03-27 17:47 Paul Hunkar Note Added: 0021064