Hi,
We have been trying to set up the Gurux DLMS simulator for load testing. Following the steps outlined in the Gurux repository, we generated the simulator template for client address 48 using the command below:
c:\HES\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -h -p -i WRAPPER -c 48 -a High -P -C AuthenticationEncryption -T -A -B -v 0.0.43.1.3.255 -d India -t Verbose -o allied_simulator_template.xml -t Verbose
However, we encountered an "Invalid device template file" error while executing the following command:
C:\HES\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -p 1000 -x allied_simulator_template.xml.xml -t Verbose -N 10
Error Log:
DLMS HDLC Logical Name simulator start in ports 1000-1009.
Invalid device template file allied_simulator_template.xml.xml
java.lang.RuntimeException: Invalid device template file allied_simulator_template.xml.xml
at gurux.dlms.simulator.GXDLMSMeter.init(GXDLMSMeter.java:192)
at gurux.dlms.simulator.GXDLMSMeter.initialize(GXDLMSMeter.java:115)
at gurux.dlms.simulator.Simulator.startSimulator(Simulator.java:192)
at gurux.dlms.simulator.Simulator.main(Simulator.java:283)
Could you please provide your insights on this issue and advise on how to resolve it?
Thanks,
Srinivasan
Hi Srinivasan, Your file…
Hi Srinivasan,
Your file name is different when you start the simulator.
BR,
Mikko
Hi Mikki, It's typo error…
Hi Mikki,
It's typo error while updating in this form, It's my bad.
we have generated new file again and tried still same issue.
C:\HES\Gurux.DLMS.Simulator\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -p 1000 -x ALLAL80050201.xml -t Verbose -N 10
Thanks,
Srinivasan