I have a problem with running my own Đ•xternal test on Mikroeletronika a.d. manufacturer. I think my configuration is good, because connecting and disconnecting device as well as reading attributes is not a problem for me. I put the saved file in the path and it simply will not run any external test in the report.
I attached a picture to see if the file path is good or if you have any solution I would be grateful.
First, check that all Excluded GuruxTests are excluded. Expand that and verify it. I notest that sometimes root level shows that all tests are excluded, but there are couple tests to run.
I tried that and it wont work again. All gurux tests are exluded. Do I need to expand each of gurux tests (Authentication, clock, profiles and services tests) separately and put each test as exluded or it is okay as in the picture?
I read your original question again and I believe I lost the original idea at some point. I changed the XML so it works, but your original question was how to see the results of the external tests in the report.
The external results are not shown in the report at the moment. You can see results in the conformance test output at the moment. I was thinking this and it might be a good idea to add results to the report.
It will be there in the next release.
I was wrong. The result is there. The extension of the external test must be .XML or it's ignored. Check the extension and make sure it's XML and not .txt, etc. Let me know if you have problems.
It's working now. It was the extension problem. I didnt realize it was .txt, because that part wasn't in the tutorial.
I changed it to .xml and it was executed. Thank you for your time and support.
Hi,
Hi,
The path is correct. I believe that the structure of the test is invalid. Can you share it so I can check what might be the problem?
BR,
Mikko
Thanks for responding,
Thanks for responding,
I created the structure as in the example in the video (tutorial), as well as some example over the git, but here
is my plain text below.
<?xml version="1.0" encoding="utf-8"?>
<Messages>
<GetRequest>
<GetRequestNormal>
<!--Priority: HIGH ServiceClass: CONFIRMED invokeID: 1-->
<InvokeIdAndPriority Value="*"/>
<AttributeDescriptor>
<!--DATA-->
<ClassId Value="1"/>
<!--0.0.96.1.0.255-->
<InstanceId Value="0000600100FF"/>
<AttributeId Value="2"/>
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest><GetResponse>
<GetResponseNormal>
<!--Priority: HIGH ServiceClass: CONFIRMED invokeID: 1-->
<InvokeIdAndPriority Value="*"/>
<Result>
<Data>
<!--11080787-->
<OctetString Value="*"/>
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</Messages>
Hi,
Hi,
First, check that all Excluded GuruxTests are excluded. Expand that and verify it. I notest that sometimes root level shows that all tests are excluded, but there are couple tests to run.
Then try with this:
<?xml version="1.0" encoding="utf-8"?>
<Messages>
<GetRequest>
<GetRequestNormal>
<!--Priority: HIGH ServiceClass: CONFIRMED invokeID: 1-->
<InvokeIdAndPriority Value="81"/>
<AttributeDescriptor>
<!--DATA-->
<ClassId Value="1"/>
<!--0.0.96.1.0.255-->
<InstanceId Value="0000600100FF"/>
<AttributeId Value="2"/>
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest><GetResponse>
<GetResponseNormal>
<!--Priority: HIGH ServiceClass: CONFIRMED invokeID: 1-->
<InvokeIdAndPriority Value="*"/>
<Result>
<Data>
<None Value="*"/>
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</Messages>
BR,
Mikko
I tried that and it wont work
I tried that and it wont work again. All gurux tests are exluded. Do I need to expand each of gurux tests (Authentication, clock, profiles and services tests) separately and put each test as exluded or it is okay as in the picture?
Hi,
Hi,
This works without problems for me.
Do you see any errors If you double click the conformance test output?
See pic below.
BR,
Mikko
Hi,
Hi,
No errors, no warnings at all. Here is the picture of my report below.
Hi,
Hi,
I read your original question again and I believe I lost the original idea at some point. I changed the XML so it works, but your original question was how to see the results of the external tests in the report.
The external results are not shown in the report at the moment. You can see results in the conformance test output at the moment. I was thinking this and it might be a good idea to add results to the report.
It will be there in the next release.
BR,
Mikko
Hi,
Hi,
I was wrong. The result is there. The extension of the external test must be .XML or it's ignored. Check the extension and make sure it's XML and not .txt, etc. Let me know if you have problems.
BR,
Mikko
It's working now. It was the
It's working now. It was the extension problem. I didnt realize it was .txt, because that part wasn't in the tutorial.
I changed it to .xml and it was executed. Thank you for your time and support.
Hi,
Hi,
Thank you for this info. This is now improved.
https://www.gurux.fi/GXDLMSDirector.ConformanceTest
BR,
Mikko