jmeter 出报告跪求帮助
1.先用命令行得到执行结果.jtl 文件, 在转化为xml文件
2.在用xsl解析xml文件 浏览器打开可以看到测试报告
extras/jmeter-results-detail-report_21.xsl
jtl转化为xml 添加xml语句
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="jmeter-results-report.xsl" ?>
<testResults version="1.2">
1440506670482,12053,登录,200,OK,线程组 1-1,text,true,3877,1,1,11838
1440506682616,674,查询otp手机,200,OK,线程组 1-1,text,true,241,1,1,440
1440506683293,457,发送otp,200,OK,线程组 1-1,text,true,170,1,1,210
1440506683751,538,校验otp,200,OK,线程组 1-1,text,true,170,1,1,297
1.先用命令行得到执行结果.jtl 文件, 在转化为xml文件
2.在用xsl解析xml文件 浏览器打开可以看到测试报告
extras/jmeter-results-detail-report_21.xsl
jtl转化为xml 添加xml语句
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="jmeter-results-report.xsl" ?>
<testResults version="1.2">
1440506670482,12053,登录,200,OK,线程组 1-1,text,true,3877,1,1,11838
1440506682616,674,查询otp手机,200,OK,线程组 1-1,text,true,241,1,1,440
1440506683293,457,发送otp,200,OK,线程组 1-1,text,true,170,1,1,210
1440506683751,538,校验otp,200,OK,线程组 1-1,text,true,170,1,1,297