Jmeter performance test - jmeter's use of ServerAgent to monitor the server

ServerAgent

The important indicators we focus on during performance testing are: number of concurrent users, TPS, request success rate, response time, server CPU, memory, I/O disk, etc. Jmeter's aggregation report can view the number of concurrency, throughput, request success rate, response time, etc.; if you want to view the server-side CPU, memory, I/O disk, etc., you need to install the plug-in ServerAgent

Upload ServerAgent-2.2.1.jar to the server under test (root directory or any location), decompress, enter the directory, Windows environment, double-click startAgent.bat to start; mac, linux environment execute startAgent.sh to start, use port 4444 by default ( If there is no execution permission, you can first grant execution permission: chmod 777 startAgent.sh)

Note: The ServerAgent service port number is 4444 by default. If the port is occupied, you need to close the process that occupies the port, or change the default port of the ServerAgent service:

A: Close the process occupying port 4444, and start the ServerAgent service again, successfully.

B: Use the command to change the default port of the ServerAgent service: ./startAgent.sh -udp-port 0 -tcp-port xxxx (xxxx is the new port number)

Install the plugin for perfmon:

Add PerfMon Metrics Collector performance monitoring listener to display server performance data

Generally, these four indicators are monitored:

The following are supporting learning materials. For friends who do [software testing], it should be the most comprehensive and complete preparation warehouse. This warehouse also accompanied me through the most difficult journey. I hope it can help you too!

Software testing interview applet

The software test question bank maxed out by millions of people! ! ! Who is who knows! ! ! The most comprehensive quiz mini program on the whole network, you can use your mobile phone to do the quizzes, on the subway or on the bus, roll it up!

The following interview question sections are covered:

1. Basic theory of software testing, 2. web, app, interface function testing, 3. network, 4. database, 5. linux

6. web, app, interface automation, 7. performance testing, 8. programming basics, 9. hr interview questions, 10. open test questions, 11. security testing, 12. computer basics

Information acquisition method:

Guess you like

Origin blog.csdn.net/IT_LanTian/article/details/132284799