Read/write access in CTT|OPC Certification and Interoperability Testing|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Read/write access in CTT
Avatar
Guest
Guests
1
08/22/2018 - 04:58
sp_Permalink sp_Print

Hello,

 

I am using the test tool (CTT) to test my OPC UA server. 

I test the read and write functions from the nano server profile. I only use a few NodeId types (String, Uint32, Int32 and Float) and these are assigned with nodes in Server Test -> NodeIds -> Static -> All Profiles -> Scalar.

Only one of my String values is writable, all other values are read only. But when I mark the data types all says “Access: Read/Write” (in blue, down in the window).

I think this causes problems in the Write-tests. When I have these assignments I get errors in all of the tests, “BadNotWritable”. If I remove all assignments except the String-node I pass the tests.

Can I change the “Access: Read/Write” to “Access: Read” for my Int32, Uint32 and Float?

Thank you!

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 66
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
2
08/27/2018 - 03:42
sp_Permalink sp_Print

Hello,

unfortunately this is not possible. The CTT in its current version doesn't allow to identify the access rights on the configured nodes. Therefore I would recommend to execute the steps as you already described it.

1. Configure all available data types and do run all test cases which do NOT require a write call

2. Configure only the writable nodes and do run all test cases including all which DO require a write call

Another option would be to run it only once and check the reported errors of the CTT. The BadNotWritable should not be returned as a ServiceResult and neither for the node that is writeable (your string value). This way you only need to run the CTT with one configuration but need more time to take a look at the results.

For the certification testing this wouldn't be a problem as we would do exactly the same in the certification lab. We would create two different CTT configurations.

I hope this helps.

Alexander Allmendinger

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1347
Posts: 4571