当前位置:网站首页>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 :
边栏推荐
- 第三代电力电子半导体:SiC MOSFET学习笔记(五)驱动电源调研
- What is test development? Can you find a job at this stage?
- ArcGIS loads free online historical images as the base map (no plug-ins are required)
- 同济、阿里获CVPR最佳学生论文,李飞飞获黄煦涛奖,近6000人线下参会
- U.S. House of Representatives: digital dollar will support the U.S. dollar as the global reserve currency
- Collective例子
- Fuxin Kunpeng joins in, and dragon lizard community welcomes a new partner in format document technical service
- Signal integrity (SI) power integrity (PI) learning notes (I) introduction to signal integrity analysis
- 部门新来的00后真是卷王,工作没两年,跳槽到我们公司起薪18K都快接近我了
- In the past 5 years, from "Diandian" to the current test development, my success is worth learning from.
猜你喜欢

5G dtu无线通信模块的电力应用

Fast pace? high pressure? VR panoramic Inn brings you a comfortable life

同济、阿里获CVPR最佳学生论文,李飞飞获黄煦涛奖,近6000人线下参会

浅析大型IM即时通讯系统开发难度

Unmanned driving: Some Thoughts on multi-sensor fusion

A small program written this week

Signal integrity (SI) power integrity (PI) learning notes (XXV) differential pair and differential impedance (V)

5年,从“点点点”到现在的测试开发,我的成功值得每一个借鉴。
More pictures | explain the Nacos parameters in detail!

Hibernate learning 3 - custom SQL
随机推荐
[issue 25] face to face experience of golang Engineer in the rightmost social recruitment
∞ symbol line animation canvasjs special effect
【图数据库性能和场景测试利器LDBC SNB】系列一:数据生成器简介 & 应用于GES服务
C WinForm maximizes occlusion of the taskbar and full screen display
Report on operation mode and future development trend of global and Chinese propenyl isovalerate industry from 2022 to 2028
Design scheme of authority management of fusion model
Fuxin Kunpeng joins in, and dragon lizard community welcomes a new partner in format document technical service
∞符号线条动画canvasjs特效
怎么把wps表格里某一列有重复项的整行删掉
Tutorial details | how to edit and set the navigation function in the coolman system?
wx小程序跳转页面
信号完整性(SI)电源完整性(PI)学习笔记(一)信号完整性分析概论
磁带svg动画js特效
Analysis report on operation pattern and supply and demand situation of global and Chinese cyano ketoprofen industry from 2022 to 2028
Tongji and Ali won the CVPR best student thesis, lifeifei won the Huang xutao award, and nearly 6000 people attended the offline conference
Do280openshift access control -- encryption and configmap
Wx applet jump page
5年,从“点点点”到现在的测试开发,我的成功值得每一个借鉴。
Meta&伯克利基于池化自注意力机制提出通用多尺度视觉Transformer,在ImageNet分类准确率达88.8%!开源...
Fast pace? high pressure? VR panoramic Inn brings you a comfortable life