1. Jmeter Server Agent:
During a load/performance test you can monitor CPU, Memory, Disks I/O and
Networks I/O etc. using Jmeter tool... To address this we need to install
Jmeter plugin (Server agent) package in the server to be monitored.
Installation
Latest server agent plug-in will be available to download @
http://jmeter-plugins.org/downloads/all/
Steps:
1. Download the Server Agent from - http://jmeter-plugins.org/downloads/all
2. Unzip the Server agent somewhere on the server.
3. Launch the Server agent using startAgent.bat script on Windows or startAgent.sh
script on UNIX
- Click ‘Run’
- Server agent started
Note:
A. The agent is written in Java, so will need JRE 1.4+ to run it.
B. You need to open the port 4444 (default) on the server machine.
2. Adding PerfMon Metrics Collector Listener to Jmeter
Once the PerfMon Agent is running, you can collect data in Jmeter tool using the
PerMon Metrics Collector plugin which is a listener that communicates
with Server Agent on each server machine.
Perfmon Metrics Collector Plugin will come with the plugin package
JMeterPlugins-Standard-x.x.x.zip.
Steps to add:
1. Download the JmeterPlugins-Standard file from -
http://jmeter-plugins.org/downloads/all/
2. Unzip the plugin file somewhere on the Jmeter machine
3. Copy the JMeterPlugins-Standard.jar file from
JmeterPluginsStandard_1.3.0 >> lib >> ext
4. Place this JmeterPlugins-Standard.jar file in Jmeter lib\ext file
apache-jmeter-2.13 >> lib >> ext
5. Now you can add and monitor this Listener in Jmeter tool as below
Jmeter >> TestPlan/ThreadGroup >> Listener >> jp@gc-PerfMon Metrics Collector
6. Add Server/Host details to monitor
Note: You need to open the port 4444 (default) on the server machine.
No comments:
Post a Comment