我试图运行JMeter通过Java代码(使用Runtime.exe),但得到以下错误:
我创建新的进程通过Java使用jmeter.bat
以下是参数:C:\apache-jmeter-2.8\bin\jmeter。bat-n-tc:\test\test。jmx-lc:\test\test。日志
请帮忙!
2014/09/10 18:05:25 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080 : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
---- Debugging information ----
message : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
class : org.apache.jmeter.testelement.property.TestElementProperty
required-type : org.apache.jmeter.testelement.property.TestElementProperty
converter-type : org.apache.jmeter.save.converters.TestElementPropertyConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
line number : 1
class[1] : org.apache.jmeter.testelement.property.CollectionProperty
converter-type[1] : org.apache.jmeter.save.converters.MultiPropertyConverter
class[2] : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
converter-type[2] : org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
class[3] : org.apache.jorphan.collections.ListedHashTree
converter-type[3] : org.apache.jmeter.save.converters.HashTreeConverter
------------------------------- : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080 : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
---- Debugging information ----
message : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : no more data available - expected end tags </elementProp></collectionProp></elementProp></HTTPSamplerProxy></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <elementProp> from line 1 and start tag <collectionProp> from line 1 and start tag <elementProp> from line 1 and start tag <HTTPSamplerProxy> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <hashTree> from line 1 and start tag <jmeterTestPlan> from line 1, parser stopped on END_TAG seen ...</stringProp> ... @1:1966080
class : org.apache.jmeter.testelement.property.TestElementProperty
required-type : org.apache.jmeter.testelement.property.TestElementProperty
converter-type : org.apache.jmeter.save.converters.TestElementPropertyConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[3]/HTTPSamplerProxy[154]/elementProp/collectionProp/elementProp[41]
line number : 1
class[1] : org.apache.jmeter.testelement.property.CollectionProperty
converter-type[1] : org.apache.jmeter.save.converters.MultiPropertyConverter
class[2] : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
converter-type[2] : org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
class[3] : org.apache.jorphan.collections.ListedHashTree
converter-type[3] : org.apache.jmeter.save.converters.HashTreeConverter
..................................
........................
..............
2014/09/10 18:05:25 ERROR - jmeter.JMeter: Error in NonGUIDriver java.lang.NullPointerException
at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:93)
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:744)
at org.apache.jmeter.JMeter.startNonGui(JMeter.java:722)
at org.apache.jmeter.JMeter.start(JMeter.java:386)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:216)
我正在尝试搜索亚马逊的产品广告,并使用botlenose来帮助我做到这一点。但是,我刚刚收到HTTP错误400。 其他一些重要信息: 我来自巴西,我的标签也来自亚马逊。这是个问题吗? 我确实检查了我的钥匙、秘密和标签,一切正常。我确实在StackOverflow上查看了其他一些问题,但对我来说没有任何效果。 当然,出于安全原因,我更改了密钥。 Traceback(最近一次调用最后一次):File"
我有一个基于Spring Web model view controller(MVC)框架的项目。Spring Web模型-视图-控制器(MVC)框架的版本是3.2.8 我有这个控制器 这个URL一切正常:
目前从Angular JS controller中,我试图将JSON数据发送到后端服务。但是我有400个错误的请求错误。 在Controller中,我试图通过http服务发送数据,如下所示:
我得到了这个错误,有什么想法会导致它吗?我试图发送一个DTO,它有一个扩展抽象类的对象列表,我想这个问题可能是因为DTO中的列表,还是因为抽象类的子类?
在月食中, ”org.apache.axis2。AxisFault:传输错误: 403错误:禁止”试图从svn检出项目时发生错误。我不能实现这个错误,因此我检查了从终端使用"svn-co"命令的项目。 但是,有趣的是,当我试图在Eclipse中运行应用程序时,在输入凭据(用户名和密码)并按下“登录”按钮之后,我又遇到了相同的错误。响应是JFrame上的无效用户名/密码,但凭据没有错误。这只发生在日
Errors 错误 Library routines must often return some sort of error indication to the caller. As mentioned earlier, Go’s multivalue return makes it easy to return a detailed error description alongside th
本章概述了Google API错误模型,以及开发人员如何正确生成和处理错误的一般指南。 Google API使用简单的协议无关错误模型,这使我们能够在不同的API,API协议(如gRPC或HTTP)以及错误上下文(例如,异步,批处理或工作流错误)中获得一致的体验。 错误模型 错误模型在逻辑上由google.rpc.Status定义,当API发生错误时,返回一个Status实例给客户端。 以下代码段
5.4. 错误 在Go中有一部分函数总是能成功的运行。比如strings.Contains和strconv.FormatBool函数,对各种可能的输入都做了良好的处理,使得运行时几乎不会失败,除非遇到灾难性的、不可预料的情况,比如运行时的内存溢出。导致这种错误的原因很复杂,难以处理,从错误中恢复的可能性也很低。 还有一部分函数只要输入的参数满足一定条件,也能保证运行成功。比如time.Date函数