Saturday, October 15, 2011

Server side monitoring in JMeter with JMeter Plugins

Like may I needed some server side statistics while running load tests earlier I had couple of Ruby scripts which were gathering my required information on server as CSV file I do have webmin configured on the server but I was still looking for something which is bit more tightly coupled with one of the most famous (easy to use) tool for load testing JMeter.

Here is how to do it:
We just needed one thing JMeter Plugins
 Prerequisite: JMeter 2.4+ or above with a JRE 1.6+
 Download JMeter Plugins 
  • Unzip it and (refer
    • Copy JMeterPlugins.jar to  JMETER_HOME/lib/ext. 
    • Copy zip files content to the Server(s) you need to monitor
  • On each server run JMeterPlugins-HOME/serverAgent/startAgent.sh PORT_NUMBER (refer)
  • Run JMeter (create your test plan as usual)
  • You will see bunch of extra items in Add context menue's item beginning with jp@..  these are the extra plugins we just added via JMeterPlugins.jar
  • Add jp@gc - PerfMon Metrics Collector (refer)
  • Configure your parameters (refer)
  • Run your tests and see server side info
I have use it on Mac and Linux, it should be able to work with most of the systems since its server side agent is build on top of SIGAR - System Information Gatherer And Reporter

4 comments:

  1. Nice explanation could you please tell me units of resources measured with this plug-in?

    ReplyDelete
  2. @Manu it depends upon the matrix you are collecting for example for CPU it is % usage, for memory it's MB for SWAP it's pages per sec.

    You can find more about it at http://code.google.com/p/jmeter-plugins/wiki/PerfMonMetrics

    ReplyDelete
  3. Awesome Artical Really i have searching this type of valuable information From a lot of days i found satisfaction when Read your blog Thanks for giving this type blog and also please Read link
    bvba Woodstone which provide information server monitoring software & Network monitoring tools

    ReplyDelete
  4. Well, I think your blog is pretty good and have lots of useful information JMeter Plugins- PerfMon Server Agent. Keep it up!

    ReplyDelete