时间:2021-05-19
Jmeter 执行Java 请求时,运行结束后报错,
Tidying up remote @ Mon Feb 24 19:42:34 CST 2020 (1582544554083)
... end of run
The JVM should have exited but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[Thread-6,5,RMI Runtime], stackTrace:freemarker.core.BuiltIn#<clinit> at line:141
freemarker.core.FMParser#BuiltIn at line:1196
freemarker.core.FMParser#PrimaryExpression at line:594
freemarker.core.FMParser#UnaryExpression at line:706
freemarker.core.FMParser#MultiplicativeExpression at line:821
freemarker.core.FMParser#AdditiveExpression at line:773
freemarker.core.FMParser#RangeExpression at line:953
freemarker.core.FMParser#RelationalExpression at line:901
freemarker.core.FMParser#EqualityExpression at line:864
freemarker.core.FMParser#AndExpression at line:1020
freemarker.core.FMParser#OrExpression at line:1042
freemarker.core.FMParser#Expression at line:551
freemarker.core.FMParser#List at line:1747
freemarker.core.FMParser#FreemarkerDirective at line:3426
freemarker.core.FMParser#MixedContentElements at line:3812
freemarker.core.FMParser#Root at line:4458
freemarker.template.Template#<init> at line:253
freemarker.cache.TemplateCache#loadTemplate at line:549
freemarker.cache.TemplateCache#getTemplateInternal at line:439
freemarker.cache.TemplateCache#getTemplate at line:292
freemarker.template.Configuration#getTemplate at line:2750
freemarker.template.Configuration#getTemplate at line:2599
org.apache.jmeter.report.dashboard.TemplateVisitor#visitFile at line:113
org.apache.jmeter.report.dashboard.TemplateVisitor#visitFile at line:49
java.nio.file.Files#walkFileTree at line:2670
java.nio.file.Files#walkFileTree at line:2742
org.apache.jmeter.report.dashboard.HtmlTemplateExporter#export at line:509
org.apache.jmeter.report.dashboard.ReportGenerator#exportData at line:381
org.apache.jmeter.report.dashboard.ReportGenerator#generate at line:262
org.apache.jmeter.JMeter$ListenToTest#generateReport at line:1324
org.apache.jmeter.JMeter$ListenToTest#run at line:1308
java.lang.Thread#run at line:748
原因:在执行java请求时会在jmeter线程之外,另外启动java线程,导致在脚本执行结束时JVM无法退出。
若要避免这种现象,需要修改jmeter.properties 中的jmeterengine.force.system.exit=true
总结
到此这篇关于执行java请求时导致在脚本执行结束时JVM无法退出的文章就介绍到这了,更多相关执行java请求JVM无法退出内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
函数防抖定义:多次触发事件后,事件处理函数只执行一次,并且是在触发操作结束时执行。在vue中对click添加防抖处理conston=Vue.prototype.
属性值描述onchange脚本当元素改变时执行脚本onsubmit脚本当表单被提交时执行脚本onreset脚本当表单被重置时执行脚本onselect脚本当元素被
在执行建库脚本时,往往会先将原有的数据库drop掉,由于SqlServer检测到有数据连接时禁止执行dropdatabase操作,所以建库脚本经常执行失败,为此
另一个方法是设置两个时间快照和结束时间,计算它们的时差。这将告诉你Get-Hotfix执行了多久,得到的输出数据里将包含脚本执行的时间:复制代码代码如下:$st
在这篇文章中,我将深入探讨JavaScript的最基本部分之一,即ExecutionContext(执行上下文)。在本文结束时,你应该对解释器了解得更清楚:为什