How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

Slides:



Advertisements
Similar presentations
Performance Testing - Kanwalpreet Singh.
Advertisements

EXCEED® IEP Quick Start Card – Student Record/Events 1.Select the left vertical bar to close the student panel, giving more space for the student record.
Using Macros and Visual Basic for Applications (VBA) with Excel
Understanding Correlation In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Project Information: Customizing and Printing Lesson 7.
Welcome to Load Runner Training Program
Load Runner Mercury Performance Test Tool. Topics to be Covered Why Performance ? Why Performance ? Definitions: Performance Testing Definitions: Performance.
Understanding Analysis Reports In HP LoadRunner
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
NetOp School Your Interactive Classroom Help instructors optimize, manage and control their teaching environment. Consists of two modules: o the teacher.
Load Testing Using NeoLoad
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Project 1 Using a Design Template and Text Slide Layout to Create a Presentation.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Understanding of Load Testing Tools Especially HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Design Verification Design Profiler Course 8. All materials updated on: September 30, Design Profiler Design Profiler is a tool integrated within.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 2 Querying a Database
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
Transferring Course Materials to the Web. Creating a Web Site With a Template To create a Web site with a template 1.Start FrontPage. 2.On the File menu,
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Working with a Database
Explore the World with MapPoint Finding a Location on a Map Finding a Location on a Map – U.S only To find a location on a map 1.From the Start.
Creating a Web Site to Gather Data and Conduct Research.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Discipline, Crime, and Violence August New DCV Application The DCV application and submission process has been revised beginning with the
Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>>
Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Enhancing - Vuser Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Microsoft Access 2010 Chapter 10 Administering a Database System.
The Next Generation. Parent Access Grade History and Attendance.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Chester High School ● Take Attendance ● Set up the grade book ● Enter assignments ● Record Scores ● Running Reports.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Key Applications Module Lesson 17 — Organizing Worksheets Computer Literacy BASICS.
#ZOLLSummit. RescueNet Billing Batch Posting Presented by Stacey Bickford & BJ Terrill.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
When you run a scenario, the Vusers on each host machine use the host’s IP address. You can define multiple IP addresses on a host machine to emulate a.
Create new project or open existing project (here, we will create a new project)
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
1 Copyright © 2011 Tata Consultancy Services Limited PERFORMANCE TESTING.
QC – User Interface QUALITY CENTER. QC – Testing Process QC testing process includes four phases: Specifying Requirements Specifying Requirements Planning.
Basic Navigation in Oracle R12 BY: Muhammad Irfan.
FHA Training Module 1 This document reflects current policy related to this topic. Its content is approved for use in all external and internal FHA-related.
LOAD RUNNER. Product Training Load Runner 3 Examples of LoadRunner Performance Monitors Internet/Intranet Database server App servers Web servers Clients.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules Microsoft Excel 2013.
IV&VS Capabilities. 2 V IRTUAL USER GENERATOR 3 V IRTUAL U SER T ECHNOLOGY AND ADVANTAGES  Simulates a real user  Requires less resources – machines.
IV&VS Capabilities. 2 L OADRUNNER C ONTROLLER – S CENARIO DESIGN.
Performance Testing - LR. 6/18/20162 Contents Why Load Test Your Web Application ? Functional vs. Load Web Testing Web-Based, Multi-Tiered Architecture.
Comprehensive Continuous Improvement Plan(CCIP) Training Module 4 Funding Application.
Dashboard GUI.
Using Procedures and Exception Handling
Multi-host Internet Access Portal (MIAP) Enhancement Guide
PERFORMANCE TESTING.
Load Runner Mercury Performance Test Tool
PERFORMANCE TESTING.
Presentation transcript:

How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Running a Scenario Controller- Run Tab Monitoring under load Managing Load in Run-Time Viewing Scenario Status- Errors and Logs >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Controller- Run Tab  The Run tab in the Controller window is the control center from which the test is managed and monitored.  The Run view contains five main sections:  Scenario Groups pane  Scenario Status pane  Available Graphs Tree  Graph Viewing Area  Graph Legend >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Controller- Run Tab  Scenario Groups pane: In the upper-left pane, you can view the status of Vusers in the scenario groups. You use the buttons to the right of this pane to start, stop, and reset the scenario, to view individual Vuser status, and to increase the load on the application during a scenario by manually adding more Vusers.  Scenario Status pane: In the upper-right pane, you can view a summary of the load test, including the number of running Vusers and the status of each Vuser action.  Available Graphs Tree: In the middle-left pane, you can see a list of the LoadRunner graphs. To open a graph, select a graph in the tree, and drag it into the graph viewing area. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Controller- Run Tab  Graph Viewing Area: In the middle-right pane, you can customize the display to view between one and eight graphs (View > View Graphs).  Graph Legend: In the lower pane, you can view data from the selected graph. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Controller- Run Tab  Select the Run tab at the bottom of the screen.  Notice that there are 8 Vusers in the Down column of the Scenario Groups pane. These are the Vusers you created when you created the scenario. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Controller- Run Tab  Click the Start Scenario button or select Scenario > Start to begin running the test.  The Set Results Directory dialog box opens.  Specify a new results directory. Enter a unique and meaningful name for each results set, because you may want to superimpose the results of several scenario runs when you come to analyze the graphs. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Monitoring Under Load  Start the Perfmon counter log.  You use the Controller’s online graphs to view performance data collected by the monitors. You use this information to isolate potential problem areas in your system environment.  The Run tab displays the following default online graphs:  Running Vusers - Whole Scenario graph. Displays the number of Vusers running at a given time.  Transaction Response Time - Whole Scenario graph. Shows the amount of time it takes for each transaction to be completed.  Hits per Second - Whole Scenario graph. 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 under load  Double-click the Windows Resources pane to enlarge it. Notice that each measurement appears on a color-coded row in the graph legend. Each row corresponds to a line in the graph with the same color.  Selecting a row highlights the corresponding line in the graph, and vice versa. Double-click the graph again to reduce it. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Monitoring under load View the throughput information:  Select the Throughput graph in the Available Graphs tree, and drag it into the graph viewing area.  The Throughput graph shows the amount of data (measured in bytes) that the Vusers receive from the server at any given second.  If the throughput scales upward as time progresses and the number of Vusers increases, this indicates that the bandwidth is sufficient. If the graph were to remain relatively flat as the number of Vusers increased, it would be reasonable to conclude that the bandwidth is constraining the volume of data delivered. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing Vusers in Real Time  When emulating users, you should be able to view their actions in real time and make sure they are performing the right steps. The Controller lets you view the actions in real time using the run-time viewer.  Click the Vusers button. The Vusers window opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing Vusers in Real Time  The Status column displays the status of each Vuser. You can see that four Vusers are running and four are in down.  The Start Vusers action in the scheduler instructed the Controller to release two Vusers at a time. As the scenario progresses, Vusers will continue to be added in groups of two at 30-second intervals.  Click the Show the selected Vusers button on the Vusers toolbar. The Run- Time Viewer opens and displays the action currently being performed by the selected Vuser. The window is updated as the Vuser proceeds through the steps of the recorded script.  Click the Hide the selected Vusers button on the Vusers toolbar to close the Run-Time Viewer log. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Checking Vuser Logs  To check the progress of an individual Vuser during a running test, you can view a log file containing a text summary of the Vuser’s actions.  Select a running Vuser in the Vusers window, and click the Show Vuser Log button.  The Vuser log window opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Increasing Load in Runtime  You can increase the load on the application during a running load test by manually adding more Vusers.  To increase load during a load test:  In the Run view, click the Run/Stop Vusers button. The Run/Stop Vuser dialog box opens displaying the number of Vusers currently assigned to run in the scenario.  In the # column, enter the number of additional Vusers to the group that you want to add. To run two additional Vusers, replace the number 8 with the number 2, in the # column.  Click Run to add the Vusers. If some of the Vusers have not yet been initialized, the Run Initialized and Run New options open. Select the Run New option. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Increasing Load in Runtime  These 2 additional Vusers are distributed to the travel_agent group and are run on the localhost load generator. The Scenario Status pane shows that there are now 10 running Vusers.  You may get a warning message that LoadRunner Controller cannot activate additional Vusers. This is caused by the fact that you are using your local machine as a load generator and it has very limited memory resources. In most situations you would use a dedicated machine as a load generator to avoid such problems. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing Scenario Status  View breakdown of Vuser actions  Click Passed Transactions in the Scenario Status pane to view a list of transaction details. The Transactions dialog box opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Errors  If an application starts to fail under heavy load, you are likely to encounter errors and failed transactions. The Controller displays error messages in the Output window.  Select View > Show Output or click Errors in the Scenario Status pane.  The Output dialog box opens and lists a message text, the total number of messages generated, the Vusers and load generators that generated the error, and the scripts in which the errors occurred. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Errors  To view a message in detail, select the message and click Details.  The Detailed Message Text box opens, displaying the complete message text.  The example below shows a timeout error. The Web server did not respond to a request within a given time period. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Log Information  You can view information about each message, Vuser, script, and load generator associated with an error code by clicking the blue link in the appropriate column.  For example, to locate where in the script an error occurred, drill down on the Total Messages column. The Output window displays a list of all messages of the selected error code, including the time, iteration number, and line in the script where the error occurred. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

 Execute manual scenario created in previous chapter.  Execute Goal Oriented Scenarios created in previous chapter.  Increase and decrease the load on server while the scenario is under execution.  Terminate the server while the scenario is running and notice the errors encountered.  View the rendezvous policy and observe the system behavior at rendezvous points.  Monitor the scenario under load using various online monitors.  What is Step Download Timeout error and how it can be handled. Questions - To Review Your Skills >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Thank You >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<