CTT XML ouput format|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
CTT XML ouput format
Avatar
Vincent Lacroix
Member
Members
Forum Posts: 14
Member Since:
07/06/2017
sp_UserOfflineSmall Offline
1
12/14/2017 - 03:50
sp_Permalink sp_Print

Hello,

I am trying to do automated testing with the CTT. However, I don't fully understand the content of the log file.

I see in CTT documentation (file:///opt/opcfoundation/uactt/help/index.htm) that return code are:

-1 : Error

0 : OK

1: Warnings

But here is an extract of the CTT XML log file (tests 1 and 2 are OK, test 3 fails):

<ResultNode status="" description="" testresult="5" timestamp="" name="initialize.js"/>
<ResultNode status="" description="Read: VALUE attribute of a single node." testresult="5" timestamp="" name="001.js"/>
<ResultNode status="" description="Read: Multiple attributes from a single node, in a single call." testresult="5" timestamp="" name="002.js"/>
<ResultNode status="" description="Read all available attributes from a single (valid) node, in a single call." testresult="0" timestamp="" name="003.js">

What is the meaning of testresult ? Is there a documentation of the ouput format ? How can I identify failing and succeeding tests ?

Best Regards,

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 67
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
2
12/20/2017 - 03:50
sp_Permalink sp_Print

Hello,

the values for the test results of the command line interface and in the XML-File are different. In the command line interface the test results are:

-1: Error
 0: OK
 1: Warnings

like you already mentioned. In the XML file the field testresult is defined in a different way which is:

0: Fail/Error
1: Warning
2: Not Implemented
3: Skipped
4: Not Supported
5: OK / Log
6: Back-trace

The result codes are described in the CTT help in the Integration -> Project Files -> project_name.results.xml page.

Let me know if you have any further questions.

Best Regards
Alexander Allmendinger

Avatar
Vincent Lacroix
Member
Members
Forum Posts: 14
Member Since:
07/06/2017
sp_UserOfflineSmall Offline
3
12/21/2017 - 00:32
sp_Permalink sp_Print

Hello,

Thanks for your answer. That's what I was looking for.

I think this topic can be closed.

Best Regards,

Vincent Lacroix

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