JMeter plug-in collection: Detailed introduction to Jmeter commonly used plug-ins

 As an open source interface performance testing tool, JMeter's compactness and flexibility are of great help to testers. However, as an open source tool itself, compared to some commercial tools (such as LoadRunner), it has less comprehensive functions. It's just a little lacking. This blog will introduce some common plug-ins of JMeter.

JMeter Plugins Manager

Download and install JMeter Plugins Manager from the JMeter Plugins Manager official download website.

After installing JMeter Plugins Manager, click "Options" > "Plugins Manager" to open the plug-in manager. Other plug-ins can be managed here.

Basic Graphs

After installing the Basic Graphs plug-in in Plugins Manager, there are three plug-ins:

  1. Transactions per Second: TPS: Transactions per second
  2. Response Times Over Time: TRT: Transaction response time
  3. Active Threads Over Time: Counts the total number of active threads per second

Transactions per Second(TPS)

Transactions per second. One of the two most important indicators in performance testing. The function of this plug-in is to monitor and view the TPS performance of the server during the execution of the test script, such as overall trends, real-time average trends, stability, etc.

Response Times Over Time(TRT)

Transaction response time. The other of the two most important indicators in performance testing. The main function of this plug-in is to monitor and view the real-time average value of the response time, the overall response time trend, etc. during the execution of the test script.

Active Threads Over Time

PerfMon Metrics Collector

Server performance monitoring data collector. During the performance test process, in addition to monitoring TPS and TRT, you also need to monitor the server's resource usage, such as CPU, memory, I/O, etc. This plug-in can monitor the resource usage of the server in real time during performance testing.

Install the PerfMon plug-in in Plugins Manager

After installation, restart JMeter and you can find "PerfMon Metrics Collector" in "Listener"

Start ServerAgent on the server side

Download ServerAgent from github.com/undera/perf... , then upload the compressed package to the server under test, unzip it, enter the directory, start startAgent.bat in Windows environment; start startAgent.sh in Linux environment, and use port 4444 by default.

Configure PerfMon Metrics Collector

Run tests

Finally, I would like to thank everyone who reads my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, if you can use it, you can take it directly:

This information should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can also help you!

Guess you like

Origin blog.csdn.net/YLF123456789000/article/details/135386853