View Issue Details

IDProjectCategoryView StatusLast Update
0004751Compliance Test Tool (CTT) Unified Architecture3 - Feature Requestpublic2021-03-29 13:44
ReporterMichael Heilmann Assigned ToSebastian Allmendinger  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.341.397 
Summary0004751: Prefer the MaxStringLength property of a String variable, over the CTTs '/Server Test/Capabilities/Max String Length' setting.
Description

For PLC controllers the string length is individually configured for each variable within the PLC project, regardless whether the server could handle more.
Therefore the CTT could prefer the MaxStringLength property of a String variable - if it has the property set - over the CTTs '/Server Test/Capabilities/Max String Length' setting. This test could also implement, that the CTT tests a string length <= MaxStringLength and the correct handling, if longer.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2019-06-22 14:00

administrator   ~0010396

Agreed

Jochen Baier

2020-07-10 16:47

reporter   ~0012588

this also effects ByteString, DateTime, Duration, ..., These datatypes could also be limited in range by the used data sources/device.
For example I can not test ByteString (has as fixed length) and DateTime (year range 1990-2169) because the test scripts do not consider the fixed ranges.

An alternative solution could be to extend the Settings in /Server Test/NodeIds/Static/All Profiles/Scalar/ with a input box for min/max value or min/max lenght for this kind of variables.

Paul Hunkar

2020-07-12 18:12

administrator   ~0012606

This issue is about The MaxstringLength property which is defined in the OPC Specification and that we should use it instead of an CTT setting. This issue should not be extended for other unrelated topic (OPC already has defined rules for datetime, which I believe tests are already following), If other issues exist for other types enter separate issues for them, The CTT just follows what the specification says - adding configuration setting that restrict testing is not appropriate, A Server needs to conform to what is in the specification.

Sebastian Allmendinger

2020-11-13 20:28

developer   ~0013199

If a new string value is generated, the CTT honors the MaxStringLength/MaxCharLength property of the node if available.
If not, it uses the value of the MaxStringLength node of the ServerCapablities object.
If this optional property is not provided, a length of 1000000 is used.

The test script 'Base Info Server Capabilties / 006' that test the MaxStringLength of the server, is skipped if the configured node provides a MaxStringLength property that is smaller than the value of the MaxStringLength node in the ServerCapabilities object.

Paul Hunkar

2021-03-29 13:44

administrator   ~0014110

Reviewed updated , approved and closed in meeting

Issue History

Date Modified Username Field Change
2019-05-03 08:22 Michael Heilmann New Issue
2019-06-22 14:00 Paul Hunkar Status new => acknowledged
2019-06-22 14:00 Paul Hunkar Note Added: 0010396
2019-07-10 11:18 Paul Hunkar Project Certification => Compliance Test Tool (CTT) Unified Architecture
2019-07-10 11:18 Paul Hunkar Category Feature Request => Api Change
2020-05-21 05:36 Paul Hunkar Category Api Change => 3 - Feature Request
2020-05-21 05:36 Paul Hunkar Product Version 1.02 =>
2020-07-10 16:41 Paul Hunkar Assigned To => Sebastian Allmendinger
2020-07-10 16:41 Paul Hunkar Status acknowledged => assigned
2020-07-10 16:47 Jochen Baier Note Added: 0012588
2020-07-12 18:12 Paul Hunkar Note Added: 0012606
2020-11-13 20:28 Sebastian Allmendinger Status assigned => resolved
2020-11-13 20:28 Sebastian Allmendinger Resolution open => fixed
2020-11-13 20:28 Sebastian Allmendinger Fixed in Version => 1.03.341.397
2020-11-13 20:28 Sebastian Allmendinger Note Added: 0013199
2021-03-29 13:44 Paul Hunkar Status resolved => closed
2021-03-29 13:44 Paul Hunkar Note Added: 0014110