Load Runner
Post on 24-Dec-2014
894 Views
Preview:
DESCRIPTION
Transcript
Load Runner
Created By: Kristina FilipyanReviewed by: Vladimir SoghoyanOgma Applications
VUGen
Controller
Analyzer
Three components of 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
Plan load test
Create Vuser scripts
Create scenarios
Run scenario
Analyze scenarios
Load testing process
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
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
Record the script
Replay and Verify
Enhance the script
Replay and verify
Configure run time settings
Use for load scenario
VUgen
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
Running Load Runner
Setting run time behavior
Watching scripts running in real time
Playback summary
Parameterization
Parameterization allows to emulate multiple users Select “Replace with parameter” from drop down by click on the value
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
Verifying web page context
Adding scripts into scenario
Scenario Groups pane
Scenario Status pane
Available Graphs Tree
Graph Viewing Area
Graph Legend
The Controller Run view
Designing scenario
Running scenario
➤ 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
Analyzing Scenario
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?
Thank You
top related