本文主要是介绍The JVM should have exited but did not.The following non-daemon threads are still running (DestroyJa,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
JMeter命令行执行时,出现错误 如下: The JVM should have exited but did not. The following non-daemon threads are still running (DestroyJavaVM is OK):
问题原因:在执行时会在jmeter线程之外,另外启动java线程,导致在脚本执行结束时JVM无法退出
解决方案:修改jmeter.properties中的jmeterengine.force.system.exit=false为jmeterengine.force.system.exit=true,并去掉注释
修改为
这篇关于The JVM should have exited but did not.The following non-daemon threads are still running (DestroyJa的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!