当前位置:网站首页>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 :
边栏推荐
- JPA learning 1 - overview, JPA, JPA core annotations, JPA core objects
- Ott marketing is booming. How should businesses invest?
- 水库大坝安全监测
- 怎么把wps表格里某一列有重复项的整行删掉
- Investment analysis and prospect forecast report of global and Chinese triglycine sulfate industry from 2022 to 2028
- Hyperledger Fabric 2. X dynamic update smart contract
- After 5 years of software testing in didi and ByteDance, it's too real
- JDBC - database connection
- How to use promise Race() and promise any() ?
- @mysql
猜你喜欢

部门新来的00后真是卷王,工作没两年,跳槽到我们公司起薪18K都快接近我了

为什么生命科学企业都在陆续上云?

∞符号线条动画canvasjs特效

JPA learning 2 - core annotation, annotation addition, deletion, modification and query, list query result return type, one to many, many to one, many to many

Power application of 5g DTU wireless communication module
[distributed system design profile (2)] kV raft

VR全景怎么赚钱?结合市场从两个方面客观分析下

颜色渐变梯度颜色集合

Svg+js keyboard control path

On the difficulty of developing large im instant messaging system
随机推荐
Eye gaze estimation using webcam
Analysis report on operation trend and investment strategy of global and Chinese tetrahydrofurfuryl propionate industry from 2022 to 2028
∞ symbol line animation canvasjs special effect
Ott marketing is booming. How should businesses invest?
UE4 WebBrowser chart cannot display problems
技术分享| WVP+ZLMediaKit实现摄像头GB28181推流播放
水库大坝安全监测
Investment analysis and prospect forecast report of global and Chinese propargyl chloride industry from 2022 to 2028
In the past 5 years, from "Diandian" to the current test development, my success is worth learning from.
linux 系统redis常用命令
WordPress add photo album function [advanced custom fields Pro custom fields plug-in series tutorial]
Zed acquisition
ArcGIS加载免费在线历史影像作为底图(不需要插件)
Go crawler framework -colly actual combat (4) -- Zhihu answer crawl (2) -- visual word cloud
Related operations of ansible and Playbook
MySQL semi sync replication
How can I persuade leaders to use DDD to construct the liver project?
Do280openshift access control -- encryption and configmap
svg线条动画背景js特效
What is test development? Can you find a job at this stage?