Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. External Tests Problem

External tests problem

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Ivan23, 27 December, 2021
Forums
Known problems

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.

Best regards

Image
Profile picture for user Kurumi

Kurumi

3 years 4 months ago

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

Ivan23

3 years 4 months ago

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>

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

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

Ivan23

3 years 4 months ago

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?

Image
Profile picture for user Kurumi

Kurumi

3 years 4 months ago

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

Image

Ivan23

3 years 4 months ago

Hi,

Hi,

No errors, no warnings at all. Here is the picture of my report below.

Image
Profile picture for user Kurumi

Kurumi

3 years 4 months ago

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

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

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

Ivan23

3 years 4 months ago

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.

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

Hi,

Hi,

Thank you for this info. This is now improved.
https://www.gurux.fi/GXDLMSDirector.ConformanceTest

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More

Who's new

  • David2221
  • david1212
  • Basv@1
  • ymgr86
  • blazeparker
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin