What code ends the connection

JMeter has a proprietary plugin that closes the connection incorrectly.

When I tried to debug the launch of the JMeter client, all I had is that it happens in JMeterThread.java, when the method is run, finally when the curentSampler variable changes.

currentSampler = null; // prevent any further interrupts


How can I debug, get information about what code is causing the connection to close?

I run JMeter with debug settings like this:

DEBUG="-verbose:gc -XX:+PrintTenuringDistribution -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"


Then I connect to it using IDEA.


source to share

All Articles