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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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.
>

Reply via email to