Abstract

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

It's fast! Although it's written in JAVA like many other development platforms, it doesn't use SWING, which is big and slow; it uses an especially created SWT widget toolkit instead. This tookit doesn't emulate widgets in java, but it uses native system widgets (GTK on linux), which improves performance substantially.

Very functional editor/package browser with syntax highlighting and syntax hints.

Compiles java classes on the fly (when waiting for user input or saving a file), so one doesn't have to wait when launching an application. Furthermore, one sees errors immediately.

Very nice debugger.

Powerful code refactoring: when you want to change the name of a method or change parameters, don't hesitate to do it. *Eclipse intelligently changes appropriate things regarding to java syntax (you won't get this result using simple search/replace).

Last but not least: search with regard to java syntax. You can just mark an identificator and click "open super implementation" or "find any reference to.." or "find declaration of...". It helps very much when exploring the internals of an unknown application.

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).