Skip to main content

JMC Plugins

JMC Plugins add features to Jmeter, to integrate JMC also during Jmeter execution and not only to generate JMX file.

Installation.#

Download last jmc-core-*.jar and jmc-plugin-*.jar.

Add jmc-core-*.jar and jmc-plugin-*.jar jar to jmeter as plugin : two choice possible :

  1. Add jmc-plugin-*.jar to jmeter plugin folder: lib/ext.
  2. Add property search_paths to Jmeter with path to jmc-core-*.jar and jmc-plugin-*.jar folder : see Jmeter classpath .

Also your projects using plugin should be included to Jmeter as plugin, the same way as jmc-plugin-*.jar is installed

Debug & Execution#

Intellij#

jmeter-debug-Intellij

  1. Download Jmeter to any folder on your Machine.
  2. Install any plugins you need to jmeter and also install jmc-core and jmc-plugin as plugins.
  3. Add run/debug configurations as Jar Application.
  4. Path to Jar : path to ApacheJMeter.jar in Folder bin.
  5. VM options : -XX:MaxMetaspaceSize=256m -Xss256k -Dsun.awt.disablegrab=true -cp org.apache.jmeter.NewDriver
  6. Program arguments : Add path to jar plugins and also your project classes with search_paths properties, Intellij can use Macro to replace variable from your project like $ProjectFileDir$ for root project dir, ( ex : -Jsearch_paths=$ProjectFileDir$/myproject-plugin/build/classes/java/main;$ProjectFileDir$/myproject-core/build/classes/java/main ), You can also add any Jmeter arguments like run in non-gui mode.
  7. Before launch : Build your project to refresh the classes, for gradle you can add in agrument (-x check -x javadoc -x assemble) to have a quick build and skip test, check, generating jar.