Max Concurrent User for HTTP/HTML Protocol

91 views
Skip to first unread message

RaJ

unread,
Mar 5, 2009, 11:34:08 AM3/5/09
to LoadRunner
Could any one clear my doubt regarding to loadrunner ,my question is
that what is the maximum Vuser can run concurrently using HTTP/HTML
protocol in loadrunner controller?

Anand

unread,
Mar 5, 2009, 4:41:06 PM3/5/09
to LoadRunner
I believe you are only limited by the number of licenses you/your
company hold and the performance capacities of the controller.

There used to be a document that details the footprint for each kind
of Vuser on the Mercury support site, but I do not know whether it is
available on the HP Support site.

Anand

Krishnakanth PPS

unread,
Mar 6, 2009, 10:21:25 AM3/6/09
to LR-Loa...@googlegroups.com
how many you want to run??

rohit sharma

unread,
Mar 6, 2009, 3:13:35 AM3/6/09
to LR-Loa...@googlegroups.com

Hi,

As per my knowledge for 1 Vuser 2MB. so based on your system capacity you can run n number of Vuser.

With Regards
Rohit


--- On Fri, 3/6/09, Anand <anands...@gmail.com> wrote:

Rajiv kumar

unread,
Mar 6, 2009, 10:38:27 AM3/6/09
to LR-Loa...@googlegroups.com
There is no license problem. The load runner which i am using can ramp up 999 Vuser concurrently but my question is that is it fixed if i m using any particular protocol .
let me clear some doubt

1- I created a scenario for one Script which is recorded using HTTP/HTML protocol.I ran the script for 100 Vuser .After 49 Vuser ramped up  Some Vuser started failing .Error which i was getting is "HTTP Server connection prematurely shutting down".

2- Is it depend upon system configuration  like  CPU  RAM  etc.?

3-- is it depend upon port through Vuser sending request to server that might not allowing more then 49 user??

Plz Help!!!

Sunil2811

unread,
Mar 6, 2009, 12:03:52 PM3/6/09
to LoadRunner
Hi Rajiv,

generating Vusers is only dependent from LG (load Generator) memory
perspective... if you are trying to simulate 100 VUsers (HTTP only)
then a 2GB machine would be enough..

But the error you are getting is from application server side.. its
not a client side error..

check with the application configuration / deployment team... what is
the no of sessions / active threads it can generate/handle.
Check the CPU and Memory usage of application server during this
process...
when you get the below mentioned error (while executing the test) try
to access the application manually and see whether you can access all
the flows... If you are getting the error manually then check with the
application dev team or deploy team to sort out the issue.

Regards,
Sunil


On Mar 6, 3:38 pm, Rajiv kumar <rajivn...@gmail.com> wrote:
> There is no license problem. The load runner which i am using can ramp up
> 999 Vuser concurrently but my question is that is it fixed if i m using any
> particular protocol .
> let me clear some doubt
>
> 1- I created a scenario for one Script which is recorded using HTTP/HTML
> protocol.I ran the script for 100 Vuser .After 49 Vuser ramped up  Some
> Vuser started failing .Error which i was getting is "HTTP Server connection
> prematurely shutting down".
>
> 2- Is it depend upon system configuration  like  CPU  RAM  etc.?
>
> 3-- is it depend upon port through Vuser sending request to server that
> might not allowing more then 49 user??
>
> Plz Help!!!
>
> On Fri, Mar 6, 2009 at 8:51 PM, Krishnakanth PPS <krishnakanth....@gmail.com
>
> > wrote:
> > how many you want to run??
>

Anand

unread,
Mar 6, 2009, 1:14:31 PM3/6/09
to LoadRunner
I believe this is an application/script error, not a loadrunner
error.
You mentioned that "some vusers are failing after 49 are up and
running." Does that mean, the total number of Vusers gets to more than
49 ever or do all Vusers fail after 49 are running?

Anand

On Mar 6, 8:38 am, Rajiv kumar <rajivn...@gmail.com> wrote:
> There is no license problem. The load runner which i am using can ramp up
> 999 Vuser concurrently but my question is that is it fixed if i m using any
> particular protocol .
> let me clear some doubt
>
> 1- I created a scenario for one Script which is recorded using HTTP/HTML
> protocol.I ran the script for 100 Vuser .After 49 Vuser ramped up  Some
> Vuser started failing .Error which i was getting is "HTTP Server connection
> prematurely shutting down".
>
> 2- Is it depend upon system configuration  like  CPU  RAM  etc.?
>
> 3-- is it depend upon port through Vuser sending request to server that
> might not allowing more then 49 user??
>
> Plz Help!!!
>
> On Fri, Mar 6, 2009 at 8:51 PM, Krishnakanth PPS <krishnakanth....@gmail.com
>
> > wrote:
> > how many you want to run??
>

Rajiv kumar

unread,
Mar 6, 2009, 1:17:46 PM3/6/09
to LR-Loa...@googlegroups.com
no arvind not all user fails affter 49 Vuser rampup rremaining User which was in int section start failing with same error.. 49 Vuser passed all transection.

Rajiv kumar

unread,
Mar 6, 2009, 1:27:41 PM3/6/09
to LR-Loa...@googlegroups.com
could you please tell me from where i can get this memory usage related  info??

Rajiv kumar

unread,
Mar 6, 2009, 1:21:27 PM3/6/09
to LR-Loa...@googlegroups.com
sunil my machine configuration is Having 3 GB RAM .it's not like all Vuser fail at the end
if i will run my script for 49 user then all will pass but i will increase Vuser then it's will start failing

Rajiv kumar

unread,
Mar 6, 2009, 1:34:40 PM3/6/09
to LR-Loa...@googlegroups.com
if it is related to Memory usage by Vuser can any one provide some useful link ..?

On Fri, Mar 6, 2009 at 11:59 PM, Rajiv kumar <raji...@gmail.com> wrote:
sorry for writing wrong name!! Anand..

Rajiv kumar

unread,
Mar 6, 2009, 1:29:56 PM3/6/09
to LR-Loa...@googlegroups.com
sorry for writing wrong name!! Anand..

On Fri, Mar 6, 2009 at 11:47 PM, Rajiv kumar <raji...@gmail.com> wrote:

Krishnakanth PPS

unread,
Mar 7, 2009, 10:32:50 AM3/7/09
to LR-Loa...@googlegroups.com
i cant the link rite now.. but search in google for " mark tomlinson vuser footprint".
 there is a blog written by mark, and it shows how to calculate it

 

Sunil2811

unread,
Mar 7, 2009, 10:43:26 AM3/7/09
to LoadRunner
hi rajiv,

check this link...

http://commonlrissues.blogspot.com/

i have kept a snap of memory footprint...


On Mar 7, 8:32 pm, Krishnakanth PPS <krishnakanth....@gmail.com>
wrote:
> i cant the link rite now.. but search in google for " mark tomlinson vuser
> footprint".
>  there is a blog written by mark, and it shows how to calculate it
>
> On 3/7/09, Rajiv kumar <rajivn...@gmail.com> wrote:
>
>
>
> > if it is related to Memory usage by Vuser can any one provide some useful
> > link ..?
>
> > On Fri, Mar 6, 2009 at 11:59 PM, Rajiv kumar <rajivn...@gmail.com> wrote:
>
> >> sorry for writing wrong name!! Anand..
>
> >> On Fri, Mar 6, 2009 at 11:47 PM, Rajiv kumar <rajivn...@gmail.com> wrote:
>
> >>> no arvind not all user fails affter 49 Vuser rampup rremaining User which
> >>> was in int section start failing with same error.. 49 Vuser passed all
> >>> transection.
>

Rajiv kumar

unread,
Mar 8, 2009, 5:34:36 AM3/8/09
to LR-Loa...@googlegroups.com
Thanks!!

Roland Jefferson JR

unread,
Mar 12, 2009, 2:36:20 PM3/12/09
to LR-Loa...@googlegroups.com
Hi,
 
As many as you are willing to Pay for and provided you have enough generators.
 
Enjoy,
 
Roland

SuperKevy

unread,
Mar 13, 2009, 9:40:25 AM3/13/09
to LoadRunner
OK... a sustaned load without faults with 50 users or less is what
your saying.
But then you ramp towards 100 users and everything above that fails.
And you believe your controller is out of memory. Add a couple
agents.

To me it looks like your connection pool on the server side is full.
But then its your system.



On Mar 6, 10:38 am, Rajiv kumar <rajivn...@gmail.com> wrote:
> There is no license problem. The load runner which i am using can ramp up
> 999 Vuser concurrently but my question is that is it fixed if i m using any
> particular protocol .
> let me clear some doubt
>
> 1- I created a scenario for one Script which is recorded using HTTP/HTML
> protocol.I ran the script for 100 Vuser .After 49 Vuser ramped up  Some
> Vuser started failing .Error which i was getting is "HTTP Server connection
> prematurely shutting down".
>
> 2- Is it depend upon system configuration  like  CPU  RAM  etc.?
>
> 3-- is it depend upon port through Vuser sending request to server that
> might not allowing more then 49 user??
>
> Plz Help!!!
>
> On Fri, Mar 6, 2009 at 8:51 PM, Krishnakanth PPS <krishnakanth....@gmail.com
>
>
>
> > wrote:
> > how many you want to run??
>
> > On Fri, Mar 6, 2009 at 3:11 AM, Anand <anandsebas...@gmail.com> wrote:
>
> >> I believe you are only limited by the number of licenses you/your
> >> company hold and the performance capacities of the controller.
>
> >> There used to be a document that details the footprint for each kind
> >> of Vuser on the Mercury support site, but I do not know whether it is
> >> available on the HP Support site.
>
> >> Anand
>
> >> On Mar 5, 9:34 am, RaJ <rajivn...@gmail.com> wrote:
> >> > Could any one clear my doubt regarding to loadrunner ,my question is
> >> > that what is the maximum  Vuser can run concurrently using HTTP/HTML
> >> > protocol in loadrunner controller?- Hide quoted text -
>
> - Show quoted text -

Abdul Rahim

unread,
Mar 13, 2009, 4:44:21 PM3/13/09
to LR-Loa...@googlegroups.com
Hi
 

Add the following code in your script and let me know if it works after that.
 
web_set_socket_options("MAX_CONNECTIONS_PER_HOST","1");
web_set_socket_options("IGNORE_PREMATURE_SHUTDOWN","1");
 
-LoadTestGuy

LoadTestGuy

unread,
Mar 13, 2009, 4:41:58 PM3/13/09
to LR-Loa...@googlegroups.com
Hi
Add the following code in your script and let me know if it works after that.
 
web_set_socket_options("MAX_CONNECTIONS_PER_HOST","1");
web_set_scoket_options("IGNORE_PERMATURE_SHUTDOWN","1");
 
-LoadTestGuy

sridu

unread,
Mar 20, 2009, 2:52:54 AM3/20/09
to LoadRunner

hi ,

the no of concurrent users to use in LR depends on license type. to
more information download the manual from the below link. to download
the loadrunner manuals from this link u have to register in this site.

http://support.openview.hp.com

Regards,
Sridu

prasenjit dutta

unread,
Mar 21, 2009, 3:11:02 AM3/21/09
to LR-Loa...@googlegroups.com
hi abdul,

can u plz tell me actually where we need to add those code???/starting of the script/end, init, action or in the end section.
pls let me know all these......

thanks,
prasenjit
--
Prasenjit

Abdul Rahim

unread,
Mar 21, 2009, 11:25:37 AM3/21/09
to LR-Loa...@googlegroups.com
starting of the script

prasenjit dutta

unread,
Mar 22, 2009, 5:47:38 AM3/22/09
to LR-Loa...@googlegroups.com
thanks abdul.....
--
Prasenjit

Gaz Davidson

unread,
Mar 22, 2009, 4:14:10 PM3/22/09
to LoadRunner
You should listen to SuperKevy and investigate hard limits in the
number of connections allowed on the server.

Try browsing manually while the virtual users are failing. If you see
errors then this proves that LoadRunner is not at fault.
Look at the graphs of TCP connections, CPU and RAM on the server side.
Their shapes will give you clues to what is happening.
Try to understand what the server is doing when it fails, find the
error logs and read them. Learn about the technologies that you're
testing, find the experts and ask them for advice, get the developers
to draw you diagrams until you understand each component in the
system.
Use smaller scripts to pinpoint the failing component in a scientific
manor: Could it be connections to the web server? Could it be web
services called within the pages? Could it be connections to the
database?
Once you have found the problematic component, examine and adjust the
configuration, repeating the test each time you change something. If
you have exhausted all available options, ask the developers to add
additional error logging and start again.

On Mar 22, 9:47 am, prasenjit dutta <prasenjit...@gmail.com> wrote:
> thanks abdul.....
>
>
>
> On Sat, Mar 21, 2009 at 8:55 PM, Abdul Rahim <mabdulra...@gmail.com> wrote:
> > starting of the script
>
> > On Sat, Mar 21, 2009 at 10:11 AM, prasenjit dutta <prasenjit...@gmail.com>wrote:
>
> >> hi abdul,
>
> >> can u plz tell me actually where we need to add those code???/starting of
> >> the script/end, init, action or in the end section.
> >> pls let me know all these......
>
> >> thanks,
> >> prasenjit
>
Reply all
Reply to author
Forward
0 new messages