Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's useful to have JMeter Eclipse project in hand, since you need to do debugging and possible bug fixing of in JMeter itself.

  1. Check out JMeter trunk from Subversion

...

Setting up plug-in project

This Eclipse project will build your custom components and launch JMeter so that it with a configuration which will find them classes propeply.

  1. Set up your custom plug-in project
    • Create a new Java project
    • Add jmeter-trunk to project dependencies
    • Create bin/ and src/ folders
    • Create jmeter.properties in the bin/
      • This defines where JMeter internal class loader looks for classes
      • It should look like this
No Format
# JMeter uses case sensitive string matching to test these paths against absolute class path.
# This is very bad since paths must be *exactly* here as they appear in Java classpath.
# Hopefully this will be fixed in the future versions. Note Windows needs to escape \ character as \\.

# Add JMeter output folder and our plug-in output folder to paths from which 
# plug-ins are searched
search_paths=C:\\xxx\\jmeter-trunk\\bin;.
			 .

...