bzm - Parallel Controller , softStop() method not releasing the current thread

90 views
Skip to first unread message

Sujeet Velapure

unread,
Apr 27, 2022, 10:44:20 AM4/27/22
to jmeter-plugins
Hi 

Any help /pointers on below please - 

Trying to stop/release  the thread opened by jmeter for fulfilling parallel sampler calls. My expectation is once the the parallel thread is finished it should get released  after GC. This is not happening and stays in the system till the lifetime of parent Thread group. 

Tried with below in beanshell - didnt work . The stop() method works and terminated the parent thread as well but not softStop(). 

JMeterContextService.getContext().getThread().softStop();


From JMeterThreadParallel.java

 public void softStop() {
        log.debug("Parallel Thread was stopped. Parent thread will NOT be stopped after parallel sampler.");
        super.stop();
    }


Regards
Sujeet V
Reply all
Reply to author
Forward
0 new messages