Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
Understanding Correlation In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Using the Web-based Training Tool MyFloridaMarketPlace Revised Date: 12/14/06.
Installing Citrix Receiver
475 Wall Street, Princeton NJ Introduction to PSCAD © 2012 Nayak Corporation Inc. 1.
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
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
1 of 6 Parts of Your Notebook Below is a graphic overview of the different parts of a OneNote 2007 notebook. Microsoft ® OneNote ® 2007 notebooks are digital.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Key Applications Module Lesson 12 — Word Essentials
PowerPoint Tutorial. Basic Vocabulary ► Slide - Presentation - Slide layout – ► ► ► a single page in PowerPoint all the slides for a speech all the slides.
Ch 9 Managing Active Directory User Accounts. Objectives Create Organizational Unit Creating User Accounts in Active Directory Disabling, Enabling, and.
Configuring Task Scheduler Lesson 9. Skills Matrix Technology SkillObjective Domain SkillDomain # Understanding Task Scheduler Configure and manage the.
© 2002 ComputerPREP, Inc. All rights reserved. Word 2000: Working with Long Documents.
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,
Working with a Database
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
MICROSOFT WORD GETTING STARTED WITH WORD. CONTENTS 1.STARTING THE PROGRAMSTARTING THE PROGRAM 2.BASIC TEXT EDITINGBASIC TEXT EDITING 3.SAVING A DOCUMENTSAVING.
Debugging Projects Using C++.NET Click with the mouse button to control the flow of the presentation.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>>
This tutorial teaches Microsoft Word basics. Although knowledge of how to navigate in a Windows environment is helpful, this tutorial was created for.
Information Technology Word Processing. Word Processing is the preparation of documents such as letters, reports, memos, books, or any other type of correspondences.
Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Using the Web-Based Training Tool MyFloridaMarketPlace.
1 NORMA Lab. 2 Revision: Unary and Binary Fact Types Ternary Fact Types Inclusive-Or Constraints External Uniqueness Constraints Value Constraints Derived.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
1 Command Field: Use this field to go to transactions directly by entering the transaction code. The transaction codes can be found either in the SAP Easy.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Enhancing - Vuser Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
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.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.
Lesson 2: Manipulating Text Courseware #: 3240
PowerPoint Practice Exercise 1 1.Save this file in your AV-TECH Folder as PowerPoint Practice Exercise 1. 2.Open this file in PowerPoint. 3.Edit each slide.
Design Verification Code and Toggle Coverage Course 7.
A skills approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved. powerpoint 2010 Chapter 4 Managing and Delivering Presentations.
CS320n –Visual Programming More LabVIEW Foundations.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
© 2007 by Prentice Hall2-1 Introduction to Oracle 10g Chapter 2 Overview of SQL and SQL*Plus James Perry and Gerald Post.
Creating and Editing a Web Page
Database EssentialsDatabase Essentials Lesson 1 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft Access.
Create ReportsCreate Reports Lesson 6 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Access Microsoft Access 2013.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
LOAD RUNNER. Product Training Load Runner 3 Examples of LoadRunner Performance Monitors Internet/Intranet Database server App servers Web servers Clients.
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.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
SAP ERP Basic System Navigation
How to debug an application
Scripts & Functions Scripts and functions are contained in .m-files
Debugging with Eclipse
Key Applications Module Lesson 12 — Word Essentials
MyFloridaMarketPlace
Creating the First Program
Key Applications Module Lesson 12 — Word Essentials
Debugging with Eclipse
Presentation transcript:

Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Playing Back Scripts Configuring Replay options Configuring Display options Running Vuser Scripts in Stand-Alone Mode Output Window: Execution Log Run-Time Data Tab Viewing Test Results Debugging Script >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Configuring Replay Options  You can run a Vuser script in animated mode or non-animated mode.  Animated Mode:  VuGen highlights the line of the Vuser script being executed at the current time.  You can set a delay for this mode, allowing you to better view the effects of each step.  Non-Animated mode: VuGen executes the Vuser script, but does not indicate the line being executed. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Configuring Display Options  Show browser during replay:  Enables the run-time viewer.  The Auto arrange window:  Instructs VuGen to minimize the run-time viewer when script execution is complete.  Generate report during script execution:  Instructs a Vuser to generate a Results Summary report. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Running Vuser Scripts in Stand-Alone Mode  Click Verify Replay > Start Replay button at the bottom of the instruction pane.  Alternatively you can press F5 or click the Run button in the toolbar.  After a few moments, VuGen opens a run-time viewer and begins running the script in either script view or tree view, depending on what you last had open. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Running Vuser Scripts in Stand-Alone Mode  In the run-time viewer, you visually observe the Vuser’s actions.  When the script stops running, you can view a summary of the replay in the wizard. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Output Window: Execution Log  VuGen displays successful steps in green and errors in red. For example, if your connection broke in the middle of the test, VuGen indicates the line number of the error and displays the whole line in red text.  Double-click a line in the Replay Log. VuGen takes you to the corresponding step in the script and highlights the step in script view. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Run-Time Data Tab  You can track the script information that becomes updates during replay, using the Run Time Data tab. During replay, click the rightmost tab, RunTime Data. The tab contains two expandable/collapsible sections:  General: The general section shows the current iteration number, the Action name of the currently replayed step, and the line number within the script (Script view).  Parameters: The parameters section shows all parameters defined with the script and their substitution values based on the selected update method (sequential, unique, etc.). >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing Test results To view test results:  To return to the wizard click Verify Replay in the Task Pane. In the instruction pane under the heading Verification, click the visual test results hyperlink.  Alternatively, select View > Test Results. A new results window opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing Test results  Expand the branch Iteration 1 and then expand the Action Summary branch in the left pane by clicking the plus sign. The expanded branch shows a list of the steps performed in that iteration.  The top right pane of the Test Results window shows the step summary information: the object or step name, the details about whether the page loaded successfully, the result (Passed, Failed, Done, or Warning), and the time that the step was performed. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Debugging Script  VuGen contains two options to help debug Vuser scripts  Run Step by Step command  Breakpoints  To view the Debug toolbar:  Right-click the toolbar area and select Debug. The Debug toolbar appears in the toolbar area. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Debugging  The Run Step by Step Command:  The Run Step by Step Command runs the script one line at a time. This enables you to follow the script execution.  To run the script step by step:  Select Vuser > Run Step by Step, or click the Step button on the Debug toolbar.  VuGen executes the first line of the script.  Continue script execution by clicking the Step button until the script run completes. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Debugging- Breakpoints  Breakpoints pause execution at specific points in the script. This enables you to examine the effects of the script on your application at pre-determined points during execution.  To set breakpoints:  Place the cursor on the line in the script at which you want execution to stop.  Select Insert > Toggle Breakpoint, or click the Breakpoint button in the Debug toolbar. Alternatively, press F9 on the keyboard. The Breakpoint symbol appears in the left margin of the script.  To disable a breakpoint, place the cursor on the line with the breakpoint symbol, and click the Enable / Disable Breakpoint button on the Debug toolbar. A white dot inside the Breakpoint symbol indicates a disabled breakpoint. When one breakpoint is disabled, script execution is paused at the following breakpoint. Click the button again to enable the breakpoint. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Debugging- Breakpoints  To remove the breakpoint, place the cursor on the line with the breakpoint symbol, and click the Breakpoint button or press F9.  To run the script with breakpoints:  Begin running the script as you normally would.  VuGen pauses script execution when it reaches a breakpoint. You can examine the effects of the script run up to the breakpoint, make any necessary changes, and then restart the script from the breakpoint.  To resume execution, select Vuser > Run.  Once restarted, the script continues until the next breakpoint is encountered or until the script is completed. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Debugging- Bookmarks  To create a bookmark:  Place the cursor at the desired location and press Ctrl + F2. VuGen places an icon in the left margin of the script.  To remove a bookmark, click on the desired bookmark and press Ctrl + F2. VuGen removes the bookmark icon from the left margin.  To move to the next bookmark, click F2.  To navigate to the previous bookmark, click Shift + F2. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

 Execute the script with 3 sec Animated Run delay.  Execute the script and notice the Execution Log, Recording Log and Generation Log.  Expand the tree view in Test Results and notice the Passed and Failed transactions.  Execute the script step by step.  Insert Breakpoints in the script and observe how they works. Manage them using Breakpoint manager.  Insert Bookmarks in the script. Questions - To Review Your Skills >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

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