Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the Parameterization problem of JMeter distributed pressure Measurement

Shulou Source: shulou.com Published: 2022-06-01 16:50:09 10月03日 Update

This article mainly explains "how to solve the parameterization problem of JMeter distributed stress testing", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "how to solve the parameterization problem of JMeter distributed stress testing".

Operating environment: home network

The computer is windows 8.1.It is connected to the wifi of your own home. It is not plugged into the network cable as a master computer.

The virtual machine is installed on the computer using VMware Workstation, and the centos6.5 installed by the virtual machine is used as a slave machine, and the network is bridged.

The problems encountered are as follows:

The slave machine is centos. Run jmeter-server and start up normally.

The master computer is a windows machine, aggregating the report, but the running result has not been received.

Troubleshooting:

Go to the slave machine, go to the jmeter\ bin directory, vi jmeter-server.log

The error is that the parameterized csv file was not found.

Solution:

(1) Master machine, put jmx scripts and dependent files (such as parameterized csv files) in the jmeter bin directory

(2) slave machine, put dependent files (such as parameterized csv files) in the jmeter bin directory

(3) there is no need to copy the script to the server.

(4) for the parameterized file in the script, use the relative path, as follows:

At this point, I believe you have a deeper understanding of "how to solve the parameterization problem of JMeter distributed stress testing". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Parameters files problems distributed directory script run content computer network learning practical deeper interest method practical practical home report copy Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB OPPO Reno Redmi Microsoft Huawei