jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bgordon <bbgdl-jme...@yahoo.com>
Subject Re: RuntimeController
Date Tue, 02 May 2006 20:13:24 GMT
Ok (I have to admit you had me chuckling with your comment "I had lots of problems trying to
get it to work... it did seem to work for me in some cases...".) 
   
  I think my logic was wrong. If my ThreadGroup had a loop then the RuntimeController will
only stop the elements nested within it. So using the Scheduler is preferred. In my case I
want to 
  a. parameterize the duration from a property. Can I do that?
  b. follow your suggestion of setting a startup delay of 0, and a duration of 400 etc
   
  I don't understand how to modify the Scheduler Configuration. Are the Start/Stop times required?
In my case I don't care about the times-I want to run it ASAP, but with a delay. Do I want
to parameterize the Start/end times or do I want to somehow leave them empty and simply set
the duration and delay? If duration and Startup delay are set will the other fields be ignored?
   
  Thanks for your help,
   
Bruce

sebb <sebbaz@gmail.com> wrote:  On 02/05/06, bgordon wrote:
> I've downloaded and tried version jakarta-jmeter-2-1.20060430 and I still have the same
error. I want to verify that I'm using RuntimeController properly. I have
> ThreadGroup "TransactionalRequestor"
> RuntimeController with Runtime (seconds) set to ${__P(runtimeControllerMaxSeconds,180)}
> RandomController
> ThroughputController A
> Http request 1
> Http request 2
> Http request 3
> ThroughputController B
> Http request 4
> Http request 5
> ...
> Should that stop the test after rutimeControllerMaxSeconds, assuming its defined?

Looks OK.

I had lots of problems trying to get it to work... it did seem to work
for me in some cases...

How about trying the thread group scheduler instead?

Set a startup delay of 0, and a duration of 400 etc

S.
> When will the RuntimeController step in and cancel things. If I have many children does
it only check after a pass through the children, which could explain why I see a run time
of 21 minutes even though my runtimeController should be stopping after 400 seconds.
>
> Thanks, Bruce
>
>
>
> sebb wrote:
> On 02/05/06, bgordon wrote:
> > the RuntimeController doesn't seem to stop my jmx scripts. I see that there is
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=35059
> >
> > Should that be fixed my my 2.1.1 version or do I need to download a newer one?
>
> IIRC, I've not made any fixes in that area since 2.1.1, but there are
> a lot of other fixes in the current nightly which might possibly have
> helped.
>
> All I can say, is try it and see ...
>
> Thanks, Bruce
> >
> >
>
> ---------------------------------------------------------------------
> 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
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message