Thanks:  0
Likes:  0
Dislikes:  0

1. ## no of users and duration of the load test?

Hi All,

I am testing a web application. I need to run the performance test for the application. How do i decide who many users should i use in test?

This is how do it now.

I know the peak load/hr for the webpages of our application.
Page1 5000 Views/Hr at peak load
Page 2 2500 View/hr at peak load
Logout 5000 view/hr

I created a script as follows:

TransMain
Page1
Page2
Page1
Logout

Then I run 5 User for 5 min with all day workload to find number of hits in 5 min.

lets say 5 user in 5 min gets 20 LoginPage views
and then if i uses 104 users for 60 min I will get 5000 Page views.

Is this the correct approach?
Then how do i decide how long should I run the test to get the good results?

2. ## Re: no of users and duration of the load test?

Use the baseline results to determine how long a single user takes to perform each transaction (this is usually given in seconds), this is the session time.

Your test duration looks to be an hour since your targets are all measured in views/hour, remember to convert this to seconds (3600), this is the simulation time.

No of sessions per user = 3600 / session time....

No of Virtual users = (5000/3600) x session time

These are all calculated for you using the workload wizard...

3. ## Re: no of users and duration of the load test?

Hi,

Thanks for the reply and sorry for the update.

In my baseline report I see session time as 2.33 and i think it is in minutes because Session Busy time is 54.145[s]. So I believe session time is in minutes. I only have 1 transaction in my script. So the session time for 1 transaction is 2.33 Min.

Here is my transaction.
Page1
Page2
Page1
Logout

So lets say i want to get 50000 total transaction. Here is how i do it.
1 transaction takes 2.33 min
in 60 min there will be 25.75 transaction with 1 user
in 60 min there will be 2575 transaction with 100 users
in 60 min to get 50000 transaction i will need 1941 Users
but if I run this for 4 hrs i will get 50000 transactions with 485 Users.

Is this correct?

Thanks.

4. ## Re: no of users and duration of the load test?

Not quite...

To get 50000 transactions in an hour you need 2125 VU's

(50000/3600) x 153 = 2125

Your session time in seconds 2 mins 33 seconds is 153 seconds...

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.