Building JMeter plug-in with Eclipse
\[http://www.eclipse.org Eclipse\] is a very popular Java development environment. Wiki Markup
Targetted to Eclipse 3.1 and JMeter 2.1 trunk version. JMeter isn't designed to be edited and build from Eclipse IDE (JMeter uses Ant build file and complex path/jar structure with optional dependencies), so some work has to be done before we get wheels running.
...
- Set working directory to bin/ in your project
- JMeter is hard coded to look up jmeter.properties in the launch folder
- E.g. ${workspace_loc:SIPPerformanceStresser/bin}
- Copy lib/ from jmeter-trunk to your plug-in project root
- JMeter is hard coded to look up jars from ../lib
- Main class: org.apache.jmeter.NewDriver
Creating components
...
JMeter 2.x uses its internal [TestBean]-framework for adding new components. For more information, see \[:DeveloperManual/TestBeanTutorial:Tutorial - Making a JMeter TestBean\], \[http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf?view=log&pathrev=325123 this PDF\] and JMeter source code
For each component you need
...
If widget labels are not read from resouces file, your the properties file of your component has a wrong filename