Load details have to be configured in the Web Performance UI. Select
the appropriate Load Test from
the left-side screen and configure load details as per your
requirement. The options available with loads are as follows:
Adding Load
Select any one of the following Load
Types and configure its details as explained in the following
links.
-
Normal
-
Ramp-up
-
Ramp-down
-
Burn-In
-
Mixed
Load
Once you add the load details, click Save button to save these settings.
Normal
In this type of
load, a constant number of virtual users are run against the web
application for the duration of the test. In normal mode, assume the
number of users are 5, number of times to run is 2. For this load, five
users will be simulated and will perform the load test. After all the
five users complete the transaction, all the five users will be
simulated and will perform the load test for the second time. After all
the users complete execution for the second time, reports will be
generated and shown describing the metrics collected during the load
test.
Parameters for Normal Mode
| Parameter |
Description |
|
Number of Users
|
Enter the number of virtual users to be simulated.
|
|
Run for the completion of
|
Enter the number of times the transaction should be replayed
with the specified number of virtual users for the given number of
times. For example,
Load type = 'Normal'
Number of Users = 4
Run for the completion of
Choose either "Number of Repetitions" or "Time Duration"
In case of Number of Repetitions, the test will be executed given
number of repetition and stop.
In case of Time Duration, the test will be executed for the configured
time duration and stop. Here you can configure the test to execute for
Minutes / Hours / Days.
|
Ramp
Up
In this type,
an increasing load is run for the duration of the test to help testers
find the limit of a web application’s work capacity. At the beginning
of the load test, only a small number of virtual users are run. Virtual
users are then added to the load step by step.
Parameters for Ramp-up
Mode
| Parameter |
Description |
|
StartsWith
|
The starting number of virtual users.
|
|
Increment Users Every Seconds
|
The "Increment" value is how many virtual users to add in a
period or after the specified number of seconds. The period value is
specified in seconds in the field adjacent to the Increment field.
|
|
Limit To
|
The maximum number of virtual users to simulate during the
test.
|
|
Number of Times
|
The number of times the transaction should be replayed
(Optional)
If the Number of Times is not specified, the user will be added to the
loadtest every given frequency without disturbing already running
virtual user. After adding the last set of virtual user the test will
run for one repetition and report will be generated.
If the number of times is configured, then the each and every
virtual user will be executed for the maximum of configured repetitions
and then stop. After all the user completing all the repetitions the
test will be stopped and reports will be generated.
|
Ramp Down
In this type of
load, at
the beginning of the load test, a maximum number of virtual users are
simulated based on the specified value. Virtual users are then removed
from the load in a step by step approach at the specified time
intervals. For example, assume first 50 users are run and at an
interval of every 2 seconds, 10 users are removed from the load to ramp
down from the peak value to the lowest value.
Parameters for Ramp-down
Mode
| Parameter |
Description |
|
StartsWith
|
The starting number of virtual users.
|
|
Decrement Users Every Seconds
|
The "Decrement" value determines how many virtual users should
be removed from the load in a period or after the specified number of
seconds. The period value is specified in seconds in the field adjacent
to the Decrement field.
|
|
Limit To
|
The minimum number of virtual users to be simulated after
which the test stops execution.
|
|
Number of Times
|
The number of times the transaction should be replayed
(Optional)
If the Number of Times is not specified, the user will be removed from
the
loadtest every given frequency. After removing the limit to users the
test will
run for one repetition and report will be generated.
If the number of times is configured, then the each and every
virtual user will be executed for the maximum of configured repetitions
and then stop. After all the user completing all the repetitions the
test will be stopped and reports will be generated. |
Burn-In
In this type of
load, the test will be executed until any of the configured exit
criteria is reached. The number of times also will account for test
execution.
Parameters for Burn-In
Mode
| Parameter |
Description |
|
Number of
Users
|
The number of virtual users to be simulated.
|
|
Exit on Server Crash
|
To exit the performance test if the web server crashes.
|
|
Exit if Test Duration
|
To exit if the test duration exceeds the specified time in
milliseconds.
|
|
Response time less than
|
To exit if the response time is less than the specified
milliseconds for the specified percentile of the time.
|
|
Exit if CPU% on exceeds
|
To exit if the CPU of the specified server exceeds the
specified CPU %
|
|
Number of Times
|
The number of times the transaction should be replayed.
|
Mixed
Load
Assume your website experiences normal load during early morning
hours, peak load during the key business hours (say from 9.00 a.m. to
12:00 a.m.) and in the late evening, the user load gradually slows
down. To emulate this real-world load behavior, QEngine provides the
Mixed Load type model. Mixed Load type allows you to add a combination
of load such as (SteadyLoad and Ramp-up) or (SteadyLoad, Ramp-up and
Ramp-down) or (Ramp-down and Ramp-up). In this load model, you can
simulate a steady-state load (minimal users) for first 2 hours, then
simulate a heavy load in the next 3 hours to emulate the peak load
generated in the key business hours and remain in the steady-state for
few hours and then simulate the ramp-down load where users gradually
decrease from a steady-state to a lowest value. You can configure the
following parameters for Mixed Load type:
|
Load Type
|
StartWith (Users)
|
Ramp Up/Down (users)
|
For Every
|
Total Duration
|
EndWith
|
|
From the Load Type combo, select the load type as SteadyLoad,
Ramp-up or as Ramp-down.
|
|
For SteadyLoad
|
Enter the number of virtual users to be simulated to emulate a
steady-state load.
|
In case of SteadyLoad, this is not applicable.
|
In case of SteadyLoad, this is not applicable.
|
Enter the total test duration before which all the URLs
should be load tested with the configured load.
|
In case of SteadyLoad, this is not applicable.
|
|
For Ramp-up
|
Enter the starting number of virtual users to be simulated to
emulate the peak-load testing.
|
Enter the increment value or how many users should be
incremented at periodic intervals before reaching the endwith user
limit value.
|
Enter the interval at which the number of users should be
incremented from the current value.
|
Enter the total test duration before which all the URLs
should be load tested with the configured load.
|
This is automatically generated by QEngine based on the
StartWith and Ramp up value
|
|
For Ramp-down
|
Enter the starting number of virtual users from which the
users should be dropped-down or decremented.
|
Enter the decrement value or how many users should be
decremented at periodic intervals before reaching the endwith user
value or the lowest value.
|
Enter the interval at which the number of users should be
decremented from the current value.
|
Enter the total test duration before which all the URLs
should be load tested with the configured load.
|
This is automatically generated by QEngine based on the
StartWith and Ramp down value.
|
Modifying a load
To modify the
settings for a particular load,
-
Navigate to the load part of the loadtest
screen.
-
Edit the load details for normal or ramp-up or
ramp-down or burn-in or mixed load as per requirements and click the Save button to apply the changes.