Performance Testing Process
Performance Testing Process
On
By
Applabs Technologies
Applabs House,
Plot No. 564-A-26-III, Road No. 92,
Jubilee Hills, Hyderabad – 500 033
Load, Stress, Capacity Testing Guidelines
TABLE OF CONTENTS
Introduction…………………………………………………………………….…. 2
Tools Used………………………………………………………………………... 2
General Summary………………………………………………………………… 2
Definitions
Keys to Accuracy
Scalability Issues
Process Steps………………………………………………………………………. 4
Understanding the Nature of the Load
Determine User Session Variables
Determine Range & Distribution of Values
Estimating Target Load Levels
Load Test Design
Execution……………………………………………………………………………6
Reporting……………………………………………………………………………7
Tools Used
(1) Mercury Interactive’s LoadRunner®
(2) Radview’s Webload®
General Summary
(1) Definitions
a. Testing Types
i. Load: Testing an application against a requested number of
users. The objective is to determine whether the site can
sustain this requested number of users with acceptable response
times.
ii. Stress: Load testing over an extended period of time. The
objective is to validate an application’s stability and reliability.
iii. Capacity: Testing to determine the maximum number of
concurrent users an application can manage. The objective is
to benchmark the maximum loads of concurrent users a site can
sustain before experiencing system failure.
b. Reporting Terms:
i. Load size: The number of concurrent Virtual Clients trying to
access the site.
ii. Throughput: The average number of bytes per second
transmitted from the ABT (Application being tested) to the
Virtual Clients running this Agenda during the last reporting
interval
iii. Round Time: It is the average time it took the virtual clients to
finish one complete iteration of the agenda during the last
reporting interval.
iv. Transaction Time: The time it takes to complete a successful
HTTP request, in seconds. (Each request for each gif, jpeg,
html file, etc. is a single transaction.) The time of a transaction
Determine User
Understand the Nature Determine Range &
Session
of the Load Distribution of values
Variables
(1) Understanding the Nature of the Load via contents of Log Files:
a. Visitors’ IP addresses
b. Date & time each page visited
c. Size of the file or page accessed
d. Code indicating access successful or failed
e. Visitor's browser & OS
(2) Determine User Session Variables / Page Request Distribution
a. Length of the session (measured in pages)
b. Duration of the session (measured in minutes and seconds)
c. Type of pages that were visited during the session
i. Home page
ii. Product info page
iii. Credit Card Info page
d. Varying User Activities from page ‘types’.
i. Uploading information
ii. Downloading information
iii. Purchasing
This performance graph displays the number of transactions that passed, failed, aborted or ended with errors.
For example, these results show the Submit_Search business process to passed all its transactions at a rate of
approximately 96%.
This web graph displays the amount of throughput (in bytes) on the Web server during
load testing. This graph helps testers evaluate the amount of load X users generate in
terms of server throughput. For example, this graph reveals a total throughput of over 7
million bytes per second.
(2) Additional Report Info Available during & after Scenario Execution
The below are additional reporting metrics available to those item
mentioned in ‘definitions’ section.