On 16/11/2007, Musuvathy, Ashok <[EMAIL PROTECTED]> wrote:
> Thanks,
>
> This explains how I can parameterise and pass run time arguments but I
> wanted to know if it was possible to utilise the JMeter API in my Java
> code and call the appropriate JMeter class for running the test rather
> than executing through a system call.

JMeter is not designed for such usage.

It is possible to call JMeter from Java code.
For example JMeter Ant, but that is effectively just a call to the
non-GUI test code - it does not pass in the script separately, so
multiple tests would require multiple invocations.

So JMeter is not embeddable at present.

It may be possible; I don't know.
It may be very tricky, or it may require a few minor changes to existing code.

> Rgds
> Ash
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 16, 2007 1:48 PM
> To: JMeter Users List
> Subject: Re: Jmeter API sample
>
> http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-87f846dad28fd6b2ad5
> eb0d44d527d572f810653
>
> and
>
> http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-81e8fdc6d08e5b574a0
> 6556f597f788df8ed12fe
>
> On 15/11/2007, Musuvathy, Ashok <[EMAIL PROTECTED]> wrote:
> > I'd like to use the JMeter API to run some tests with dynamic
> arguments
> > - Is this possible and if so can someone point me to the documentation
> > with a simple example ?
> > The purpose is to be able to connect to websites with different
> > authentications and check results in a short span of time.   If I run
> it
> > through command line JMeter, I would probably have to bring up JVM for
> > every call and that would be too expensive.
> >
> > Regards
> > Ash
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to