jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Dempsey <john_demp...@yahoo.ie>
Subject Re: Thread Group Start Delay, Stop Delay
Date Tue, 28 Aug 2007 14:54:16 GMT
Hi Matt,

You can try this.
Create a user defined variable e.g. TestLength.

Put the TestLength value equal to the length of your
testrun e.g. 300 (for 5 mins).

In your monitor threadgroup click the scheduler
checkbox and set the startup delay to 0.
Set the duration to
${__intSum(${TestLength},120,Result)

In your other threadgroups click the scheduler
checkbox and set the startup delay to 60.
Set the duration to ${TestLength}.

I think this will work, I had something similar in a
test script before.
You don't need the variable but it is useful if you
need to change things later.

John.

--- Matt <mattmoran76@gmail.com> wrote:

> Hi folks,
> 
> I've just added the Tomcat Monitor to a test plan,
> impressed with how easy
> it is to setup.
> 
> One thing though, i'd like this to start 60 seconds
> before my other Thread
> groups, and stop 60 seconds after the test has
> stopped.  I find this a good
> way of making sure that the server was not in use
> during these periods.
> 
> Not quite sure how to do this, anyone done it
> before?
> 
> Cheers,
> 
> Matt
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
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