View Issue Details

IDProjectCategoryView StatusLast Update
0006464Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-03-26 14:50
ReporterJochen Baier Assigned ToAlexander Allmendinger  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.04.09.397 
Fixed in Version1.03.341.398 
Summary0006464: CreateMonitoredItems.js function 'createMonitoredItems': RequestHeader.Timestamp set too early: time tolerance warning
Description

Test case 'Monitored Item Service ->Monitor Basic->010.js' (and probably others with header timestamp check) finish with:

"CreateMonitoredItems.Response.ResponseHeader.Timestamp shows a delay in excess of 1100ms, which exceeds the configured tolerance
of: 100 msecs."

The server need 20 ms to respond. The overhead of about 1000 ms is because the ResponseHeader.Timestamp is set too early (createMonItemsRequ.RequestHeader = UaRequestHeader.New( { Session: session } );) After setting the timestamp additional script work is done. In this case:

"// turn the MonitoredItems parameter into an array, if not already; then add to the request."

Which takes about 1000 ms. (using 5000 Monitored Items).

Proposed solution would be to set ResponseHeader.Timestamp as late as possible before sending.

Related ticket: 0006402: Time tolerance warnings

Steps To Reproduce

Test case: Monitored Item Service ->Monitor Basic->010.j
CTT settings: Settings.ServerTest.Capabilities.MaxSupportedMonitoredItems: 0, so MAXMONITOREDITEMLIMITS (5000) is used.

TagsNo tags attached.
Files Affected

Relationships

related to 0006402 closedAlexander Allmendinger Time tolerance warnings 

Activities

Alexander Allmendinger

2021-02-09 16:19

developer   ~0013700

With the fix for the related ticket 6402 the timestamps have been changed to be updated right before sending any of the UA service calls which has a list of elements included.

Paul Hunkar

2021-03-26 14:50

administrator   ~0014088

Reviewed in CMP call - Agreed to changes and closed

Issue History

Date Modified Username Field Change
2021-02-04 11:00 Jochen Baier New Issue
2021-02-09 16:17 Alexander Allmendinger Relationship added related to 0006402
2021-02-09 16:19 Alexander Allmendinger Assigned To => Alexander Allmendinger
2021-02-09 16:19 Alexander Allmendinger Status new => resolved
2021-02-09 16:19 Alexander Allmendinger Resolution open => no change required
2021-02-09 16:19 Alexander Allmendinger Fixed in Version => 1.03.341.398
2021-02-09 16:19 Alexander Allmendinger Note Added: 0013700
2021-03-26 14:50 Paul Hunkar Status resolved => closed
2021-03-26 14:50 Paul Hunkar Note Added: 0014088