Ruben Laguna's blog

Apr 25, 2007 - 2 minute read - Comments - eclipse java jdbc jmeter

Compiling and building JMeter with Eclipse 3.2.x

The developer notes on how to compile and debug Jmeter with Eclipse 1 and 2 are very difficult to follow and outdated. If you are interested in modifying Jmeter using Eclipse 3.2 Callisto you can follow the following procedure:

  1. Install Subclipse Callisto release (update site:
  2. Download optional libraries. Although they’re optional is better if you download them.
    1. mail.jar
    2. activation.jar
    3. beanshell
    4. bsf
    5. jexl
  3. Use SVN Repository Exploring and add the following repository SVN Repository Exploring
  4. Navigate to tags/v2_2. Right-click on it and select Checkout. Use then New Project Wizard.
  5. Rename the the eclipse.classpath to .classpath. Delete the eclipse generated .classpath first.
  6. Change the Build Classpath. Select the project in the Package Explorer. Right-click it and select PropertiesJava Build Path> Source. Then uncheck Allow output folders for source folders and set the Default output folder to the <Project name>/lib/ext.
  7. Remove the exclusion patterns for images/*, etc. in the Build Path->Source
  8. Look with the Navigator (not the Package Explorer) in the lib/ext folder and see if eclipse is compiling ok. If not check the Problems view to see if the project was not built since its build path is incomplete. Probably your are missing some library. Commons-logging has to be change from commons-logging-1.1 to commons-logging. If it complains about javax.mail.MessagingException then you have to add mail.jar to the build path

At startup JMeter search for classes deriving from JMeterGUIComponent or TestBean. Now the context menus are populated with items.

Re: using PreparedStatement in JDBC tests?

Silly Apache JMeter 2.2 bug MEDgle - search your symptoms