Subscribe the QA and Software Testing Newsletter FREE!! Comments Feed
Post Your Queries | Table of Contents | Subscribe to Testing Newsletter Reading: How to correlate a Winsock script in LoadRunnerTweet this Post

SPONSORED LINKS

For LoadRunner 7.51 and later, users can correlate the dynamic value for a Winsock script from VuGen's Tree View. Below is further information on how it can be accomplished.

In LoadRunner, to use the Tree View for correlation:

  1. Open the script in VuGen.
  2. Choose View > Tree View.
  3. The Tree View will open with the following structure:


    • Function call in the LoadRunner script listed on the left panel.
    • Snapshot of the page in the right panel which can be viewed in either Text View or Binary View

    To correlate in LoadRunner:
  1. Select the lrs_recieve function on the left panel of the Tree View. The contents of the received buffer are displayed in the right panel.
  2. Select either Text View or Binary View. If you work in Text View, you need to clear the Read-only check box in the upper right corner.
  3. Search for the dynamic value that you want to capture.
  4. Highlight that value, right-click, and select Create Parameter. There are two ways to create a parameter:


    • If the offset of the dynamic value is fixed, highlighting that value will set the correct values for Data Range in the Create Parameter window. This creates the function lrs_save_param.
    • If the offset values are not fixed (when the send buffer is parameterized and the response of the server changes in length), look for fixed left and right boundaries to capture the value. Then check Extract Parameter data using boundaries and set the left and right boundaries correctly. This creates function lrs_save_search_string.


  5. VuGen will pop-up with an option for applying the correlation to all occurrences of the value in the script.


    • If you select Yes, VuGen will automatically search for this value in all the lrs_send buffers and replace the values with the parameter name.
    • If you select No, the correlation will be applied to the current location only.


Also See: Other LoadRunner Tutorials

SPONSORED LINKS

Search this site - within more than 167 pages of Software Testing

Do not want to miss any Software Testing tips and latest updates? Subscribe the Software Testing Newsletter and get effective software testing tips


Powered by FeedBlitz
Reading: How to correlate a Winsock script in LoadRunnerTweet this Post

1 Response to How to correlate a Winsock script in LoadRunner

  1. Brian Wilson Says:
  2. Create tip - works like a charm!

     

Search within more than 167 pages


Subscribe to our updates


Powered by FeedBlitz

Software Testing Stuff on FaceBook

Follow Software Testing Stuff on Twitter Subscribe Software Testing & QA Pages Through RSS

Blog Archive

Categories

Automation Concepts

Basic concepts of

Software Test

Automation

Basics

Software Testing articles and

tutorials for Beginners

Bugzilla

Bugzilla - one of the best

open source defect tracking

system

CSTE

Know about CSTE and

related question papers

Defects Bugs and Errors

What are defects,

bugs and errors

General

General software testing

articles for every

software professional

Integration Testing

Learn all about Integration

Testing

Interview Questions

Set of interview questions

for Manual Testing, QTP,

LoadRunner,

Rational Functional Tester,

Selenium

ISEB Certification

Practice exams for ISEB

software testing exam

ISTQB

Preparing for ISTQB???

Then, this is for you.

Job Openings

Find out job openings

for Software Testing

LoadRunner

Learn LoadRunner from

these tutorials

QTP

QTP tutorials for

everyone

QTP Certification Papers

Practice exams for

HP QTP certification

Rational Tools

Learn Rational Tools

from these tutorials

Selenium

Here, you will find

Selenium Tool's

related tutorials

Test Director and Quality Center

Tutorials on Test Director

and Quality Center

Test Management

Learn Software

Test Management,

Planning from

these tutorials

Testing Types and Strategies

Tutorials on various

testing types and

test strategies

Tool Installation

Find help on installation

of various software

testing tools

Unit and White Box Testing

Learn unit testing

and white box testing