JMeter 5.3 Issue with Blazemeter Parallel Controller

363 views
Skip to first unread message

solution...@gmail.com

unread,
Jul 17, 2020, 7:39:59 AM7/17/20
to jmeter-plugins
Hi All,

While testing Blazemeter Parallel Controller (0.9) with Jmeter 5.3 version for few https requests, we are getting the following exception -

java.net.SocketException: Socket Closed 
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)

....

We tried the same script on JMeter 5.2.1 or lower versions and it works without any changes/issues. Please note we identified that is is happening with only few specific https calls and not all https one. We modified the ssl socket protocol, or connect timeouts in 5.3 but to no avail. 

However if I change the parallel controller to transaction controller in JMeter 5.3, it is starting to work without issues.

Seem some conflict on newer version of JMeter vs BZM Parallel Controller in specific cases.


Could you please check and let me know the resolution.

rulz....@gmail.com

unread,
Jul 18, 2020, 9:55:47 AM7/18/20
to jmeter-plugins
Agreed, we have observed issues with this plugin in 5.3 as well. It appears it always allows only 1 request within the parallel controller and rejects remaining with below exception. 

Benjamin Ruhlmann

unread,
Jul 22, 2020, 12:08:15 PM7/22/20
to jmeter-plugins
Hello, I encounter the same problem.
Downgrading to jmeter 5.2.1 seems to solve the issue.

singhab...@gmail.com

unread,
Jul 27, 2020, 5:38:03 AM7/27/20
to jmeter-plugins
Attaching a parallel controller test for reference on the issue.

Please advise on the fix.
ParallelController_JMeter53_ExceptionSocket.jmx

Thomas Scott

unread,
Sep 10, 2020, 1:53:59 PM9/10/20
to jmeter-plugins
I am also having this issue with JMeter 5.3 + bzm Parallel Controller 0.9.  Java version is 1.8.0_261-b12 (64-bit).  Is there a known release date for 0.10?

Nikola Aleksić

unread,
Nov 14, 2020, 4:20:24 PM11/14/20
to jmeter-plugins
Hello,

Andrey, Artem, or whoever is maintaining the project. Did JMeter plugins project still alive? If yes, someone could give any comment about this issue and let us know if/when we can expect any solution, soon. Four months have passed and still no answer... Thank you and best regards.

Jose P Joseph

unread,
Dec 23, 2020, 12:17:05 AM12/23/20
to jmeter-plugins
Seeing a similar error in JMeter 5.4 and Parallel Controller 0.9.

javax.net.ssl.SSLException: Socket closed
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:369)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1491)
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1456)
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1038)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
at org.apache.http.impl.io.SessionInputBufferImpl.read(SessionInputBufferImpl.java:197)
at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:148)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1936)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:476)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:673)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:66)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1296)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1285)
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:635)
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 com.blazemeter.jmeter.controller.JMeterThreadParallel.run(JMeterThreadParallel.java:61)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.endRead(NioSocketImpl.java:248)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:327)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:981)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readFully(SSLSocketInputRecord.java:461)
at java.base/sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:243)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:181)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
... 24 more

Mohammed ElPrince

unread,
Jan 19, 2021, 7:25:53 AMJan 19
to jmeter-plugins
Having the same issue on JMeter 5.4 :( 
Is there any fix/workaround?

Guillaume Betaillouloux

unread,
Jan 28, 2021, 2:15:46 AMJan 28
to jmeter-plugins
The plugin apparently used to work on a "hack" that has since been fixed:
https://bz.apache.org/bugzilla/show_bug.cgi?id=64618

It's unlikely that this plugin can continue to work in versions above 5.2

Thomas Scott

unread,
Jul 2, 2021, 3:27:33 PMJul 2
to jmeter-plugins
Version 0.11 of this plugin was released on 20210430 and may have resolved this issue, but I haven't verified.  Perhaps someone else on this thread has?  The documentation reads 'What's new in version 0.11: Fix parallel controller for JMeter 5.3+'.
https://github.com/Blazemeter/jmeter-bzm-plugins/tree/master/parallel
Reply all
Reply to author
Forward
0 new messages