当前位置:网站首页>Use of JMeter
Use of JMeter
2022-06-25 00:20:00 【Dream_ xang】
Jmeter Use
In this paper, Jmeter Basic usage , Initial contact performance test , Take notes .
Jmeter Environmental installation
Download link :apache-jmeter-3.1 Extraction code :460x
Installation method : Unzip the compressed package to the local directory , Configure the environment in the environment variable .
CLASS_PATH Middle configuration :%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;
When the configuration is complete , Open the installation directory apache-jmeter-3.1\bin\jmeter.bat, There is no error , Then the configuration is complete .
Jmeter Use
1. Create thread group 

2. Create request
A service has been set up locally , Access the login interface , And send the request data required for login to the server .
After login , A session is required in the subsequent parameter transfer ID:sessionid Value . Extract using regular expressions .
After that, it can be used globally sessionid Value .
In the observation tree , You can view the request data and return parameters 
jmeter Access database
You can create a global counter , quote ID:imei, The number :000000000000000.
This value can be used ${imei} Global reference .
Building a database JDBC Connect 
Create database request , Insert data into the database .
- Be careful :QueryType The choice of , When performing different additions, deletions, modifications, and queries on the database , To select different types .
ServerAgent Install and use
When monitoring hardware resources , The server that needs to execute a plug-in on the monitored server ServerAgent.
Download link :ServerAgent-2.2.1 Extraction code :8zxf
1. Installation method
Unzip the compressed package to the local directory .
2. Usage method
take ServerAgent-2.2.1 Whole folder , Place the monitored server tomcat\webapps\ Next .
When using , Start... First serverAgent.bat, And then it starts jmeter.bat.
And then run jmeter For the request , We need to pay attention to jmeter In thread group , The running time should not be too short , Otherwise you won't be able to monitor .
The monitoring results are as follows :
边栏推荐
- The third generation of power electronics semiconductors: SiC MOSFET learning notes (V) research on driving power supply
- Signal integrity (SI) power integrity (PI) learning notes (I) introduction to signal integrity analysis
- VIM use command
- Svg+js keyboard control path
- 有趣的checkbox计数器
- 【面试题】什么是事务,什么是脏读、不可重复读、幻读,以及MySQL的几种事务隔离级别的应对方法
- December 6, 2019 what happens after the browser enters a URL
- 部门新来的00后真是卷王,工作没两年,跳槽到我们公司起薪18K都快接近我了
- DO280OpenShift访问控制--加密和ConfigMap
- Tape SVG animation JS effect
猜你喜欢
Hyperledger Fabric 2. X dynamic update smart contract

水库大坝安全监测

颜色渐变梯度颜色集合

Collective例子
More pictures | explain the Nacos parameters in detail!

OTT营销之风正盛,商家到底该怎么投?

节奏快?压力大?VR全景客栈带你体验安逸生活
5-minute NLP: summary of 3 pre training libraries for rapid realization of NER

C# Winform 最大化遮挡任务栏和全屏显示问题

Human body transformation vs digital Avatar
随机推荐
Analysis report on development trend and investment forecast of global and Chinese D-leucine industry from 2022 to 2028
Why are life science enterprises on the cloud in succession?
Analysis report on the "fourteenth five year plan" and development trend of China's engineering project management industry from 2022 to 2028
离散数学及其应用 2018-2019学年春夏学期期末考试 习题详解
Wx applet jump page
The third generation of power electronics semiconductors: SiC MOSFET learning notes (V) research on driving power supply
美国众议院议员:数字美元将支持美元作为全球储备货币
December 6, 2019 what happens after the browser enters a URL
Hibernate learning 2 - lazy loading (delayed loading), dynamic SQL parameters, caching
在滴滴和字节跳动干了 5年软件测试,太真实…
Time unified system
U.S. House of Representatives: digital dollar will support the U.S. dollar as the global reserve currency
How to use promise Race() and promise any() ?
使用网络摄像头进行眼睛注视估计
创意SVG环形时钟js特效
What is the difference between one way and two way ANOVA analysis, and how to use SPSS or prism for statistical analysis
Outer screen and widescreen wasted? Harmonyos folding screen design specification teaches you to use it
Go crawler framework -colly actual combat (4) -- Zhihu answer crawl (2) -- visual word cloud
Fuxin Kunpeng joins in, and dragon lizard community welcomes a new partner in format document technical service
JDBC —— 数据库连接