https://bz.apache.org/bugzilla/show_bug.cgi?id=60933
Bug ID: 60933
Summary: JMeter don't wait to stop for thread create on the fly
by the API 'addNewThread'
Product: JMeter
Version: Nightly (Please specify date)
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When you create a new thread on the fly by the new API 'addNewThread', at the
end of the run, JMeter don't wait them before stop.
Wich cause this error by example :
Tidying up ... @ Wed Mar 29 13:36:29 UTC 2017 (1490794589776)
... end of run
summary + 10 in 00:00:00 = 43.5/s Avg: 203 Min: 125 Max: 288 Err:
9 (90.00%) Active: 49 Started: 50 Finished: 1
summary = 76747 in 00:26:40 = 48.0/s Avg: 238 Min: 2 Max: 8034 Err:
33021 (43.03%)
The JVM should have exited but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[milesSimulator 1-28,5,main], stackTrace:java.lang.Thread#sleep
java.lang.Thread#sleep at line:340
java.util.concurrent.TimeUnit#sleep at line:386
org.apache.jmeter.threads.JMeterThread#delay at line:863
org.apache.jmeter.threads.JMeterThread#executeSamplePackage at line:474
org.apache.jmeter.threads.JMeterThread#processSampler at line:425
org.apache.jmeter.threads.JMeterThread#run at line:254
java.lang.Thread#run at line:745
--
You are receiving this mail because:
You are the assignee for the bug.