坏男孩软件中记录的.jmx文件在jmeter中不起作用 [英] recorded .jmx file in badboy software not working in jmeter
问题描述
我已经在Badboy软件中记录了脚本,并保存了该导出文件,并选择导出为 .jmx
扩展名中的Jmeter,但现在我无法打开此文件并在JMeter中得到以下错误消息:
I have recorded script in Badboy software and save this exported this file with option as export to Jmeter in .jmx
extension but now i am not able to open this file and getting below error message in JMeter:
从以下位置加载XML的问题:"C:\ JMeter \ Badboy Script \ MySecondUITest.jmx".原因:CannotResolveClassException:节点
Problem loading XML from:'C:\JMeter\Badboy Script\MySecondUITest.jmx'. Cause: CannotResolveClassException: node
Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException:节点
Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException: node
推荐答案
看一下.jmx文件的第二行,您应该看到类似以下内容的东西:
Take a look into 2nd line of the .jmx file, you should see something like:
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.1.1 r1855137">
对我来说,它是JMeter的最新版本,它是 JMeter存档区域下载
For me it's latest version of JMeter which is JMeter 5.1.1. You should be able to determine the relevant JMeter version and download it from JMeter Archives area
实际上,我不认为使用Badboy记录JMeter测试是最好的主意, http://www.badboy.com.au 网站甚至无法正常运行,并且Badboy的最新发布日期为2011年
Actually I don't think that using Badboy for recording JMeter tests is the best idea, http://www.badboy.com.au website doesn't even work and the latest Badboy release is dated 2011 year
因此,我建议您使用JMeter内置的 HTTP(S)测试脚本记录器,或者您有问题,尽管它可以正常工作
So I would recommend either using JMeter's built-in HTTP(S) Test Script Recorder or if you have issues with it although it should work just fine JMeter Chrome Extension
这篇关于坏男孩软件中记录的.jmx文件在jmeter中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!