我在jMeter中做了一个测试计划,保存了它,现在无法重新打开它。事实证明,.jmx文件已经损坏。下面是错误日志:
---- Debugging information ----
message : : no more data available - expected end tags </intProp></ConstantThroughputTimer></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <intProp> from line 464 and start tag <ConstantThroughputTimer> from line 463 and start tag <hashTree> from line 429 and start tag <hashTree> from line 387 and start tag <hashTree> from line 35 and start tag <hashTree> from line 19 and start tag <hashTree> from line 3 and start tag <jmeterTestPlan> from line 2, parser stopped on TEXT seen ...</intProp>\n <doubleProp... @465:26
cause-exception : com.thoughtworks.xstream.io.StreamException
cause-message : : no more data available - expected end tags </intProp></ConstantThroughputTimer></hashTree></hashTree></hashTree></hashTree></hashTree></jmeterTestPlan> to close start tag <intProp> from line 464 and start tag <ConstantThroughputTimer> from line 463 and start tag <hashTree> from line 429 and start tag <hashTree> from line 387 and start tag <hashTree> from line 35 and start tag <hashTree> from line 19 and start tag <hashTree> from line 3 and start tag <jmeterTestPlan> from line 2, parser stopped on TEXT seen ...</intProp>\n <doubleProp... @465:26
class : org.apache.jmeter.timers.ConstantThroughputTimer
required-type : org.apache.jmeter.timers.ConstantThroughputTimer
converter-type : org.apache.jmeter.save.converters.TestElementConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[10]/hashTree/ConstantThroughputTimer
line number : 465
class[1] : org.apache.jorphan.collections.ListedHashTree
converter-type[1] : org.apache.jmeter.save.converters.HashTreeConverter因此,我检查了jmx文件并确定,在ConstantThroughputTimer之后,配置的下半部分丢失了。奇怪!不知道为什么会发生这种事。有没有其他人经历过这种情况,或者知道如何解决这个问题,这样就不会再发生这种事了吗?
作为参考,我在Windows7上将jMeter 2.11与JDK1.8.0_05和JRE8结合使用。
发布于 2014-07-25 16:28:48
我也注意到了类似的情况,我的测试计划在使用jmeter 2.11.r1554548 (构建于2013年12月31日)后被破坏。看上去像千兆虫。
所做的工作是从测试计划中删除ConstantThroughputTimer。保存是完美的。
我试着用最新的每晚制造的计量器。我下载了Apache-j抄-r1613102(构建于2014年7月18日),并且仍然在测试计划中使用ConstantThroughputTimer建立测试计划文件。
https://stackoverflow.com/questions/24013043
复制相似问题