码迷,mamicode.com
首页 > 其他好文 > 详细

Jmeter 非UI界面jmx脚本不能正常退出

时间:2019-05-06 19:00:37      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:scheduled   wait   exec   apache   tor   current   worker   ack   lin   

脚本执行过程中出现过jmeter脚本不能正常退出的现象,如下报错:

... end of run
The JVM should have exited but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[commons-pool-evictor-thread,5,main], stackTrace:sun.misc.Unsafe#park
java.util.concurrent.locks.LockSupport#parkNanos at line:215
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#awaitNanos at line:2078
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue#take at line:1093
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue#take at line:809
java.util.concurrent.ThreadPoolExecutor#getTask at line:1074
java.util.concurrent.ThreadPoolExecutor#runWorker at line:1134
java.util.concurrent.ThreadPoolExecutor$Worker#run at line:624
java.lang.Thread#run at line:748

Thread[DestroyJavaVM,5,main], stackTrace:

解决办法:修改/usr/Jmeter/apache-jmeter-5.1.1/bin/jmeter.properties ,jmeterengine.force.system.exit=true(默认为false)

Jmeter 非UI界面jmx脚本不能正常退出

标签:scheduled   wait   exec   apache   tor   current   worker   ack   lin   

原文地址:https://www.cnblogs.com/learner34/p/10821063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!