You are on page 1of 12

Planning Load Test

Steps:

Analyzing the Application (AUT)

Defining Testing Objectives

Planning LoadRunner Implementation

Examining Load Testing Objectives

Plan Load Test

1. Build test scenarios that accurately emulate your working environment. Load testing means testing your application under typical working conditions, and checking for system performance, reliability, capacity.

2. Understand which resources are required for testing. Application testing requires hardware, software, and human resources.

3. Define success criteria in measurable terms. Focused testing goals and test criteria ensure successful testing.

Analyzing AUT

1. Identify System Component: Draw a schematic diagram to illustrate the structure of the application.

2. How many clients are connected to the server?

3. What is the client machine configuration? (hardware, memory, operating system, software, development tool, etc.)

4. What type of server is used? (hardware, database type, operating system, file server etc.)

5. How does the server communicate with the client?

6. Is there a middleware or application server between the front-end client and back-end server?

7. What is the middleware configuration?

8. What other network components may affect response time? (modems etc.)

9. What is the throughput of the communications devices? How many concurrent users can each device handle?

Define Testing Objectives

Define Testing Objectives Krish Hegde 4

Define Vuser Activities & Behavior

• Create Vuser scripts based on your analysis of Vuser types, their typical tasks and your test objectives. Since Vusers emulate the actions of a typical end-user, the Vuser scripts should include the typical end-user tasks.

• For example, to emulate a manager, you should create a Vuser manager script that performs typical manager tasks.

Select Vuser types

Suppose that you have five kinds of users, each performing a different business process:

Krish Hegde 6
Krish Hegde
6

Load Testing Objectives

1. Measuring end-user response time

2. Defining optimal hardware configuration

3. Checking reliability

4. Checking hardware or software upgrades

5. Evaluating new products

6. Identifying bottlenecks

7. Measuring system capacity

Krish Hegde

7

Measure Response Time

Measure Response Time Krish Hegde 8

Measuring AUT Capacity

Measuring AUT Capacity Krish Hegde 9

Reliability Testing

Determine the level of system stability under heavy or continuous work loads. You can use LoadRunner to create stress on the system: force the system to handle extended activity in a compressed time period to simulate the kind of activity a system would normally experience over a period of weeks or months.

Identify Bottlenecks

Identify Bottlenecks Krish Hegde 11

• Questions?