当前位置:网站首页>Analysis of JMeter pressure measurement results
Analysis of JMeter pressure measurement results
2022-06-23 08:17:00 【Xiao Han's daily life】
This paper lists two kinds of commonly used pressure measurement result analysis listeners :【 Look at the fruit tree 】 and 【 Aggregation report 】 And the operation of running test plan without interface .
1、【 Look at the fruit tree 】viem results tree
Add... Under thread group 【 Look at the fruit tree 】

Add what you need 【http request 】, Then run the test plan , Generate the data , You can filter in the bottom left of the view result tree , Select the format as needed , Or by keyword 、 Regular expressions, etc. to view the return body information

2、【 Aggregation report 】Aggregate Report
Add listener under thread group --【 Aggregation report 】

Average | Mean response time , Average response time for all requests ;ms |
Median | 50% The user response time of does not exceed this value ; |
99%line: | 99% The user response time of does not exceed this value ; |
Error% | Percentage of exceptions ( Number of error requests / Total number of requests ); |
Throughput: throughput | By default, the number of requests completed per second ;(1000/ Average * Number of threads ) |
Received KB/sec | receive data ; |

3、 Because during the pressure test , The page also takes up some resources , So here is the run test plan without interface , Save resources ;
First, configure the test plan on the interface , Save to the appropriate directory ( Here in bin New in the same directory result Catalog , Used to save the test plan )
d:
cd jmeter\apache-jmeter-5.2.1\apache-jmeter-5.2.1\result
Select... Under this directory Aggregation report .jmx To demonstrate , At the same time .jtl Report on result Under the table of contents
D:\jmeter\apache-jmeter-5.2.1\apache-jmeter-5.2.1\bin\jmeter.bat -n -t Aggregation report .jmx -l Aggregation report .jtl
After completion of operation , Will generate log Log heel jtl file 
If during operation , Want to terminate the operation , Input Ctrl+C, The following information appears :
![]()
Input y, To stop the program .
4、jtl How the documents are handled
Switch to bin Under the table of contents , The implementation is as follows ;
【../result/ Aggregation report .jtl】--jtl The actual location of the file (result And bin The directory is at the same level )
【-o hinder output】-- Customized file name and file location ( Here is generated in bin Under the table of contents )
jmeter.bat -g ../result/ Aggregation report .jtl -o output
After running, in bin Generate under directory output file


Use Chrome Browser view is OK

边栏推荐
- Microsoft Exchange – prevent network attacks
- How to mine keywords and improve user experience before website construction?
- 1-渐变、阴影和文本
- Capturing packets to find repeated acks and a large number of TCP retransmissions in TCP sessions -- sack (selective acknowledgement) technology
- MFC Radio Button分组
- Tencent cloud account related
- Observer mode
- The essence of five good books on wealth and freedom
- Leetcode 173 Binary search tree iterator (2022.06.22)
- 3-ProgressBar和二次裁剪
猜你喜欢

Create an orderly sequence table and perform the following operations: 1 Insert element x into the table and keep it in order; 2. find the element with the value of X, and delete it if found; 3. outpu

十多年前的入职第一天

jmeter压测结果分析

PHP serialization and deserialization CTF

vtk. JS left mouse button sliding to change window level and window width

PHP file contains -ctf

船长阿布的灵魂拷问

Multi-scale feature combination in target detection

RTSP/ONVIF协议视频平台EasyNVR启动服务报错“service not found”,该如何解决?

开源软件、自由软件、Copyleft、CC都是啥,傻傻分不清楚?
随机推荐
Map接口及其子实现类
图像分割-改进网络结构
MFC Radio Button分组
Create an orderly sequence table and perform the following operations: 1 Insert element x into the table and keep it in order; 2. find the element with the value of X, and delete it if found; 3. outpu
为什么用生长型神经气体网络(GNG)?
Google common syntax
[cross border e-commerce solutions] lighthouse will be used for pure IP expansion of new business - continuous efforts!
自组织映射神经网络(SOM)
C#打印缩放
transform的结构及用法
Socket programming -- select model
Go language basic conditional statement if
Azure Active Directory brute force attack
Deep learning ----- different methods to implement lenet-5 model
Implementation of AVL tree
Vulnhub | DC: 4 | [combat]
aquatone工具 中的2個bug修複
Set the time zone in ci4 (CodeIgniter 4)
MySQL小册子笔记 5 InnoDB 记录存储结构
Structure and usage of transform