当前位置:网站首页>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
边栏推荐
- TPG x AIDU|AI领军人才招募计划进行中!
- Interview related high-frequency algorithm test site 3
- PR video clip (project packaging)
- 线上故障突突突?如何紧急诊断、排查与恢复
- 防护电路中的元器件
- 【虚幻引擎UE】运行和启动的区别,常见问题分析
- 2022-2028 global and Chinese video coding and transcoding Market Research Report
- Qt蓝牙:搜索蓝牙设备的类——QBluetoothDeviceDiscoveryAgent
- Scope of package class package
- WeNet:面向工业落地的E2E语音识别工具
猜你喜欢
NetSetMan pro (IP fast switching tool) official Chinese version v5.1.0 | computer IP switching software download
windows下Redis-cluster集群搭建
【UNIAPP】系统热更新实现思路
蛇形矩阵
Mxnet imports various libcudarts * so、 libcuda*. So not found
[PCL self study: feature9] global aligned spatial distribution (GASD) descriptor (continuously updated)
Sequence diagram of single sign on Certification Center
Official announcement! The third cloud native programming challenge is officially launched!
QT Bluetooth: a class for searching Bluetooth devices -- qbluetooth devicediscoveryagent
Function (basic: parameter, return value)
随机推荐
蛇形矩阵
Decryption function calculates "task state and lifecycle management" of asynchronous task capability
【FineBI】使用FineBI制作自定义地图过程
2022-2028 global and Chinese video coding and transcoding Market Research Report
[popular science] basic knowledge of thermal design: heat dissipation analysis of 5g optical devices
English topic assignment (27)
Machine learning decision tree
The principle of attention mechanism and its application in seq2seq (bahadanau attention)
Qt蓝牙:搜索蓝牙设备的类——QBluetoothDeviceDiscoveryAgent
托管式服务网络:云原生时代的应用体系架构进化
WeNet:面向工业落地的E2E语音识别工具
Leetcode 222 number of nodes of complete binary tree
介绍汉明距离及计算示例
Ffmepg usage guide
[phantom engine UE] only six steps are needed to realize the deployment of ue5 pixel stream and avoid detours! (the principles of 4.26 and 4.27 are similar)
Burpsuite grabs app packets
PHP reads the INI file and writes the modified content
windows下Redis-cluster集群搭建
【科普】热设计基础知识:5G光器件之散热分析
OWASP top 10 vulnerability Guide (2021)