Created attachment 37275 [details] thread dump After the upgrade to version 5.3 some of my scripts stopped working (works just fine on 5.2.1). I have the same config on both versions of JMeter, also the same plugins. When running the test I get the following: Creating summariser <summary> Created the tree successfully using ..\Scripts\AGReportGeneratorForAutomatization.jmx Starting standalone test @ Thu May 28 19:07:55 CEST 2020 (1590685675948) Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445 summary = 2 in 00:00:11 = 0.2/s Avg: 0 Min: 0 Max: 1 Err: 0 (0.00%) Tidying up ... @ Thu May 28 19:08:09 CEST 2020 (1590685689077) ... end of run The JVM should have exited but did not. The following non-daemon threads are still running (DestroyJavaVM is OK): Thread[AWT-Shutdown,5,system], stackTrace:java.lang.Object#wait sun.awt.AWTAutoShutdown#run java.lang.Thread#run Thread[DestroyJavaVM,5,main], stackTrace: Thread[AWT-EventQueue-0,6,main], stackTrace:sun.misc.Unsafe#park java.util.concurrent.locks.LockSupport#park java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#await java.awt.EventQueue#getNextEvent java.awt.EventDispatchThread#pumpOneEventForFilters java.awt.EventDispatchThread#pumpEventsForFilter java.awt.EventDispatchThread#pumpEventsForHierarchy java.awt.EventDispatchThread#pumpEvents java.awt.EventDispatchThread#pumpEvents java.awt.EventDispatchThread#run jmeter.log attached. Also, thread dump attached.
Created attachment 37276 [details] jmeter.log file
Can you share more information about the scripts you use? Which features do they use? What third party plugins do you use? Is the problem happening without the plugins?
The script is basically just a Graphs Generator plugin listener in a thread group (see png attached, screenshot is taken from 5.2.1, but the script is the same). I'll attach the list of plugins I'm using (all in their latest versions) as png as well.
Created attachment 37278 [details] List of plugins used
Created attachment 37279 [details] Picture of .jmx script used
Hello, I confirm this bug has no relation with 3rd party plugins. It has been introduced by fix to Bug 64400 Thanks for report. Regards
As a workaround until a fix is delivered, remove Http(s) Test Script recorder from plan and issue will be resolved.
Hello, To be clear issue is related to javax.swing.Timer being created and started in constructor. But never stopped. Regards
(In reply to Philippe Mouawad from comment #7) > As a workaround until a fix is delivered, remove Http(s) Test Script > recorder from plan and issue will be resolved. I confirm this is working. Thanks for your response!
Thanks for the report and Philippe for the debugging. A fix has been submitted in trunk. @Honza Can you try out the next nightly or trunk build and report back, if it fixes your issue? commit 913735db54bf5a2e0a1461aee0e110df19512424 AuthorDate: Wed Jun 17 12:20:21 2020 +0200 Fix ProxyControl timer that prevents correct shutdown Regression introduced with Bug 64400 Bugzilla Id: 64479 --- .../java/org/apache/jmeter/protocol/http/proxy/ProxyControl.java | 9 ++++++++- xdocs/changes.xml | 1 + 2 files changed, 9 insertions(+), 1 deletion(-)
Hello Honza, My tests show it is fixed, what does yours do ? I will close it as fixed for now, if it is not please reopen. Thank you
Hi, sorry for the late response, I was on vacation. I tested the fix on the r1781-fb66ca90547856d39b59e98b978cb551e53f5a04 build, and is now working as intended. Test is OK, ticket can be closed. Thanks a lot!
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5324