Thanks a lot for the replies guys! I tried sebb's ApacheJMeter_addon.jar suggestion rightaway and it worked. This is a great and helpful community and JMeter is an awesome tool. -Tim
sebb <[EMAIL PROTECTED]> wrote: You may be able to get away with creating a replacement JMeter class, and putting it in a jar that has a name that is earlier in the alphabet. e.g. ApacheJMeter_addon.jar, and place it in lib/ext If that does not work, remove JMeter.class from ApacheJMeter_core.jar as well. Note that ApacheJMeter.jar only contains NewDriver.jar (and a supporting class), and is only used for the initial startup. Utility jars are loaded from lib and Jmeter code from lib/ext. S. P.S. Such questions really belong on the JMeter Developers e-mail list On 22/11/05, Peter Lin wrote: > to do that, you'll have to extend jmeter.java and just build the classes in > the core directory. The main engine of jmeter is in the core directory and > there's ant tasks for building just that one module. > > hope that helps > > peter > > > On 11/22/05, Tim wrote: > > > > Sorry if I didn't explain properly. I ment that I want to modify the > > JMeter.java file in the org.apache.jmeter package, the one that runs the > > engine, reads in the jmx files, converts them into hashtrees, and whatnot. > > My goal is to change it so that I'll be able to read in multiple jmx files > > in non-gui mode, without having to close off my JMeter run. Which is, as far > > as I know, impossible right now. > > > > - Tim > > Peter Lin wrote: > > by customer jmeter class, do you mean write a custom plugin for java? > > > > there's a tutorial I wrote with mike. you can find it here. if you any > > further questions, feel free to ask. > > > > > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf > > > > peter > > > > > > On 11/22/05, Tim Steeman wrote: > > > > > > Greetings, > > > I would like to make some adjustments to the JMeter class. However, I > > > don't want to recompile JMeter in it's entirety (rather, I can't seem to > > > figure out how at the moment). > > > I figured I could stick NewDriver.java, DynamicClassLoader.java, and > > > JMeter.java in a jar file that replaces ApacheJMeter.jar and run that. > > > Unfortunately that doesn't work, as I get a " > > > java.lang.NoClassDefFoundError: org/apache/jmeter/plugin/JMeterPlugin" > > > error when I run JMeter.bat. > > > I don't get this error when I run NewDriver from Eclipse, though. > > > > > > As you may have noticed, I'm not really that good with JAVA. So could > > > someone please tell me if it's somehow possible to write a custom JMeter > > > class, put it in a jar and run it? Or am I committing an unholy sin here > > and > > > should just try something else? > > > > > > Thank you for your time, > > > Tim > > > > > > > > > --------------------------------- > > > Yahoo! FareChase - Search multiple travel sites in one click. > > > > > > > > > > > > > --------------------------------- > > Yahoo! FareChase - Search multiple travel sites in one click. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.

