Вы находитесь на странице: 1из 27

LoadRunner

Report
Conducted By: yash
yash
Date: 11/16/2011

Executive Summary........................................................................4
Executive Summary........................................................................4
1.1. Objectives...........................................................................4
1.2. Analysis Session Summary.........................................................4
1.3. Conclusions..........................................................................5
Scenario Configuration.....................................................................6
Scenario Configuration.....................................................................6
1.4. Files..................................................................................6
1.5. Scheduler Information.............................................................6
1.6. Scripts................................................................................6
1.7. Run Time Settings..................................................................6
1.7.1. Multi+QTWeb...................................................................................................6
Users' Influence.............................................................................7
Users' Influence.............................................................................7
Hits Per Second.............................................................................8
Hits Per Second.............................................................................8
Vuser Load Scheme.........................................................................9
Vuser Load Scheme.........................................................................9
Transaction Response Times............................................................10
Transaction Response Times............................................................10
Running Vusers............................................................................11
Running Vusers............................................................................11
Hits per Second............................................................................12
Hits per Second............................................................................12
Throughput.................................................................................13
Throughput.................................................................................13
Transaction Summary.....................................................................14
Transaction Summary.....................................................................14
Average Transaction Response Time...................................................15
Average Transaction Response Time...................................................15
Terminology................................................................................16
Terminology................................................................................16
1.8. LoadRunner Objects..............................................................16
1.9. Graph Information................................................................16
Load Test Description....................................................................17
Load Test Description....................................................................17
1.10. Result: res........................................................................17
1.10.1. Script: google.................................................................................................17
Script Action - Action...........................................................................................17
1.10.1.1. Start transaction 'NewTransaction'..........................................................17
1.10.1.2. Page: Www.google.co.in........................................................................18
User Operations:...................................................................................................18
1.10.1.3. Step: web_url..........................................................................................18
User Operations:...................................................................................................18
1.10.1.4. Step: web_url..........................................................................................18

3
User Operations:...................................................................................................18
1.10.1.5. Page: Search............................................................................................19
User Operations:...................................................................................................19
1.10.1.6. Step: web_url..........................................................................................19
User Operations:...................................................................................................19
1.10.1.7. Page: Url.................................................................................................20
User Operations:...................................................................................................20
1.10.1.8. Page: PIE.htc...........................................................................................21
User Operations:...................................................................................................21
1.10.1.9. Page: Likebox.php..................................................................................22
User Operations:...................................................................................................22
1.10.1.10. Step: web_url........................................................................................22
User Operations:...................................................................................................22
1.10.1.11. Step: web_url........................................................................................23
User Operations:...................................................................................................23
1.10.1.12. Page: Search_2......................................................................................23
User Operations:...................................................................................................23
1.10.1.13. Step: web_url........................................................................................23
User Operations:...................................................................................................23
1.10.1.14. Page: Url_2...........................................................................................24
User Operations:...................................................................................................24
1.10.1.15. Step: web_url........................................................................................24
User Operations:...................................................................................................24
1.10.1.16. Step: web_url........................................................................................24
User Operations:...................................................................................................24
1.10.1.17. Step: web_url........................................................................................25
User Operations:...................................................................................................25
1.10.1.18. Step: web_url........................................................................................25
User Operations:...................................................................................................25
1.10.1.19. Step: web_submit_data.........................................................................25
User Operations:...................................................................................................25
1.10.1.20. Step: web_url........................................................................................25
User Operations:...................................................................................................25
1.10.1.21. Page: Website-footer.html....................................................................26
User Operations:...................................................................................................26
1.10.1.22. Step: web_url........................................................................................26
User Operations:...................................................................................................26
1.10.1.23. End transaction 'NewTransaction'.........................................................26
1.10.1.24. Step: web_url........................................................................................27
User Operations:...................................................................................................27
1.10.1.25. Page: Www.google.co.in_2..................................................................27
User Operations:...................................................................................................27
1.10.1.26. Step: web_url........................................................................................27
User Operations:...................................................................................................27

Executive Summary
1.1. Objectives
Add text here

1.2. Analysis Session Summary

Analysis Summary

Period: 16/11/2011 16:03:40 - 16/11/2011 16:11:04

Scenario Name:
Scenario1
Results in Session: C:\Program Files\Mercury\LoadRunner\scripts\google\res\res.lrr
Duration:
7 minutes and 24 seconds.

Statistics Summary
Maximum Running Vusers:

10

Total Throughput (bytes):

368,478,590

Average Throughput (bytes/second):

828,042

Total Hits:

28,653

Average Hits per Second:

64.389

View HTTP Responses Summary

Scenario Behavior Over Time


The SLA status of the following measurements displayed over time. You can select a specific time range for each
transaction in order to analyze the time range.
Measurement Name

Transaction Summary

Transactions:

Total Passed:
160

Total Failed: Total Stopped:


0
0

Average Response Time

0
00:07:05

00:02:55

00:06:40

00:02:30

00:06:15

00:02:05

00:05:50

00:01:40

00:05:25

00:05:00

00:04:35

00:04:10

00:03:45

00:03:20

00:01:15

00:00:00

00:00:50

00:00:25

Application Under Test Errors

Time Ranges

5
Transaction Name

SLA Status

Minimum Average Maximum Std. Deviation 90 Percent Pass Fail Stop

Action_Transaction

49.738

53.67

74.233

5.495

59.893

70

NewTransaction

32.473

36.346

56.985

5.498

42.575

70

vuser_end_Transactio
n

10

vuser_init_Transaction

0.001

0.001

10

Service Level Agreement Legend:

Pass

Fail

No Data

HTTP Responses Summary


HTTP Responses

Total

Per second

HTTP_200

26,612

59.802

HTTP_204

903

2.029

HTTP_301

140

0.315

HTTP_302

140

0.315

HTTP_304

762

1.712

HTTP_403

96

0.216

1.3. Conclusions
Add text here

Scenario Configuration
1.4. Files
Name:
Results in Session:

Scenario1
C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
Session1.lra

Session Name:

1.5. Scheduler Information


Started On:
Ended On:
Duration:
Load Behavior:

16/11/2011
16/11/2011

16:03:40
16:11:05

Load all Vusers simultaneously

1.6. Scripts
Script

Type

google

Multi+QTWeb

File
C:\Program
Files\Mercury\LoadRunner\scripts\google\google.usr

1.7. Run Time Settings


1.7.1. Multi+QTWeb
Group

Script

google

google

Pacing
As soon as
possible

Think Time
Replay as
recorded

Network Speed
Maximum
bandwidth

Browser cache
Yes

Users' Influence
Displays average transaction response times relative to the number of Vusers running at any
given point during the load test. This graph helps you view the general impact of Vuser load on
performance time and is most useful when analyzing a load test which is run with a gradual
load.
Title:
Graph Type:
Base Graph:
Additional:
Granularity:

Color

Scale
1
1
1
1

Transaction Response Time Under Load


Correlate
Running Vusers
Average Transaction Response Time
1 Second

Measurement
Action_Transaction
NewTransaction
vuser_end_Transaction
vuser_init_Transaction

Min.
49.738
32.473
0.0
0.0

Ave.
53.67
36.346
0.0
0.0

Max.
74.233
56.985
0.0
0.001

SD
5.495
5.498
0.0
0.0

Hits Per Second


Displays the number of hits made on the Web server by Vusers during each second of the load
test. This graph helps you evaluate the amount of load Vusers generate, in terms of the
number of hits.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1

Hits per Second


C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
None
8 Seconds

Measurement
Hits

Graph Min.
0.0

Ave.
64.389

Graph Max.
157.375

Graph Median
62.25

Graph SD
34.255

Vuser Load Scheme


Displays the number of Vusers that executed Vuser scripts, and their status, during each second
of a load test. This graph is useful for determining the Vuser load on your server at any given
moment.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1

Running Vusers
C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
Vuser Status = (Run)
8 Seconds

Measurement
Run

Graph Min.
0.0

Graph Ave.
4.5

Graph Max.
10

Graph Median
4

Graph SD
3.202

10

Transaction Response Times


Displays the average time taken to perform transactions during each second of the load test.
This graph helps you determine whether the performance of the server is within acceptable
minimum and maximum transaction performance time ranges defined for your system.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1
1
1
1

Average Transaction Response Time


C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
Transaction End Status = (Pass), (Include Think Ti
me)
8 Seconds

Measurement
Action_Transaction
NewTransaction
vuser_end_Transaction
vuser_init_Transaction

Min.
49.738
32.473
0.0
0.0

Ave.
53.67
36.346
0.0
0.0

Max.
74.233
56.985
0.0
0.001

SD
5.495
5.498
0.0
0.0

11

Running Vusers
Displays the number of Vusers that executed Vuser scripts, and their status, during each second
of a load test. This graph is useful for determining the Vuser load on your server at any given
moment.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1

Running Vusers
C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
Vuser Status = (Run)
8 Seconds

Measurement
Run

Graph Min.
0.0

Graph Ave.
4.5

Graph Max.
10

Graph Median
4

Graph SD
3.202

12

Hits per Second


Displays the number of hits made on the Web server by Vusers during each second of the load
test. This graph helps you evaluate the amount of load Vusers generate, in terms of the
number of hits.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1

Hits per Second


C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
None
8 Seconds

Measurement
Hits

Graph Min.
0.0

Ave.
64.389

Graph Max.
157.375

Graph Median
62.25

Graph SD
34.255

13

Throughput
Displays the amount of throughput (in bytes) on the Web server during the load test.
Throughput represents the amount of data that the Vusers received from the server at any
given second. This graph helps you to evaluate the amount of load Vusers generate, in terms of
server throughput.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1

Throughput
C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
None
8 Seconds

Measurement
Throughput

Graph Min.
0.0

Ave.
828041.775

Graph Max.
1779373.75

Graph Median
840490.5

Graph SD
422005.083

14

Transaction Summary
Displays the number of transactions that passed, failed, stopped, or ended with errors.
Title:
Current Results:
Filters:
Group By:

Color

Scale
1

Transaction Summary
C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
(Include Think Time)

Measurement
Pass

15

Average Transaction Response Time


Displays the average time taken to perform transactions during each second of the load test.
This graph helps you determine whether the performance of the server is within acceptable
minimum and maximum transaction performance time ranges defined for your system.
Title:
Current Results:
Filters:
Group By:
Granularity:

Color

Scale
1
1
1
1

Average Transaction Response Time


C:\Program Files\Mercury\LoadRunner\scripts\google
\res\res.lrr
Transaction End Status = (Pass), (Include Think Ti
me)
8 Seconds

Measurement
Action_Transaction
NewTransaction
vuser_end_Transaction
vuser_init_Transaction

Graph's Min.
50.367
32.525
0.0
0.0

Graph's Ave.
53.918
36.02
0.0
0.0

Graph's Max.
72.269
55.024
0.0
0.0

Graph's Median
51.286
34.121
0.0
0.0

Graph's SD
5.874
5.005
0.0
0.0

16

Terminology
1.8. LoadRunner Objects
Term
Vuser Scripts
Load Test

Run-Time Settings

Scenario

Scheduler

Session

Transactions

Vusers

Definition
A Vuser script describes the actions that a Vuser performs during the scenario. Each Vuser executes a Vuser script
during a scenario run. The Vuser scripts include functions that measure and record the performance of your
applications components.
Tests a system's ability to handle a heavy workload. A load test simulates multiple transactions or users
interacting with the computer at the same time and provides reports on response times and system behavior.
Run-Time settings allow you to customize the way a Vuser script is executed. You configure the run-time settings
from the Controller or VuGen before running a scenario. You can view information about the Vuser groups and
scripts that were run in each scenario, as well as the run-time settings for each script in a scenario, in the
Scenario Run-Time Settings dialog box.
A scenario defines the events that occur during each testing session. For example, a scenario defines and controls
the number of users to emulate, the actions that they perform, and the machines on which they run their
emulations.
The Schedule Builder allows you to set the time that the scenario will start running, the duration time of the
scenario or of the Vuser groups within the scenario, and to gradually run and stop the Vusers within the scenario
or within a Vuser group. It also allows you to set the load behavior of Vusers in a scenario.
When you work with the Analysis utility, you work within a session. An Analysis session contains at least one set of
scenario results (lrr file). The Analysis utility processes the scenario result information and generates graphs and
reports. The Analysis stores the display information and layout settings for the active graphs in a file with an .lra
extension. Each session has a session name, result file name, database name, directory path, and type.
A transaction represents an action or a set of actions used to measure the performance of the server. You define
transactions within your Vuser script by enclosing the appropriate sections of the script with start and end
transaction statement.
Vusers or virtual users are used by LoadRunner as a replacement for human users. When you run a scenario,
Vusers emulate the actions of human users working with your application. A scenario can contain tens, hundreds,
or even thousands of Vusers running concurrently on a single workstation.

1.9. Graph Information


Term
Average
Hits
Maximum
Measurement
Median
Minimum
Network Delay
Network Path
Response time
Scale (or granularity)
Standard Deviation (SD)
Throughput
Vuser Load

Definition
Average value of the graph measurement's.
The number of HTTP requests made by Vusers to the Web server.
Maximum value of the graph measurement's.
This is the type of resource being monitored
Middle value of the graph measurement's.
Minimum value of the graph measurement's.
The time it takes for a packet of data sent across the network to go to the requested node and return.
The Network Path is the route data travels between the source machine and the destination machine.
The time taken to perform a transaction.
In order to display all the measurements on a single graph, thus making the graphs easier to read and
analyze, you can change the scale or (granularity) of the x-axis. You can either set measurement scales
manually, view measurement trends for all measurements in the graph, or let Analysis scale them
automatically. The Legend tab indicates the scale factor for each resource.
The square root of the arithmetic mean value of the squares of the deviations from the arithmetic mean.
Throughput is measured in bytes and represents the amount of data that the Vusers received from the
server.
When you run a scenario, the Vusers generate load or stress on the server. LoadRunner monitors the effect
of this load on the performance of your application.

17

Load Test Description


Note: The business process description is generated using the scripts referenced by the
scenario. If the scripts have been changed after the load test, the thumbnails will not
necessarily reflect the load test original business process.

1.10. Result: res


1.10.1.

Script: google

Script Action - Action


1.10.1.1. Start transaction 'NewTransaction'

18

1.10.1.2. Page: Www.google.co.in

User Operations:
Navigate to 'http://www.google.co.in/'.

1.10.1.3. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

1.10.1.4. Step: web_url


User Operations:
Navigate to 'http://www.google.co.in/compressiontest/gzip.html'.

19

1.10.1.5. Page: Search

User Operations:
Navigate to 'http://www.google.co.in/search?
hl=en&source=hp&q=bcci.tv&meta=&oq=bcci.tv&aq=f&aqi=g10&aql=&gs_sm=
e&gs_upl=6765l9875l0l10922l7l7l0l1l1l0l235l703l0.3.1l4l0'.

1.10.1.6. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

20

1.10.1.7. Page: Url

User Operations:
Navigate to 'http://www.google.co.in/url?
q=http://www.bcci.tv/&sa=U&ei=EIzDTqHpKMXirAe38dj4Cw&ved=0CBYQFj
AA&usg=AFQjCNGhlppRvsjXhltqRBGeKW4flUJL4g'.

21

1.10.1.8. Page: PIE.htc

User Operations:
Navigate to 'http://www.bcci.tv/bcci/bccitv/community/images/site-map/PIE.htc'.

22

1.10.1.9. Page: Likebox.php

User Operations:
Navigate to 'http://www.facebook.com/plugins/likebox.php?channel=https%3A
%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion
%3D3%23cb%3Df12cf012e5b4e6f%26origin%3Dhttp%253A%252F
%252Fwww.bcci.tv%252Ff2686944d71d158%26relation%3Dparent.parent
%26transport%3Dflash&colorscheme=light&header=true&height=590&href=http
%3A%2F%2Fwww.facebook.com
%2FIndianCricketTeam&locale=en_US&sdk=joey&show_faces=true&stream=tru
e&width=272'.

1.10.1.10. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

23

1.10.1.11. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

1.10.1.12. Page: Search_2

User Operations:
Navigate to 'http://www.google.co.in/search?
hl=en&source=hp&q=espn&meta=&oq=espn&aq=1&aqi=g10&aql=&gs_sm=c&g
s_upl=2000l8765l0l14109l10l10l0l0l0l0l235l1282l0.4.3l7l0'.

1.10.1.13. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

24

1.10.1.14. Page: Url_2

User Operations:
Navigate to 'http://www.google.co.in/url?
q=http://www.espnstar.com/football/&sa=U&ei=VYzDTuasM9DQrQfRM3sCw&ved=0CCYQtwIwBQ&usg=AFQjCNEHIbfkL65FP8PpHf4EFmcd4fJLA
g'.

1.10.1.15. Step: web_url


User Operations:
Navigate to
'http://ad.doubleclick.net/adi/football.espnstar.com/index;fmt=flv;tile=3;sz=300x25
0;pos=300x250_1;ord=1131679058154320.2'.

1.10.1.16. Step: web_url


User Operations:
Navigate to 'http://gazette.espnstar.com:8080/form.do?
agnCI=1&agnFN=signup_india'.

25

1.10.1.17. Step: web_url


User Operations:
Navigate to 'http://bs.serving-sys.com/BurstingPipe/adServer.bs?
cn=rsb&c=28&pli=3414653&PluID=0&w=300&h=100&ord=780046&ncu=$
$http://ad.doubleclick.net/click%3Bh%3Dv8/3bc1/3/0/%2a/a
%3B247851377%3B0-0%3B2%3B6555591%3B3823300/100%3B44735947/44753735/1%3B%3B%7Esscs%3D%3f$$'.

1.10.1.18. Step: web_url


User Operations:
Navigate to 'http://b.scorecardresearch.com/b?
c1=2&c2=3000005&ns__t=1321438698890&ns_c=windows-1252&c8=widget
%20%7C%20ESPNSTAR.com&c7=http%3A%2F%2Fwww.espnstar.com
%2Fgames%2Fwidget%2F&c9=http%3A%2F%2Fwww.espnstar.com%2Ffootball
%2F'.

1.10.1.19. Step: web_submit_data


User Operations:
Submit form to
'http://www.espnstar.com/vyre_optional_portlets/servlet/ajax/display/'.

1.10.1.20. Step: web_url


User Operations:
Navigate to 'http://b.scorecardresearch.com/b?
c1=2&c2=3000005&ns__t=1321438703093&ns_c=windows1252&c8=social&c7=http%3A%2F%2Fwww.espnstar.com%2Fwidgets%2Fsocial
%2F&c9=http%3A%2F%2Fwww.espnstar.com%2Ffootball%2F'.

26

1.10.1.21. Page: Website-footer.html

User Operations:
Navigate to 'http://www.espnstar.asia/espnstar_footer/website-footer.html'.

1.10.1.22. Step: web_url


User Operations:
Navigate to 'http://www.facebook.com/plugins/likebox.php?href=http%3A%2F
%2Fwww.facebook.com
%2Fespnstarsports&width=300&colorscheme=light&show_faces=true&stream=fal
se&header=true&height=288'.

1.10.1.23. End transaction 'NewTransaction'

27

1.10.1.24. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

1.10.1.25. Page: Www.google.co.in_2

User Operations:
Navigate to 'http://www.google.co.in/'.

1.10.1.26. Step: web_url


User Operations:
Navigate to 'http://clients1.google.co.in/generate_204'.

Close Application - End of Business Process Description

Вам также может понравиться