[prev in list] [next in list] [prev in thread] [next in thread]
List: jmeter-user
Subject: Re: Multiple session with single user
From: Michael Stover <mstover1 () apache ! org>
Date: 2004-06-22 17:24:30
Message-ID: 1087925070.2925.37.camel () DaVinci
[Download RAW message or body]
You seem to be confusing 'session' with 'request'. Just so we're
straight, a 'session' is a user logged in, with it's own session id via
a cookie (or other mechanism). A 'request' is a single http call to the
server, either a GET or POST by a single user.
If your server only allows a user one login (or 5, whatever), and you
have only one set of user credentials, you cannot create 30 sessions. No
matter what you do.
If you want 30 requests/second, then you can do that, and it is
independent of the number of sessions. A single session might be able
to get 30 requests/second (depending on how long each request takes).
If you are able to log in 5 times (ie 5 sessions), then you could set
the throughput timer to 6 requests/second, and you'd probably stand a
decent chance of achieveing 30 requests/second total (throughput timer
is strictly per thread, so you have to multiply yourself).
-Mike
On Tue, 2004-06-22 at 12:22, Munirathnam B Kumar wrote:
> Hi
> when My test plan is :
>
> Thread Group - Ramp period =1, Number of threads =5, forever =true
> HTTP Cookie Manager
> Log Page
> Application page
>
> All my responses are fine and able to maintain a load of 5 session per
> sec.
>
> When i increase the Number of threads =6, the security component on my application server
> revokes the user id because of simultanesously Logins.
> If i am able to login once and use the same Cookies, i will be able to
> maintain 30 users per sec.
> So i need a way in Jmeter to login only once and then hit my applciation
> at a load of 30 sessions per sec.
>
> The throughput controller or throughput timer is not helping me
>
> this is same as
>
> Thread Group - Ramp period =1, Number of threads =1, forever =true
> HTTP Cookie Manager
> Log Page
> Application page
> Application page
> Application page
> Application page
> Application page
> .
> .
> .
> 30 times
>
>
>
> any help ?
>
> thanks
> Kumar
>
>
>
>
>
>
>
>
> "Michael Stover" <mstover1@apache.org>
> 06/21/2004 07:25 PM
> Please respond to "JMeter Users List"; Please respond to mstover1
>
>
> To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
> cc:
> Subject: Re: Multiple session with single user
>
>
> I'm afraid I don't understand your question. It sounded like you needed
> to create 30 sessions, but your webapp won't let you create 30
> sessions. Which doesn't sound like a problem we can help you with.
>
> If you need 30 requests per second, from one user, you can use the
> Throughput Timer for that.
>
> -Mike
>
> On Mon, 2004-06-21 at 22:17, Munirathnam B Kumar wrote:
> > hi
> >
> > The throughput controller does not seem to load users as expected.
> > Login and the application is hit only once.
> >
> > Test plan :
> > Thread Group - Ramp period =1, Number of threads =1, forever =true
> > Log Page
> > Throughout controller - Total Executions= true, per user =1, throughput
> =
> > 30
> > Application page
> >
> > pls help
> >
> > Thanks
> > Kumar
> >
> >
> >
> >
> >
> > nlunebur <nlunebur@lisasoft.com>
> > 06/21/2004 05:37 PM
> > Please respond to "JMeter Users List"
> >
> >
> > To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
> > cc:
> > Subject: Re: Multiple session with single user
> >
> >
> > try using a throughput controller.
> > this allows you to set how many u wanna send in a unit of time.
> > hope this helps.
> >
> > Munirathnam B Kumar wrote:
> >
> > >Hi
> > >I need to create a load of 30 users per sec continiously for a web
> > >application. I have only one user id.
> > >The test needs to login once and then load 30 sessions.
> > >The "number of threads" parameter helps in loading 30 sessions but also
>
> > >fires 30 logins request. (so security revokes my user id )
> > >
> > >Can anybody help me in resolving the problem.
> > >
> > >Thanks
> > >Kumar
> > >
> > >
> > >American Express made the following
> > > annotations on 06/21/2004 05:34:15 PM
> >
> >------------------------------------------------------------------------------
> >
> >******************************************************************************
> > >
> > > "This message and any attachments are solely for the intended
> > recipient and may contain confidential or privileged information. If you
>
> > are not the intended recipient, any disclosure, copying, use, or
> > distribution of the information included in this message and any
> > attachments is prohibited. If you have received this communication in
> > error, please notify us by reply e-mail and immediately and permanently
> > delete this message and any attachments. Thank you."
> > >
> >
> >******************************************************************************
> > >
> > >
> >
> >==============================================================================
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
> > American Express made the following
> > annotations on 06/21/2004 07:17:39 PM
> >
> ------------------------------------------------------------------------------
> >
> ******************************************************************************
> >
> > "This message and any attachments are solely for the intended
> recipient and may contain confidential or privileged information. If you
> are not the intended recipient, any disclosure, copying, use, or
> distribution of the information included in this message and any
> attachments is prohibited. If you have received this communication in
> error, please notify us by reply e-mail and immediately and permanently
> delete this message and any attachments. Thank you."
> >
> >
> ******************************************************************************
> >
> >
> >
> ==============================================================================
--
Michael Stover <mstover1@apache.org>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic