Managing login one time?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Managing login one time?

Thinh Nguyen-3
Hi all,

Currently, I have 20 threads running 5 times. The ThreadGroup composes of 1
Login request to initiate the user's profile etc.. this is a POST request.
Then another request after this Login request called Search Request.

My understanding is that for every thread it'll login each time, and do a
search request after that for the total of 5 times. Is there anyway to force
them login only the first time, and then do the search request 5 times?

Thanks a lot for any help.

Regards,
Thinh

_________________________________________________________________
Are you right for each other? Find out with our Love Calculator:  
http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Managing login one time?

sebb-2-2
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Once_Only_Controller

On 5/8/05, Thinh Nguyen <[hidden email]> wrote:

> Hi all,
>
> Currently, I have 20 threads running 5 times. The ThreadGroup composes of 1
> Login request to initiate the user's profile etc.. this is a POST request.
> Then another request after this Login request called Search Request.
>
> My understanding is that for every thread it'll login each time, and do a
> search request after that for the total of 5 times. Is there anyway to force
> them login only the first time, and then do the search request 5 times?
>
> Thanks a lot for any help.
>
> Regards,
> Thinh
>
> _________________________________________________________________
> Are you right for each other? Find out with our Love Calculator:
> http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Managing login one time?

Vinay Gadekar
In reply to this post by Thinh Nguyen-3
Hi Thinh,

I will suggest use 'once only' controller and have login page as child of this controller.
You Test plan should look like follows:

Thread Group
  Once only controller
        Login/Sing in page
  Search page
  .
  .
  remaining pages.

'Once only' controller will ensure that its child elements will execute only once for each thread.
Hope this will help you.

Regards,
Vinay Gadekar.
Phone : +91 20 605 4452 Ext 472.
Nihilent Technologies Ltd. Pune, India.



-----Original Message-----
From: Thinh Nguyen [mailto:[hidden email]]
Sent: Sunday, May 08, 2005 7:07 AM
To: [hidden email]
Subject: Managing login one time?


Hi all,

Currently, I have 20 threads running 5 times. The ThreadGroup composes of 1
Login request to initiate the user's profile etc.. this is a POST request.
Then another request after this Login request called Search Request.

My understanding is that for every thread it'll login each time, and do a
search request after that for the total of 5 times. Is there anyway to force
them login only the first time, and then do the search request 5 times?

Thanks a lot for any help.

Regards,
Thinh

_________________________________________________________________
Are you right for each other? Find out with our Love Calculator:  
http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Managing login one time?

ManjuNS
Hi,

I have 4 web methods in sequence[Create, Get, update,delete] for web
service,  the Performance test with 1 User[Thread] and 1 iteration it
works fine and methods in sequence it gets executed.

But If I want to load Testing with 50 Users and 2 iteration, some
Threads are not executed in sequnces,  in some cases Get Method get
executed before Create method got executed.

is there any configuration item, that i am missing to achieve
execution of threads in sequence..


thanks
Manju

On 5/9/05, Vinay Gadekar <[hidden email]> wrote:

> Hi Thinh,
>
> I will suggest use 'once only' controller and have login page as child of this controller.
> You Test plan should look like follows:
>
> Thread Group
>   Once only controller
>         Login/Sing in page
>   Search page
>   .
>   .
>   remaining pages.
>
> 'Once only' controller will ensure that its child elements will execute only once for each thread.
> Hope this will help you.
>
> Regards,
> Vinay Gadekar.
> Phone : +91 20 605 4452 Ext 472.
> Nihilent Technologies Ltd. Pune, India.
>
>
> -----Original Message-----
> From: Thinh Nguyen [mailto:[hidden email]]
> Sent: Sunday, May 08, 2005 7:07 AM
> To: [hidden email]
> Subject: Managing login one time?
>
> Hi all,
>
> Currently, I have 20 threads running 5 times. The ThreadGroup composes of 1
> Login request to initiate the user's profile etc.. this is a POST request.
> Then another request after this Login request called Search Request.
>
> My understanding is that for every thread it'll login each time, and do a
> search request after that for the total of 5 times. Is there anyway to force
> them login only the first time, and then do the search request 5 times?
>
> Thanks a lot for any help.
>
> Regards,
> Thinh
>
> _________________________________________________________________
> Are you right for each other? Find out with our Love Calculator:
> http://fun.mobiledownloads.com.au/191191/index.wl?page=191191text
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]