当前位置:网站首页>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
边栏推荐
- PHP读取ini文件并修改内容写入
- Aperçu en direct | Services de conteneurs ACK flexible Prediction Best Practices
- 自动语音识别(ASR)研究综述
- Reading and visualization of DICOM, MHD and raw files in medical imaging
- [thingsboard] how to replace the homepage logo
- 官宣!第三届云原生编程挑战赛正式启动!
- PHP reads the INI file and writes the modified content
- Decimal to hexadecimal
- [goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens
- 如何优雅的获取每个分组的前几条数据
猜你喜欢

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

Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)

Live broadcast preview | container service ack elasticity prediction best practice

Power management bus (pmbus)

Sequence diagram of single sign on Certification Center

File upload bypass summary (upload labs 21 customs clearance tutorial attached)

Cookie learning diary 1

Flutter 小技巧之 ListView 和 PageView 的各种花式嵌套

Network security - record web vulnerability fixes

American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed
随机推荐
Hexadecimal to decimal
2022-2028 global and Chinese FPGA prototype system Market Research Report
[thingsboard] how to replace the homepage logo
MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
Leetcode 222 number of nodes of complete binary tree
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
Inline built-in function
Function template
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
CSDN body auto generate directory
2022-2028 global and Chinese equipment as a Service Market Research Report
[PCL self study: feature9] global aligned spatial distribution (GASD) descriptor (continuously updated)
Wenet: E2E speech recognition tool for industrial implementation
Discussion on the dimension of confrontation subspace
[AI bulletin 20220211] the hard core up owner has built a lidar and detailed AI accelerator
How to remove installed elpa package
[crampon programming] lintcode decoding Encyclopedia - 1100 strange printer
level17
A solution to the problem that variables cannot change dynamically when debugging in keil5
[crampon game] MC tutorial - first day of survival