30
7/23/2019 Load Runner Intorduction.ppt http://slidepdf.com/reader/full/load-runner-intorductionppt 1/30 Performance Testing & Working with HP-Load Runner Introduction Vamsi Krishna 

Load Runner Intorduction.ppt

Embed Size (px)

Citation preview

Page 1: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 1/30

Performance Testing & Working with HP-Load Runner 

Introduction

V amsi Kr ishna 

Page 2: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 2/30

Where Value and Innovation Co-exist 

2

Performance Testing

What?

Why?

Types of Performance Tests

Testing Tools Performance Testing Process

Introduction to Load unner 

Page 3: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 3/30

Where Value and Innovation Co-exist 

Performance !ngineering " means##$?

Performance !ngineering is a systematic process of planning% evaluating and optimi&ing a

system's performance throughout the life cycle of its development$

(oals are to enhance the responsiveness and performance of systems

Performance !ngineering is a collection of methods for the support of the performance-orientedsoft)are development of application systems throughout the entire *+LC process to assure an

appropriate performance-related product ,uality$

Performance !ngineering ecomes an interface et)een *oft)are !ngineering and Performance

.anagement$

/

Page 4: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 4/30

Where Value and Innovation Co-exist 

Performance !ngineering

0

Performance

Engineering

Capacity

Planning*oft)are

!ngineering

Performance.anagement

Performance 

Tuning

*oft)are1uality

 ssurance

Performance

.odeling

Page 5: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 5/30

Where Value and Innovation Co-exist 

3

+ifference et)een Performance !ngineering 4 Testing

Performance testing is a suset of Performance !ngineering

Performance Testing Performance Engineering

Evauates the application Eiminates issues in the application

!ssesses the system !ddresses the issues in the system

"inds prolematic areas in the 5T "i#es prolematic areas in the 5T

Page 6: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 6/30

Where Value and Innovation Co-exist 

6

Performance Testing

Performance testing is the process of determining the speed or effectiveness of a computer%net)or7% soft)are program or device$

Performance test measures ho) )ell the application meets the customer expectations in termsof%

$%eed- determines if the application responds ,uic7ly

$caaiit'- determines ho) much user load the application can handle

$taiit'- determines if the application is stale under varying loads

Purpose8-

It can demonstrate that the system meets performance criteria

It can compare t)o systems to find )hich performs etter

It can measure )hat parts of the system or )or7load cause the system to perform adly

Page 7: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 7/30

Where Value and Innovation Co-exist 

 nd They 9ave Paid the Price :

;

Page 8: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 8/30

Where Value and Innovation Co-exist 

evenue

<

Page 9: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 9/30

Where Value and Innovation Co-exist 

eputation% *atisfaction 4 Productivity

=

Page 10: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 10/30

Where Value and Innovation Co-exist 

It doesn't have to e a > Crash:

@A

Page 11: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 11/30

Where Value and Innovation Co-exist 

@@

Why Performance Testing is needed?

Will my application meet the defined response-time re,uirements of my customers? Will my users experience acceptale response times% even during pea7 hours?

What system capacity is re,uired to handle expected load?

Where are the ottlenec7s in my multi-user environment?

9o) can )e detect errors that only occur under real-load conditions?

9o) can )e optimi&e the multi-user application efore it goes live?

Page 12: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 12/30

Where Value and Innovation Co-exist 

@2

Why Performance Testing is needed? " !xample@(anufacturing )om%an'

 pplication is in production

+oesn't support more than @A users

esponse times are not acceptale

esource utili&ation is very high

Customers are not happy

Business Impact

 pplication is performing )ell for single user 

How *o 'ou Know the Proem+

 eed to test the application )ith more load$

 .onitor the system and identify the issue

 Dix the prolem

 void performance issues efore rolling out to production void performance issues efore rolling out to production

Page 13: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 13/30

Where Value and Innovation Co-exist 

,

Why Performance Testing is Needed ?

Performance is Important

Web Site Load

(Number of concurrent users)

Web Site

Response

Time

Good

EA - < sec$F

Borderline

E= " @3 sec$F

Unacceptable

E@3 " /A sec$F

Virtuall

!ffline

EG /A sec$F

The < *econd Barrier 

Crash!EG@2A sec$F

Timeout

Page 14: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 14/30

Where Value and Innovation Co-exist 

@0

System Under Test

*ataase

We.!%%

$ervers

/%erating

$'stems

E#terna

$torage

"ront End

01I !%%ication

Production Environment

*ataase

We.!%%

$ervers

/%erating

$'stems

E#terna

$torage

"ront

End 01I !%%ication

Test Environment

Test !nvironment capacity ideally e,ual to production capacity

Page 15: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 15/30

Where Value and Innovation Co-exist 

@3

Response Time

Time in which the system responds for a particularTransaction request. 

e.g$% Time required for  Processing a search request .

"pp

Ser#er

$B Ser#erLoad In%ector

h k

Page 16: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 16/30

Where Value and Innovation Co-exist 

,2

Think Time

It is the pausing or navigation time between two user actions.

Time taken for submitting a new Transaction after the response forthe previous Transaction has been received

Transaction 1

Transaction

Think Time 1" #econds

Page 17: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 17/30

Where Value and Innovation Co-exist 

@;

Transaction Time

Transaction time is the time ta7en to finish the specific tas7$

W kl d

Page 18: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 18/30

Where Value and Innovation Co-exist 

@<

Workload

+ataase

We *ervers H

 pplication

*ervers

perating

*ystems

!xternal*torage

Dront !nd(5I

T&e Sstem

Tpical Wor'load

 $o. of %sers

Transactions

Transaction mi&

'atch Programs

T ti Mi

Page 19: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 19/30

Where Value and Innovation Co-exist 

@=

Transaction Mix

(arying e&ecution frequency of different Transactions 

Ban'in "pplication

Th h t

Page 20: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 20/30

Where Value and Innovation Co-exist 

2A

Throughput

 Transactions per #econd

 )its*sec

  +eb Interactions per #econd

  Pages per #econd

  'ytes per #econd

The amount of work that can be performed by a

system or component in a given period of time

Page 21: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 21/30

Where Value and Innovation Co-exist 

2@

Dind the ehavior and performance of each tier 

Dind out )hether the system can handle the expected load upon

deployment under real-)orld conditions

Dind the system's rea7ing point$ pply testing that measures

)hether the system's environment is properly configured to handle

expected or potentially unexpected high transaction volumes$

!x@$ To determine the max no of TransactionsHsec

!x2$ To determine at )hat capacity the non critical services )ill e

shutdo)n

Dind the staility of the system )ith respect to handling large

amount of data over extended time periods

!x8-irtel

o of irtel customers J no of calls J no of days J no of months

in year 

)om%onent Testing

Load Testing 

$tress Testing

Voume Testing

Page 22: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 22/30

Where Value and Innovation Co-exist 

22

Performance Test /3ectives

 pplication esponse time

9o) long does it ta7e to complete atas7?

Configuration si&ing

)hich configuration provides theest performance level?

 cceptance

Is the system stale enough to gointo production?

egression

+oes the ne) version of thesoft)are adversely affect responsetime?

eliaility

9o) stale is the system underheavy )or7 load?

Capacity Planning

 t )hat point does degradation inperformance occur?

Bottlenec7 Identification

)hat is the cause of degradationin performance

Product !valuation

)hat is the est server for @AAAusers

Page 23: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 23/30

Where Value and Innovation Co-exist 

2/

When Is Load Testing 4eeded+

ProductionWhat is the cause of

%erformance degradation+

*e%o'mentIs the s'stem reiae enough

to go into %roduction+

*eveo%ment*oes the s'stem res%onse

time meet re5uirements+

Panning and *esignWhat is the est server to

su%%ort ,666 users+Evoution

How man' users can e

added without decreasing

s'stem %erformance+

Page 24: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 24/30

Where Value and Innovation Co-exist 

20

(anua Testing Is Proematic

Testers

Load GenerationSystem Under Test 

*o 'ou have the testing resources+K Testing %ersonne

K )ient machines

How do 'ou s'nchroni7e users+

How do 'ou coect and ana'7e resuts+

How do 'ou achieve test re%eataiit'+

! of 'ou8

cick the 0/

utton again

)oordinator 

Internet

We server  *ataaseserver 

Page 25: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 25/30

Where Value and Innovation Co-exist 

23

The LoadRunner $oution

System Under Test 

/vercomes resource imitations

K(eaningfu resuts with ana'sis toos

KRe%eatae tests with scri%ted actions

!na'sis

KRuns man' Vusers on few machines

KRe%aces testers with 9Virtua 1sers:

K)ontroer manages the Vusers

Load Generation

Vusers

Internet

We server  *ataase

server 

)ontroer 

Vuser

host

Page 26: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 26/30

Where Value and Innovation Co-exist 

26

What does LoadRunner *o+

Loadunner is a complete solution for conducting automated load testing efore % and afterapplication deployment$

Loaduuner allo)s to

*cale the application to a predetermined capacity$

Identify the usiness processes or system components

having troule$

+iagnose a prolem to pinpoint the root cause$

Page 27: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 27/30

Where Value and Innovation Co-exist 

2;

Performance Test - utomation Tools

9P- Loadunner 

IB.- ational Performance Tester  EPTF

Compu)are- 1Load

Borland " *il7Performer 

.icrosoft- V*T*% CTE pplication Centre TestF

adVie)- WeL+ E pen *ourceF

pen *ource Tools " pen*T% pache .eter% (rinder 

Worldwide Performance Testing Tool Market Share

Page 28: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 28/30

Where Value and Innovation Co-exist 

2<

o d de e o a ce est g oo a et S a e

HP 2;<

)om%uware =<

I>(-Rationa,,<

/%en $ource2<

>orand<

RadView ;<

Em%iri# 2<

Parasoft <

Page 29: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 29/30

Where Value and Innovation Co-exist 

2=

Load Test Wor7 Dlo)

Page 30: Load Runner Intorduction.ppt

7/23/2019 Load Runner Intorduction.ppt

http://slidepdf.com/reader/full/load-runner-intorductionppt 30/30

Where Value and Innovation Co-exist 

Thank ou