The application I'm testing has two servers and I want to monitor and view the server performance. Please explain in simple layman language.
It's easy to implement. Please see the How to Monitor Your Server Health & Performance During a JMeter Load Test, which will guide you step by step to measure the server-performance!!!
Hope, this will help you!!
If by server performance you mean server's health and resource utilization, then,
There is no built option for monitoring server health in JMeter. But, don't be disheartened, there is a plugin available for it. Name of the plugin is PerfMon Server Agent. You can download it from here. Documentation and tutorial for same are available here.
To install the Server Agent (ON YOUR SERVER):
- Download Server Agent zip file.
- Unzip file and place entire folder on your server (Make sure JRE is installed and configured on your server).
- From within the Server Agent folder execute startAgent.bat(windows) or startAgent.sh(Linux). Keep this file running.
To setup and run your test to monitor server health you will need PerfMon Metric Collector listener in your JMeter instance. For this (ON YOUR SYSTEM WHERE YOU WILL RUN JMETER),
- Download StandardSet plugin from Jmeter-Plugins site.
- Extract the contents of zip file in your JMEter's root directory.
- Start Jmeter and add your test plan to it.
- Add PerfMon Metrics Collector listener to your test plan.
- Add IP of your servers along with Port Number (default is 4444) and select the Metrics to collect.
- Save your test plan and execute it.
- You will see that your server health will be displayed in the chart in PerfMon Metrics Collector listener.
If by server performance you mean how much load your server can handle, then, I guess that is what JMeter actually does!