Kylin training-3-Ant batch execution of jmeter scripts

1. Download the attachment & select the attachment ( JMeterPlugins-Extras-1.3.0.zip, JMeterPlugins-Standard-1.3.0.zip, )
The download address is as follows: https://jmeter-plugins.org/downloads/old/
2. Copy the files in the corresponding ext directory to the D:\ProgromFiles\apache-jmeter-2.13\lib\ext directory;
3. Local debugging uses ant to build and run Jmeter, and generate jtl and Html reports;
Principle introduction:
Jmeter saves files in .csv format by default, so we first need to set the content of the bin/jmeter.properties file and modify the jmeter.properties file jmeter.save.saveservice.output_format=xml;
1) Copy apache-jmeter-2.13\extras\ant-jmeter-1.1.1.jar to the apache-ant-1.9.7\lib directory;
2) Put the following format in the extras directory -- for conversion
jmeter-results-detail-report_21.xsl
Note : The online example is to remove the utf-8 command
3) Go to the path where the build file is located, and use the "ant --buildfile build.xml" command to check whether html and jtl can be generated
4) Generate html file
View html content > test results report as follows
A- You can modify the storage path of the html file address in the build file
B-也可以修改jmeter 存放脚本的路径
Build文件中具体设置如下:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325771369&siteId=291194637