1.0 Download serveragent. zip
Download
https://jmeter-plugins.org/wiki/PerfMonAgent/in the Serveragent.zip, store it in the JMeter directory and unzip it.
1.1 Jmeter-win
Before testing the win performance, start the bat file and start the SH file before testing Linux.
Note:
① data must have a writable file, otherwise it will error, unable to execute the test plan. (The fact that my home notebook error, the company does not error)
The length of the ② thread group is set longer, otherwise the time is too short to get the data.
1.2 Jmeter-linux
Even if the Linux firewall is turned off, there is still a possibility that the results can not be collected, the cause is unknown, but if localhost can collect the results, is generally a server problem, find a way to solve it
Note: The data must have a writable file, otherwise it will error, unable to execute the test plan.
Jmeter:windows server and Linux server performance metrics collection