JMeter性能测试常用参数化方法的效率研究  

Research on efficiency of commonly used parameterization method for JMeter performance testing

在线阅读下载全文

作  者:赵纪华 孙艳超 周广昌 ZHAO Jihua;SUN Yanchao;ZHOU Guangchang(Petro-Cyber Works Information Technology Co.,Ltd.,Beijing 100020,China)

机构地区:[1]石化盈科信息技术有限责任公司,北京100020

出  处:《计算机应用文摘》2024年第10期98-103,共6页Chinese Journal of Computer Application

摘  要:在进行性能测试时,采用适当的性能测试方法是确保测试结果准确的前提。讨论了在使用JMeter常见的“CSV参数文件法”进行性能测试时可能遇到的测试结果异常问题,结合三大性能指标关系公式分析了异常原因,提出了解决措施;探讨了“CSV参数文件法”本身的效率,采用了3种参数配置方式进行验证和分析,并给出了效率最高的配置方式。实验结果表明,在请求响应速度较快且参数报文较大时,多线程并发读取参数文件可能导致客户端耗时占比较大、测试结果不准确的情况,因此提出了改进参数化方法的思路。When conducting performance testing,adopting appropriate performance testing methods is a prerequisite to ensure accurate test results.Discussed the possible problem of abnormal test results when using JMeter̓s common“CSV parameter file method”for performance testing,and analyzed the reasons for the abnormalities based on the relationship formula of the three major performance indicators,and proposed solutions.Explored the efficiency of the“CSV parameter file method”itself,validated and analyzed three parameter configuration methods,and provided the most efficient configuration method.The experimental results indicate that when the request response speed is fast and the parameter message is large,concurrent reading of parameter files by multiple threads may lead to a higher proportion of client time and inaccurate test results.Therefore,an improved parameterization method is proposed.

关 键 词:性能测试 JMETER CSV参数文件配置元件 效率 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象