mqtt-jmeter icon indicating copy to clipboard operation
mqtt-jmeter copied to clipboard

ConnectionClosedException: Server closed connection without DISCONNECT.

Open kenlee0305 opened this issue 2 years ago • 3 comments

When i run my test plan with the number of threads exceeding 50, the test with the number of threads 51 starts getting the following exception. Does anyone know how to fix it?

Thank you

SEVERE: Failed to establish Connection null java.util.concurrent.ExecutionException: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT. at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096) at net.xmeter.samplers.mqtt.hivemq.HiveMQTTClient.connect(HiveMQTTClient.java:78) at net.xmeter.samplers.ConnectSampler.sample(ConnectSampler.java:91) at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:638) at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558) at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.

kenlee0305 avatar Dec 14 '21 06:12 kenlee0305

Any update on this ?? I am also facing same issue

Ragulpalaniappan avatar Dec 05 '22 11:12 Ragulpalaniappan

did you testing with csv file loaded? I am also facing same issue when I try load csv config

LinhNDD1-NAL avatar Jan 03 '23 03:01 LinhNDD1-NAL

Try increasing the setting for number of open files by typing : ulimit -n 20000

alvinjoseph7 avatar Sep 10 '23 16:09 alvinjoseph7