In a TCP sampler, if I set its "timeouts" of response as blank. That is to say, if there is no response returned from peer server, this TCP sampler will be waiting on it for ever. But even I press "Stop" or "Shutdown" button from JMeter's menu, the blocked TCP sampler can't exit smoothly. I have to kill the process of JMeter or quit JMeter. It's not so convenient. I hope the "Stop" button can work to stop the test task even if it's blocking on socket. Thanks.
Only Stop is supposed to interrupt active samplers, however TCPSampler does not currently implement the Interruptible interface. Fixed in SVN: URL: http://svn.apache.org/viewvc?rev=1382510&view=rev Log: Pressing "Stop" does not interrupt the TCP sampler Bugzilla Id: 53838 Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2916