当前位置:网站首页>JMeter generates test reports
JMeter generates test reports
2022-06-22 12:01:00 【Yezi】
* If used jemeter, Suggest looking backwards , Go straight to step three , The point is that the order
- step : install , Create script , Generate test reports through the tests corresponding to the scripts
1. install
1.1 Download address
https://mirrors.tuna.tsinghua.edu.cn/apache//jmeter/binaries/apache-jmeter-5.4.1.zip
1.2 Official website address
https://jmeter.apache.org/download_jmeter.cgi
1.3 Unzip and install
zip When the download is complete , decompression
2. Script creation
2.1 Open software
- Mode one
***\apache-jmeter-5.4.1\bin
stay bin Open in directory jmeter.bat, function jmeter
- The way 2
Or enter bin Catalog , double-click ApacheJMeter.jar You can open it jmeter 了 ( Open mode selection java)
2.2 Add test plan
Right click test plan -> add to -> Threads ( user ) -> Thread group
2.3 Add details of a single plan
Right click thread group -> add to -> Sampler -> HTTP request
2.4 add to HTTP Request information
Request parameters
Right click HTTP request -> The configuration element -> HTTP Header Manager
- Add... Inside Authorization and Content-Type
Return results
Right click HTTP request -> Monitor -> View the result tree
- You can right-click to clear . To view on the right, you can select json Look convenient ( For me, )
2.5 Test and clear
The green arrow in the upper toolbar ( Play button ) It's startup , gear + The button of the broom is to clear the running result .
2.6 Save script
ctrl+s, Or in the menu bar , file -> Save the test plan as …
3. Generate test reports
stay bin Under the table of contents , Enter the following code , Create the test report .
./jmeter -n -t "D:\App Tools\apache-jmeter-5.4.1\a_report\test.jmx" -l report.jtl -e -o "D:\App Tools\apache-jmeter-5.4.1\a_report\aa3"
The first path is the path to the test script , The second path is the path to the generated file ( No Chinese ).
After each creation , Need to be in bin Under the table of contents , Delete report.jtl.
边栏推荐
- Typical life cycle model of information system project
- sql注入绕过方法总结
- 奋斗吧,程序员——第三十九章 人生不失意,焉能慕知己
- Set up OpenPGP key server
- Kruskal reconstruction tree
- Interpretation of basic requirements for classified protection of network security (GBT 22239-2019)
- “中国巴菲特”段永平:投资有道
- 【软工】 软件体系结构
- 【软工】计划和项目管理
- The use of cellstr function in MATLAB
猜你喜欢

《梦华录》成吸金王:广告主投500万排不上队,腾讯视频赢麻了?

在C#开发中使用第三方组件LambdaParser、DynamicExpresso、Z.Expressions,实现动态解析/求值字符串表达式

YuMinHong said that e-commerce schools may be opened in the future; Musk's son applied to sever the father son relationship; Hungry? Respond to a large number of users receiving the free order informa

Matlab的KNN分类使用(附源码),实现像素分类(自己设置训练集比例),打印测试精度

马尔可夫链(Markov Chain),隐马尔可夫模型
![[CISCN2019 总决赛 Day1 Web4]Laravel1](/img/99/4eb4d9447ac191fb9320cd8135f019.png)
[CISCN2019 总决赛 Day1 Web4]Laravel1

CF751E Phys Ed Online

APM set pitch four rotor control mode

Redis - 9、持久化之AOF(Append OnlyFile)

HMS core news industry solution: let technology add humanistic temperature
随机推荐
How many of the eight classic MySQL errors did you encounter?
Solution to 94d problem of Niuke practice match
CF736 D2
IO之Reader案例
IO之ByteStream案例
R language uses user-defined functions to write step activation functions for deep learning and visualize step activation functions
马尔可夫链(Markov Chain),隐马尔可夫模型
Bytestream case of IO
Promise upgraded async, await is coming, which is more fragrant with try+catch
Noun analysis: ETL
CF751 C. Optimal Insertion
Local raw file contains
牛客练习赛94D题解
Foreign lead needs energy, interest, research, diligence and is indispensable
两两交换链表中的节点[单向链表不断链原则]
Redis - 3、发布和订阅
宏定义使用以及typedef和const
软件架构设计原则
NOI使用案例
成功案例 | 安超云助力兰州大学第二医院搭建新型IT基础设施平台 提升医疗信息资源利用率