Software Testing

Load Test Plan

This is a load test plan which i have designed and this was very handy for us during the load testing. You are free to use this template in case it helps you.

This template can also be downloaded from sticky minds or from this URL: http://geocities.com/withrajeev/LP.doc

Note: I would suggest you to download the document for using.

Load Test Plan

Load Test Plan

Created by:

Rajeev. J

 

q       

Version

1.0

Created:

03/16/2005

 

APPROVED BY:

Revised by:

 

 

Revision Date:

 

 

 


 

Objective. 3

Introduction about the project. 4

Deadlines (hard dates that must be met). 4

Architecture. 4

Hardware Requirement. 5

Load Client Information. 5

Software Requirement. 6

Script Information. 7

Script Location. 7

Scenario Information. 7

Run Time Settings. 7

Scenario Configuration. 8

Monitor Information. 9

Analysis of  Results. 10

Comparison of response time under different Load Conditions. 11

Dependencies. 12

Application Dependencies. 12

Maintenance Schedule. 12

User Notification. 12

Naming Convention to be followed. 13

Reference Documents. 14

 This paper is intended to help the end user for planning of the load test. It gives a step by step approach for planning of load test using Load Runner.

 

This document has taken care of all the necessary things that the user should be aware before and during the process of load testing.

 

Most of the parameters which are encountered during load testing is covered in this document which helps the users to plan in a better fashion.

Introduction about the project

Project Name:

 

 

Project ID/Referring ICP:

 

 

Deadlines (hard dates that must be met)

Production date:

 

 

Proposed Load Testing dates:

Staging:

Production:

 

 

Other dates:

 

 

Architecture

Description

Description of project (2/3 tier client/server, ASP/Java, etc)

3 Tier application

WebServer: Apache

Middle Server:

 

Protocols

What protocols are used (HTTP, JavaScript/JSP, Tuxedo/JOLT, etc)

HTTP

Source

Development Source: Vendor or in-house, or combination?

 

Support

Who do we call for resolution of technical problems or questions?

 

 


Hardware Requirement

Load Client Information

 

Host Name

IP Address

Os and Version

Ram

Available Memory

Number Vuser that can be loaded

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

Software Requirement

1)      Operating system( WinXP,2000 etc.,)

2)      LoadRunner Generator

3)      LoadRunner Controller

4)      Remote Agent

5)      Internet Explorer


Script Information

Module Name

Functionality

Transaction to be measured

Expected Transaction time

 

 

 

 

 

 

 

 

 

 

 

 

 

Detailed test steps can be obtained from the test case document.

 

Script Location

 

The path were the scripts would be stored.

Scenario Information

Run Time Settings

VUSER / GROUP INFORMATION

Group

Script(s)

TD Path

Host(s)

VUsers

1

q        

q        

q       Script

q        

 

           

 

 

OTHER INFORMATION

Group

Script(s)

SCRIPTS INFORMATION

1

q        

q        

q       URL

q       Username

q       Datafile

q       Transaction(s)

https:/

 

 

 

         

 

 

RUN-TIME SETTINGS  INFORMATION

TAB

WEB APPLICATIONS

General

 

Run Logic

Number of Iterations:    1000   iterations

 

Pacing

As soon as the previous iteration ends

Log

Enable Logging

Always send messages : Standard Log

Think Time

Replay think time

Multiply recorded think time by    120    seconds

Limit think time to     120     seconds

 

MIscellaneous

Continue on error

Fail open transactions on lr_error_message

Run VUser as a thread

Uncheck:

      Define each step as a transaction

      Define each action as a transaction

Network

Speed simulation

Use maximum bandwidth

Browser Emulation

Simulate browser cache

Cache URLs requiring content (e.g., HTMLs)

Check for newer versions of stored pages  every visit to the page

 

Download non-HTML resources

 

Simulate a new user on each iteration

Internet Protocol

Proxy

No proxy (direct connection to the Internet)

Preferences

Checks

Enable image and text check

Generate web performance graphs

Hits per second and HTTP codes

Response bytes per second (throughput)

Advanced

Uncheck:

     File and line in automatic transaction names

Check:

     Non-critical resource  errors as warnings

Set Advanced Options

HTTP version: 1.1

Keep-alive HTTP connections: YES

Step timeout caused by  resources is a warning: YES

Parse HTML Content Type: ANY

HTTP request connect timeout (sec): 120

HTTP request receive timeout (sec): 120

Step download timeout (sec): 120

Network buffer size:  12288

Content Check

Check:   Enable ContentCheck during replay

 

Scenario Configuration

 

SCHEDULER INFORMATION

Group Name

Script Name

Script Path

Quantity

Load Generator

Ramp Up 

Ramp Down 

Duration 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESULT INFORMATION

Result file:

Automatically create a results director for every scenario execution

Spreadsheet (if any):

 


 

Monitor Information

 

 (Add as many as monitors or protocols depending on your application)

Protocol

Monitors

Server to be monitored

(Production)

 

 

(Staging)

Parameters/Resources to be measured *

Http

Com objects

 

 

 

 

Database Server

 

 

 

 

Web Server

 

 

 

 

Application Server

 

 

 

 

*Parameters for Database Server may be:

 Open SQL connection

For Com objects may be:

Application Lifetime

Monitors the duration of the application in seconds.

Exception Frequency

Monitors the number of exceptions per second, in the five second polling period.

 

 


 

Analysis of  Results

 

Result would be provided in a HTMl format and would be placed in a common folder where all the user can view the result.


 

Comparison of response time under different Load Conditions

Done under different Server, number of user and database condition to base line the response time

Iterations

Number of users

Records in Database

Server Configurations

Transaction name

Average Response time

1

50

10,000

50 G HDD

1 GB Ram

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

Dependencies

Application Dependencies

List down any dependencies this application has which has to be taken care during load testing.

 

Maintenance Schedule

Any maintenance of the server which has to be taken care of.

 

User Notification

User to be notified before the start of load test and at the end of load test.

 


Naming Convention to be followed

Please attach the document of the naming convention that is followed for the scripting.

 


 

 

 

Reference Documents

1)      Architecture Diagrams.

2)      Test case document.

3)      Test data document.

4)      Naming convention.

 

One thought on “Load Test Plan

Leave a comment