jMeter + Eclipse HOWTO

NOTE: As I see, I broke this wiki page (sad) It refers to images on my updated home page - this images no longer exist. Please refer to the original document (jMeter + Eclipse HOWTO

 Michal Kostrzewa (m.kostrzewa@pentacomp.com.pl) 

Special thanks to Janka Kostrzewa for correcting this text.

Link to original: jMeter + Eclipse HOWTO

Abstract

This document describes briefly how to develop the jMeter project with Eclipse IDE. Eclipse is a very powerful development environment with following features:

Eclipse is available for download for different platforms at http://www.eclipse.org

Setting up jMeter + Eclipse

I assume you downloaded Eclipse IDE and have it working.

Accessing SVN

The directions below are for cvs, but JMeter now uses Subversion. You will need to use the Eclipse pluging Subclipse to get JMeter from the repository.

Setting up paths

Open "Java browser perspective" with and buttons Find your project and create a folder named lib/ext (lib already exists) Find your project root element, invoke the pop-up menu and select project properties Select "JAVA build path" side tree element Select "Source" tab Click "Add Existing Folders" and select as follows

  }}}
Enter "Build output folder" as project-name/lib/ext 
NOTE: this path is important, don't change it to any other directory 
The source tab should look like this:
{{{  

Select "Libraries" tab Select "Add jars" Select following jars:

  }}}
Click "OK" and wait for the entire source tree to compile

=== Running and debugging jMeter ===

Find the NewDrive class on "Java browser perspective"
{{{  

Select "Run"/"Run ..." from the menu Select "Java application" from the side tree and click "New". JMeter running configuration will be added Important: Select "Arguments" tab, uncheck "Use default working directory" and correct working directory field to project-name/bin Click "Run" From this time you can run and debug jMeter simply by pressing and buttons

Comments

Please send your comments concerning eclipse+jMeter as well as grammar/spelling issues either to jmeter mailing list or to me (m.kostrzewa@pentacomp.com.pl).