Multiple choice technology performance

What must you do before attempting to automatically correlate after recording?

  1. . Enable the Auto Correlation feature

  2. Play back the script at least one time

  3. Ensure the snapshots are visible in the Tree view

  4. Add the web_auto_correlation function to the global.h section

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To perform automatic correlation in LoadRunner, you must play back the script at least once. This execution generates the replay logs and response data necessary for VuGen to compare the recording and replay snapshots and identify dynamic values.

AI explanation

To answer this question, you need to understand the process of automatically correlating after recording in performance testing.

Before attempting to automatically correlate after recording, you must perform the following step:

B) Play back the script at least one time

Explanation:

During the playback of the script, the performance testing tool records all the dynamic values and correlations required for subsequent iterations. It captures the values exchanged between the client and server, allowing you to identify and extract the dynamic values that need to be correlated.

Options:

A) Enable the Auto Correlation feature - This option is incorrect because enabling the Auto Correlation feature alone is not sufficient. It is important to play back the script first to capture the dynamic values.

C) Ensure the snapshots are visible in the Tree view - This option is incorrect because although it is important to have the snapshots visible in the Tree view for analysis, it is not a prerequisite for attempting to automatically correlate after recording.

D) Add the web_auto_correlation function to the global.h section - This option is incorrect because adding the web_auto_correlation function to the global.h section is not necessary for attempting to automatically correlate after recording.

The correct answer is B) Play back the script at least one time. This option is correct because playing back the script allows the performance testing tool to capture the dynamic values that need to be correlated.