Available in Extras Set
JMXMon Sample Collector since 1.1.2

Introduction

JMXMon lets you plot JMX performance metrics over time when the test is running.

Usage

GUI Mode

Just add a "JMXMon Samples Collector" listener where appropriate.

Here are some typical values you might want to use:

URI: service:jmx:rmi:///jndi/rmi://YOURHOST:6969/jmxrmi or service:jmx:rmi://YOURHOST:JMXPORT/jndi/rmi://YOURHOST:JMXPORT/jmxrmi

Object name: java.lang:type=Memory

Attribute: HeapMemoryUsage

Key (for composite JMX values): used

To change how often the a sample should be taken set the parameter "jmeterPlugin.jmxmon.interval" to the interval in milliseconds, default is every second.

Find attributs informations with JConsole

Launch the JConsole tool (in the JDK /bin directory)

Navigate in the MBean tab Choose the MBean then MBean Info is display Select value in the ObjectName (example Catalina:type=GlobalRequestProcessor,name=http-8080 ) and copy it in the JMXMon Samplers Collector grid column named Object Name

For simple MBean, select the attribut and copy it in the JMXMon Samplers Collector grid column named Attribute

For composite JMX values (like Memory) Select the attribut and the key and copy this 2 strings in the column Attribute and Key