当前位置:网站首页>JMeter -- distributed pressure measurement
JMeter -- distributed pressure measurement
2022-07-05 04:37:00 【zyanwei2018】
List of articles
Scenarios that require distributed pressure measurement
Improve jmeter Concurrent , All links of the service have not reached the bottleneck , But the interface QPS No longer increases proportionally , At this time, the configuration and network bandwidth of the pressure tester may reach a bottleneck .
When the configuration of a single piezometer and the network bandwidth reach the bottleneck , In order to achieve QPS The goal is , Generally, the distributed pressure measurement scheme will be adopted , That is, use multiple presses , And use the master-slave mode to maintain the consistency of concurrent initiation .
linux Configuration of pressure measuring machine
Configuration preparation
master node
+ Need to upload :jmeter tool kit 、 Pressure test script 、 Parametric files ( As a pressure measuring machine, you need , Put it in apache-jmeter-*/bin/ Under the table of contents ) + vim apache-jmeter-*/bin/jmeter.properties file remote_hosts=ip1,ip2,ip3 (268 That's ok ,master Nodes also need to be configured when they are used as pressure measuring machines ip, Out of commission 127.0.0.1)slave node
+ Need to upload :jmeter tool kit ( And master identical )、 Parametric files ( Put it in apache-jmeter-*/bin/ Under the table of contents ) + No need to upload : Pressure test script (master Opportunity synchronization to slave machine ) + vim apache-jmeter-*/bin/jmeter.properties file server.rmi.ssl.disable=true (345 That's ok ,jmeter4.0 Above version, you need to modify the field )
Operation preparation
Start the pressure tester as server
+ If master It also needs to be used as a pressure measuring machine , You also need to start the service + Get into apache-jmeter-*/bin Catalog , Use `./jmeter-server` Command to start the pressure tester , monitor master Node pressure test instruction . When master When the node is also used as a pressure measuring machine , You also need to start the service . + Startup time , If appear `Cannot start. xxx local is a loopback address` Report errors , Will bin/jmeter-server file 30 Change the line to `RMI_HOST_DEF=-Djava.rmi.server.hostname= Current node ip`.
Distributed operation
# stay apache-jmeter-* Pass level directory operation
mkdir report1
sh apache-jmeter-*/bin/jmeter.sh -n -t *.jmx -l test1.jtl -e -o report1/ -r
Argument parsing :
-n: Not GUI Mode execution Jmeter
-t: The location and file name of the execution test file
-l: Specifies the save file for generating test results ,jtl File format
-e: After the test , Generate test reports
-o: Specify the storage location of the test report , Be careful : Before executing the order ,report The contents under the folder must be emptied , Otherwise, an error will be reported
-r: Start all at remote_hosts Configured servers . Be careful : There is no need for distributed testing , Just don't lose at a single point -r that will do
边栏推荐
- Sword finger offer 07 Rebuild binary tree
- Introduction to RT thread kernel (5) -- memory management
- 首席信息官如何利用业务分析构建业务价值?
- Introduction to RT thread kernel (4) -- clock management
- Basic analysis of IIC SPI protocol
- Web开发人员应该养成的10个编程习惯
- Cookie learning diary 1
- Leetcode 222 number of nodes of complete binary tree
- level18
- SQL set operation
猜你喜欢

Power management bus (pmbus)
![[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording](/img/11/b55f85ef9e1f22254218cb9083b823.png)
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording

Key review route of probability theory and mathematical statistics examination

如何优雅的获取每个分组的前几条数据

Advanced length of redis -- deletion strategy, master-slave replication, sentinel mode

QT Bluetooth: a class for searching Bluetooth devices -- qbluetooth devicediscoveryagent

A solution to the problem that variables cannot change dynamically when debugging in keil5

Cookie learning diary 1

Invalid bound statement (not found) in idea -- problem solving

The principle of attention mechanism and its application in seq2seq (bahadanau attention)
随机推荐
Components in protective circuit
Managed service network: application architecture evolution in the cloud native Era
揭秘技术 Leader 必备的七大清奇脑回路
函数(易错)
flutter 对象和列表
Matplotlib draws three-dimensional scatter and surface graphs
How can CIOs use business analysis to build business value?
A survey of automatic speech recognition (ASR) research
函数(基本:参数,返回值)
如何优雅的获取每个分组的前几条数据
Construction d'un Cluster redis sous Windows
All in one 1413: determine base
[phantom engine UE] package error appears! Solutions to findpin errors
[crampon game] MC tutorial - first day of survival
计组笔记(1)——校验码、原补码乘除计算、浮点数计算
【FineBI】使用FineBI制作自定义地图过程
Sword finger offer 07 Rebuild binary tree
Hexadecimal to decimal
解密函数计算异步任务能力之「任务的状态及生命周期管理」
File upload bypass summary (upload labs 21 customs clearance tutorial attached)