Venkat Matta

it's all about the Performance Testing

Correlation

Overview

Correlation is used when a recorded script includes a dynamic value (such as a session ID) and therefore cannot be successfully replayed. To resolve this, you convert the dynamic value into a variable—thereby enabling your script to replay successfully.

For example, many applications and Web sites use the current date and time to identify a session. If you try to replay a script that was recorded on such a site, the script may fail because the current time is different from the recorded time. Correlating the data enables you to save the dynamic data and use it throughout the scenario run.

When a correlation is created, VuGen adds a function that extracts the dynamic value to a parameter. Appropriate occurrences of the original value are replaced with a parameter.

Correlation Tab [Design Studio] Overview

With the Correlation tab you can:

  • Scan for correlations using rules, record based, and replay based engines
  • Correlate both raw and formatted data
  • Add and edit rules
  • Undo correlations
  • Review details pertaining to a specific dynamic value in a snapshot

The following flow chart illustrates the process for correlating values in your script using the Correlation tab:

cs_CorrelationStudioFlow.png

 

Advertisements

Information

This entry was posted on March 23, 2016 by in Loadrunner.
%d bloggers like this: