You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by dilleo <ri...@yahoo.com> on 2007/04/01 20:30:28 UTC

once only for login .. what do I use for logout?

Newbie here!
I have a Jmeter script which has a Once Only Controller for the Thread group
to login.
Then I have several HTTP requests that I want to repeat preety much for the
duration

This works and makes sence but I am interested from a theoretical point of
view ..
is there a way I could .. upon termination of the test have a set of HHTP
logout requests
such that the test cleans up after itself (I am basically a tidy fellow).

Keep in mind the structure I would prefer is run all the threads untill such
a time as I 
choose to kill them all .. then have a "terminator" run some requests on the
thread group 
to logout ?   Is there something like that in Jmeter ?


-- 
View this message in context: http://www.nabble.com/once-only-for-login-..-what-do-I-use-for-logout--tf3502109.html#a9780636
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: once only for login .. what do I use for logout?

Posted by sebb <se...@gmail.com>.
The Once Only Controller only operates on the first loop; there is no
corresponding controller for the last loop.

Try the following instead:

ThreadGroup
- Login
- Loop Controller
- - samplers
- Logout



On 01/04/07, dilleo <ri...@yahoo.com> wrote:
>
> Newbie here!
> I have a Jmeter script which has a Once Only Controller for the Thread group
> to login.
> Then I have several HTTP requests that I want to repeat preety much for the
> duration
>
> This works and makes sence but I am interested from a theoretical point of
> view ..
> is there a way I could .. upon termination of the test have a set of HHTP
> logout requests
> such that the test cleans up after itself (I am basically a tidy fellow).
>
> Keep in mind the structure I would prefer is run all the threads untill such
> a time as I
> choose to kill them all .. then have a "terminator" run some requests on the
> thread group
> to logout ?   Is there something like that in Jmeter ?
>
>
> --
> View this message in context: http://www.nabble.com/once-only-for-login-..-what-do-I-use-for-logout--tf3502109.html#a9780636
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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