Understanding Correlation In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

Slides:



Advertisements
Similar presentations
Updating the Ohio Educational Directory. Log in to OEDS by clicking on the Sign In button in the upper left corner of any ODE Web page (
Advertisements

FLEET User Manual July 1, Part One – User Names & Passwords I.User Names & Passwords A. Creating an Account B. Forgot Password C. Updating .
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
DNR-322L & DNR-326.
© 2011 PetroSkills, LLC. All rights reserved Launch your PetroSkills company web browser. 2. Enter your User ID and Password. 3. Click the Login.
© 2011 PetroSkills, LLC. All rights reserved Launch your PetroSkills company web browser. 2. Enter your User ID and Password. 3. Click the Login.
Chapter 2 Creating a Research Paper with Citations and References
Welcome to Load Runner Training Program
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Load Runner Mercury Performance Test Tool. Topics to be Covered Why Performance ? Why Performance ? Definitions: Performance Testing Definitions: Performance.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Logging into ITAMS as an Exempt Employee To Login to ITAMS for the first time: Open your web browser. Click File, Open, and type the following address:
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Welcome to the Turnitin.com Instructor Quickstart Tutorial ! This brief tour will take you through the basic steps teachers and students new to Turnitin.com.
Introduction To Form Builder
Creating a Web Page HTML, FrontPage, Word, Composer.
Lesson 5: Using Tasks, Notes and the Journal
Ch 8-3 Working with domains and Active Directory.
Lesson 4: Using the Calendar
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Animating and Using Multimedia Effects Lesson 10.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
Page 1 These instructions will help guide you through the pages of the Self-Nomination Process web site. Please follow these steps to navigate through.
Copyright 2000 eMation SECURITY - Controlling Data Access with
Creating a Web Site to Gather Data and Conduct Research.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Part 1 – PubMed Interface, Display options, Saving, Printing, and ing results. Instructions This part of the course is a PowerPoint demonstration.
Instructors begin using McGraw-Hill’s Homework Manager by creating a unique class Web site in the system. The Class Homepage becomes the entry point for.
Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>>
MathXL ® for School Student Training Series Enrolling in Your MathXL ® for School Class & Setting Up Your Computer for MathXL ® for School.
Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
BOLD 2.0 Navigation Help Guide Note: BOLD will be inaccessible from 9:00 pm ET on Friday, June 1, to 7:00 am ET on Monday, June 4, so that the upgrade.
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Enhancing - Vuser Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Microsoft Access 2010 Chapter 10 Administering a Database System.
PaymentNet: Cardholders Procurement Services Laurie Krauel.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
Morton Instructional Technology Team Edline Student Activation.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Microsoft Word 2010 Chapter 2 Creating a Research Paper with Citations and References.
WESS Safety Authority WESS Module SA-2 SA Functions Modify Existing User Accounts.
Chapter 12© copyright Janson Industries Java Server Faces ▮ Explain the JSF framework ▮ SDO (service data objects) ▮ Facelets ▮ Pagecode classes.
Creating and Editing a Web Page
Agency Web Site Navigation Structure. Building the agency web site Agency Web Site Navigation Structure, Slide 2Copyright © 2004, Jim Schwab, University.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Creating Web Pages with Links, Images, and Embedded Style Sheets
SNG via Webinar. Where’s Webinar??  Double click Aflac 2000 folder  Highlight “SNGWebCommunicator”  Right Click and “Send To - Desktop”
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.
Performance Testing - LR. 6/18/20162 Contents Why Load Test Your Web Application ? Functional vs. Load Web Testing Web-Based, Multi-Tiered Architecture.
EndNote Ver.X7: A Reference Management Software
© 2015 Ex Libris | Confidential & Proprietary Yoel Kortick Senior Librarian Cataloging introductory flow.
XP Creating Web Pages with Microsoft Office
Modify Existing User Accounts
SAP ERP Basic System Navigation
Microsoft Word Illustrated
Modify Existing User Accounts
Cataloging introductory flow
BOLD 2.0 Navigation Help Guide.
Data Entry Interface (DEI) Overview
MODULE 7 Microsoft Access 2010
How to Create and Start a Test Session
Data Entry Interface (DEI) Overview
Modify Existing User Accounts
Load Runner Mercury Performance Test Tool
Modify Existing User Accounts
Data Entry Interface (DEI) Overview
Presentation transcript:

Understanding Correlation In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Correlation What is correlation Types of Correlation Automatic Correlation Manual Correlation >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

What is Correlation  Sometime, after creating a script, a simple playback fail even though the recording of the same actions succeeded.  Many applications use dynamic values that change each time you use the application. For example, some servers assign a unique session ID for every new session. When you try to replay a recorded session, the application creates a new session ID that differs from the recorded session ID.  LoadRunner addresses this issue through correlation. Correlation saves the changing values to a parameter.  When running the emulation, the Vuser does not use the recorded value—instead, it uses the new value assigned to it by the server. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  Open HP Web Tours.  Select Start > Programs > LoadRunner > Samples > Web > HP Web Tours Application. A browser opens with the HP Web Tours home page.  Click the administration link on the HP Web Tours home page. The administration page opens.  Select the 3rd checkbox entitled: Set LOGIN form's action tag to an error page.  Scroll down to the bottom of the page and click Update.  Scroll down to the bottom of the page and click the Return to the Web Tours Homepage link.  This setting tells the server not to allow duplicate session IDs.  Close the browser. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  In the modified configuration of HP Web Tours, the server assigns a unique session ID to the Vuser. If you try to play back the script, it will fail.  To overcome this issue, you use VuGen to automatically detect the need to correlate the session ID.  After you run the script, VuGen prompts you to scan the script for correlations. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  You will instruct VuGen to insert a step that saves the original session ID to a parameter. In each replay session, VuGen saves the new unique session ID to a parameter. In the subsequent steps, it uses the saved value instead of the originally recorded value.  Record a new script with the same steps that you recorded previously and save the script as Basic_Tutorial_Cor.  Click Verify Replay in the Task Pane and click the Start Replay button at the bottom of the instruction pane. VuGen runs the new script. You may notice several error messages in the Replay Log tab in the Output window, indicated by the red-colored text.  Click Verify Replay in the Task Pane to view the Last Replay Summary. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  Click the link Show and resolve dynamic server values in the instruction pane under the heading Dynamic Server Values.  VuGen scans the script, searching for differences between the recorded values and the playback values.  VuGen displays a list of these differences that may require correlation in the Correlation Results tab in the Output window.  Select the first entry in the Correlation Results tab, and click Correlate. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  VuGen inserts a new step at the top of the script saving the original session ID to a parameter.  In each replay session, VuGen saves the new unique session ID to a parameter.  In the subsequent steps, it uses the saved value instead of the originally recorded value.  Select View > Tree View to view this new step in the test tree. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  View > Script View to view the correlation statement in the script.  This statement means “Check the server response for data located between the following two strings:”  Left boundary: userSession value=  Right boundary: >  The statement instructs VuGen to save the first occurrence of this data to a parameter called WCSParam_Diff1. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  Select Vuser > Run to replay the script again. When the replay ends, select View > Tree View.  Look in the Replay Log tab. Note that VuGen no longer issues the red-colored error messages. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Automatic Correlation  In the script, right-click Service: Reg Save Param and select Go to step in Replay Log. VuGen places the cursor at the corresponding line in the replay log.  The log indicates that function web_reg_save_param succeeded, indicating that the correlation worked. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Manual Correlation  Record a new script with the same steps that you recorded previously and save the script as Manual_Cor_1.  Record another script using the same steps as above and save the script as Manual_Cor_2.  Now for script Manual_Cor_2, click on Tools > Compare with script option and select Manual_Cor_1 script to compare with.  Notice that a WDiff window is displayed, showing both the scripts and the differences in recording are highlighted in yellow color. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Manual Correlation >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Manual Correlation  Notice that there is a difference in the userSession value in both the scripts.  Navigate to Script view and add the following line to the code: web_reg_save_param("myval", "LB=userSession value=", "RB=>", LAST );  Now search for the userSession value and replace the hard-coded valye by parameter as: {myval}  Replay the script and notice that it plays back successfully. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Manual Correlation >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

 What is correlation and why is it done?  Perform Automatic correlation on the script.  Perform Manual correlation on the script. Questions - To Review Your Skills >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

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