当前位置:网站首页>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 :
边栏推荐
- In the past 5 years, from "Diandian" to the current test development, my success is worth learning from.
- 为什么越来越多的实体商铺用VR全景?优势有哪些?
- Collective example
- 不重要的token可以提前停止计算!英伟达提出自适应token的高效视觉Transformer网络A-ViT,提高模型的吞吐量!...
- Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year
- What is the difference between one way and two way ANOVA analysis, and how to use SPSS or prism for statistical analysis
- 美国众议院议员:数字美元将支持美元作为全球储备货币
- linux 系统redis常用命令
- Opengauss kernel: simple query execution
- Tutorial details | how to edit and set the navigation function in the coolman system?
猜你喜欢

Collective example
5-minute NLP: summary of 3 pre training libraries for rapid realization of NER

【排行榜】Carla leaderboard 排行榜 运行与参与手把手教学

The new employee of the Department after 00 is really a champion. He has worked for less than two years. The starting salary of 18K is close to me when he changes to our company

第三代电力电子半导体:SiC MOSFET学习笔记(五)驱动电源调研

Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year

On the difficulty of developing large im instant messaging system

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

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

时间统一系统
随机推荐
Domain Driven Design and coding
【面试题】什么是事务,什么是脏读、不可重复读、幻读,以及MySQL的几种事务隔离级别的应对方法
软件测试与游戏测试文章合集录
Paper review: U2 net, u-net composed of u-net
创意SVG环形时钟js特效
Investment analysis and prospect forecast report of global and Chinese propargyl chloride industry from 2022 to 2028
在滴滴和字节跳动干了 5年软件测试,太真实…
[proteus simulation] example of using timer 0 as a 16 bit counter
JDBC - database connection
Ansible及playbook的相关操作
Current situation analysis and development trend forecast report of global and Chinese acrylonitrile butadiene styrene industry from 2022 to 2028
UE4 WebBrowser图表不能显示问题
Fuxin Kunpeng joins in, and dragon lizard community welcomes a new partner in format document technical service
Eye gaze estimation using webcam
微搭低代码中实现增删改查
D omit parameter name
磁带svg动画js特效
I suddenly find that the request dependent package in NPM has been discarded. What should I do?
Global and Chinese tetrahydrofurfuryl butyrate industry operation pattern and future prospect report 2022 ~ 2028
Simple collation of Web cache