load runner

23
Load Runner Created By: Kristina Filipyan Reviewed by: Vladimir Soghoyan Ogma Applications

Upload: vladimir-soghoyan

Post on 24-Dec-2014

906 views

Category:

Technology


1 download

DESCRIPTION

Components of Load Runner Load Runner Terminology Load testing process Introducing Vuser Introducing VUgen Vugen Goal Verifying web page context ------------------------------------------------------------- Created By: Kristina Filipyan Reviewed by: Vladimir Soghoyan Ogma Applications

TRANSCRIPT

Page 1: Load Runner

Load Runner

Created By: Kristina FilipyanReviewed by: Vladimir SoghoyanOgma Applications

Page 2: Load Runner

VUGen

Controller

Analyzer

Three components of Load Runner

Page 3: Load Runner

ScenarioA scenario is a file that defines the events that occur during each testing session, based on performance requirements.

VusersIn the scenario, LoadRunner replaces human users with virtual users or Vusers. Vusers emulate the actions of human users working with your application. A scenario can contain tens, hundreds, or even thousands of Vusers.

Vuser ScriptThe actions that a Vuser performs during the scenario are described in aVuser Script.

TransactionsTo measure the performance of the server, you define transactions. A transaction represents end-user business processes that you are interested in measuring.

LoadRunner Terminology

Page 4: Load Runner

Plan load test

Create Vuser scripts

Create scenarios

Run scenario

Analyze scenarios

Load testing process

Page 5: Load Runner

Virtual users: Load Runner emulates the environment in which thousands of users works with a

client server system concurrently. Load runner Creates or replaces human users with a virtual users (vuser)

Virtual script: The actions performed by the human users are recorded in the form of script.

Script generated by load runner is Vuser script. The scripts when replayed emulates the real user performing business actions. The scripting language used is C, C++,Java

Actions: Actions are the set of user transactions performed in an application to accomplish

business tasks Each virtual user will always have 3 default actions1. Vuser_init (user for logon to the application)2. Actions (Used for business action that needs to be recorded)3. Vuser_end (The user for log off from the application)

Introducing Vuser

Page 6: Load Runner

The Virtual user generator already known as VUGen enables you to develop Vuser scripts for a variety of application types and communication protocols

VUGen not only records scripts but also run them . To verify that script runs correctly you run it in standalone mode. When your script runs correctly you incorporate it into a Load Runner scenario.

Introducing VUgen

Page 7: Load Runner

Record the script

Replay and Verify

Enhance the script

Replay and verify

Configure run time settings

Use for load scenario

VUgen

Page 8: Load Runner

VUgen does not record activities performed by the client on the application

VUGen creates script by recording the activitiy between client and the server

Vugen Goal

Page 9: Load Runner

Running Load Runner

Page 10: Load Runner

Setting run time behavior

Page 11: Load Runner

Watching scripts running in real time

Page 12: Load Runner

Playback summary

Page 13: Load Runner

Parameterization

Parameterization allows to emulate multiple users Select “Replace with parameter” from drop down by click on the value

Page 14: Load Runner

There is two tipes of check points exist

1. Text check point- checks that a text string appears on a Web page

2. Image checkpoint- checks for an image on a Web page

Verifying web page context

Page 15: Load Runner

Verifying web page context

Page 16: Load Runner

Adding scripts into scenario

Page 17: Load Runner

Scenario Groups pane

Scenario Status pane

Available Graphs Tree

Graph Viewing Area

Graph Legend

The Controller Run view

Page 18: Load Runner

Designing scenario

Page 19: Load Runner

Running scenario

Page 20: Load Runner

➤ Running Vusers - Displays the number of Vusers

running at a given time.

➤ Transaction Response Time - Shows the amount of

time it takes for each transaction to be completed.

➤ Hits per Second - Displays the number of hits (HTTP requests) made to the Web server by Vusers during each second of the scenario run.

➤ Windows Resources graph. Displays the Windows resources measured during a scenario.

Monitoring the application under load

Page 21: Load Runner

Analyzing Scenario

Page 22: Load Runner

HTML Reports -The HTML report can be opened and viewed in any browser.

Microsoft Word Reports - The Word report is more comprehensive than the HTML report, because it gives option to include general information about the scenario, and measurement descriptions.

How can my findings published?

Page 23: Load Runner

Thank You