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!
Moderators
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-ProductsServices
07/11/2017
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
1 Guest(s)