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

