View Issue Details

IDProjectCategoryView StatusLast Update
0007890CTT UA Test Case4 - Test Case Definitionpublic2022-10-14 07:59
ReporterHans Berende Assigned ToSebastian Allmendinger  
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Summary0007890: Subscription Services/Subscription Publish Min 02/003.js - PublishingInterval measured incorrectly
Description

Test 003.js measures the publishing interval, starting with the PublishingInterval as specifed in the CreateSubscriptionRequest (5000) and after calling a modifysubscription (10000). The test makes incorrect assumptions about the start time of the publishing timer. Under circumstances the test will fail with an error although the behavior of the OPC UA Server is correct according to the subscription state table and the OPCUA specification.

publish#1 and publish#2:
The time should be measured between the CreateSubscriptionResponse and the first PublishResponse. The test, however, measures between PublishRequest and PublishResponse, assuming that the time, consumed by CreateMonitoredItemsRequest, 2 PublishRequests and a WriteRequest, is less than 500 msec.. If these commands combined consume more time, the test will fail even if the PublishingInterval is respected.

Steps To Reproduce

Increase the time between CreateSubscriptionRequest and sending the PublishRequest. If the server does not consume that much time, a Wait (UaDateTime.CountDown({ Msecs: 2000, SuppressMessage: true })) can be added between these calls.

Additional Information

The wireshark log files show, that the PublishingInterval between the CreateSubscriptionRequest, when the publishing interval timer is startet, and the successive PublishResponse messages always are correct.

TagsExpected a value greater than <4500> and less than <5500>; but received <4073>
Files Affected

Relationships

related to 0007382 closedAlexander Allmendinger CTT UA Scripts CTT crash on test Subscription Services / Subscription Publish Min 02 / 003.js 

Activities

Paul Hunkar

2022-04-11 17:17

administrator   ~0016569

the timer should be based on the subscription create to publish response for first interval and then it can be the timing between publishes

Alexander Allmendinger

2022-04-19 09:10

developer   ~0016589

Following the description, this issue appears to be against Subscription Services / Subscription Publish Min 02 / 003

Issue History

Date Modified Username Field Change
2022-03-24 11:59 Hans Berende New Issue
2022-03-24 11:59 Hans Berende Tag Attached: Expected a value greater than <4500> and less than <5500>; but received <4073>
2022-04-11 17:16 Paul Hunkar Assigned To => Alexander Allmendinger
2022-04-11 17:16 Paul Hunkar Status new => assigned
2022-04-11 17:17 Paul Hunkar Note Added: 0016569
2022-04-19 09:09 Alexander Allmendinger Summary Subscription Services/Subscription Minimum 02/003.js - PublishingInterval measured incorrectly => Subscription Services/Subscription Publish Min 02/003.js - PublishingInterval measured incorrectly
2022-04-19 09:10 Alexander Allmendinger Note Added: 0016589
2022-04-19 09:10 Alexander Allmendinger Relationship added related to 0007382
2022-04-19 09:13 Alexander Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2022-08-02 20:06 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Test Case