jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Programmatic control of JMeter tests from JAVA
Date Thu, 17 Feb 2005 17:06:20 GMT
It's easy enough to change the load remotely from a Java program using
the BeanShell server facility (see jmeter.properties for how to start
this).

One can send commands to the BeanShell server to change the value of a property.
The property in turn can be used in a Throughput Controller (or
perhaps a Timer).

There are some BSH scripts in the extras directory, or search the mail
archives for BeanShell - I think this was covered a few months ago.

The BSH server can also stop individual threads or the entire test.
There's no way currently to restart a test or increase the number of
threads.

S.
On Thu, 17 Feb 2005 07:46:17 -0500, Peter Lin <woolfel@gmail.com> wrote:
> no one has really ever tried. atleast not that I am aware of. by Java
> program I assume you mean not using jmeter GUI.
> 
> in theory it should be feasible, since JMeter gui sends commands to
> remote systems for distributed testing. I don't know that code, so
> perhaps seb or mike can provide some pointers.
> 
> peter
> 
> 
> On Wed, 16 Feb 2005 19:44:20 -0800 (PST), Deepak <deepakbatra@yahoo.com> wrote:
> > Is there a way to control JMeter tests (start, stop,
> > increase load or decrease load) from a JAVA program.
> >
> > Any help is appreciated.
> >
> > Deepak
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message