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 does jmeter use internal plug-ins to monitor pressure testing resource information

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

  In performance testing, students often use PerfMon internal plug-in to monitor pressure testing resources. This article briefly introduces how to use the plug-in.

I. Install PerfMon plug-in

Start jmeter and go to Options Plugins Manager

Enter perfmon in the Available Plugins input box. Since this machine has been installed, it can only be updated after the Installed Plugins search. After the installation is completed, jmeter will restart.

Plugins monitored are as follows: lib directory has two jar packages, ext directory has one, download address will be introduced at the end of the article, packaged and shared with ServerAgent service

2. Start ServerAgent Service

ServerAgent is used to monitor the machines to be monitored. Each monitored pressure test server needs to start this service. The following describes how to start Windows environment in Linux and Windows environment: just double-click startAgent.bat, as shown in the following figure, to prove that the startup is successful

Linux environment: Go to ServerAgent directory and execute sh startAgent.sh to start service

Third, the development of performance test cases start jmeter, add thread group, and then right-click thread group "add" monitor "jp@ gc-PerfMon Metrics Collector

Click Add Row to enter the IP and port of the monitoring machine (default 4444), monitoring indicators (cpu, Memory, etc.)

Click the Start button to execute threads to monitor server performance metrics (you must execute performance tests to monitor resource metrics)

   If the article is helpful to you, welcome to pay attention to my public number, public number and this platform article synchronization, convenient for everyone to consult, I will continue to launch articles related to testing, share testing technology with you, each original article is carefully written, prevent plagiarism copy

QQ technical exchange group: Add group Please enter verification information 51CTO

              

Wechat QR Code Follow Public Number:

            

After paying attention, reply to the resource download, you can get the download address of various resources I share

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

Internet Technology

Wechat

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

12
Report