Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to perform JMeter configuration remote execution

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to carry out JMeter configuration remote execution, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

When testing the pressure of each component related to the container technology, we choose JMeter as the pressure testing tool to test the pressure of docker daemon, convoy (a docker volume driver), contiv/netplugin (a docker net driver), swarm, etcd, OpenVSwitch and registry respectively. We have prepared dozens of PM as worker, in order to facilitate the local modification of JMeter test cases for debugging scripts, etc., we need to configure JMeter remotely. The main purpose of this article is to record the configuration.

# # Architecture this document assumes that only one Remote JMeter Instance is configured (10.100.84.21)

# # Server Config

Edit the configuration file-jmeter.properties of JMeter on the server side, and modify client.rmi.localport and server.rmi.localport as follows:

# Parameter that controls the RMI port used by the RemoteSampleListenerImpl (The Controler) # Default value is 0 which means port is randomly assigned # You may need to open Firewall port on the Controller machine client.rmi.localport=7000

# To use a specific port for the JMeter server engine, define # the following property before starting the server: server.rmi.localport=60000

Edit jmeter.properties Change the mode in Remote batching configuration to Standard: #-# Remote batching configuration #- -mode=Standard

After saving, execute. / jmeter-s to start jmeter server.

# # Client Config:

Edit jmeter.properties Modify the remote_hosts and client.rmi.localport in Remote hosts and RMI configuration as follows: #-# Remote hosts and RMI configuration #- -# Remote Hosts-comma delimited remote_hosts=10.100.84.21 client.rmi.localport=7000

Edit jmeter.properties Change the mode in Remote batching configuration to Standard: #-# Remote batching configuration #- -mode=Standard

After saving, execute. / jmeter to start jmeter with GUI.

# # after you open the test plan, you can execute the test plan remotely according to the method shown in the following figure. PS: you can also execute the following command to execute the remote execution test plan from the command line without GUI. Jmeter-n-t script.jmx-r

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report