Correlation Overview

Creating a Vuser script includes the steps shown below. This topic provides and overview of the third step, correlating a Vuser script.

Click or tap any of the buttons above to display details about the step.

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.

Slideshow

This slideshow introduces you to correlations in LoadRunner.

Back to top

See also: