jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matthew sporleder" <msporle...@gmail.com>
Subject Re: synchronized samples
Date Sun, 20 Jan 2008 13:03:47 GMT
On 1/20/08, Andrej van der Zee <andrejvanderzee@gmail.com> wrote:
> Hi,
>
> I am new to JMeter and I have an issue I am not able to solve. I was hoping
> to get some help here :)
>
> My problem is best explained with a example, so suppose I have the following
> setup:
>
> Thread Group
> -- Login (HTTP Request)
> -- Visit Page (HTTP Request)
> -- Logout (HTTP Request)
>
> Now I would like to start 10 threads that first all execute "HTTP Request
> Login" *one after each other*. So first thread_1 would  execute "Login" and
> after it finishes, thread_2 would immediately execute "Login", etc...
>
> Then, after all 10 threads executed the "Login", I would like to pause 10
> seconds before going to the next stage. After the pause, I would like to
> execute "Visit Page" for all threads in the same way as "Login", and then
> have another 10 seconds pause, etc.
>
> I realize this breaks the idea of concurrent users, but this is for a
> reason.
>

I think you could use the interleave controller, a timer, and a
function to calculate how long you waited (10-$x where $x=thread id,
or something like that).

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Interleave_Controller
http://jakarta.apache.org/jmeter/usermanual/test_plan.html#timers
http://jakarta.apache.org/jmeter/usermanual/functions.html

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