What is correlation? Explain the difference between
automatic correlation and manual correlation?

Answers were Sorted based on User's Feedback



What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / arijeet sarkar

Correlation is where the script is modified so that some of
the hard coded values in the script are no longer hard
coded. Rather than have LoadRunner send the original value
to the server, we may need to send different values.

For example, the original recorded script may have included
the server sending the client a session identification
number. Something to identify the client during that
particular session. This Session ID was hard coded into
the script during recording.

During replay, the server will send LoadRunner a new
Session ID. You need to capture this value, and
incorporate it into the script so you can send it back to
the server to correctly identify yourself for this new
session. If you leave the script unmodified, you will send
the old hard coded Session ID to the server. The server
will look at it and think it invalid, or unknown, and so
will not send the pages that have been requested.
LoadRunner will not have successfully fooled the server
into believing it is a client.

Correlation is the capturing of dynamic values passed from
the server to the client and back. You save this captured
value into a LoadRunner parameter, and then use this
parameter in the script in place of the original value.
During replay, LoadRunner will now listen to what the
server sends to it, and when it makes requests of the
server, send this new, valid value back to the server; thus
fooling the server into believing it is talking to a real
client.

Is This Answer Correct ?    9 Yes 0 No

What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / smita

Correlation is where the script is modified so that some of
the hard-coded values in the script are no longer
hard-coded. Rather then sending the original value to the
server, we may need to send different values.
For example, the original recorded script may have included
the server sending the client a session identification
number, something to identify the client during that
particular session. This Session ID was hard-coded into the
script during recording.
During replay, the server will send the client a new Session
ID. You need to capture this value, and incorporate it into
the script so you can send it back to the server to
correctly identify yourself for this new session. If you
leave the script unmodified, you will send the old
hard-coded Session ID to the server. The server will look
at it and think it invalid or unknown, and so will not send
the pages that have been requested. Replaying a script with
an old Session ID will not successfully fool the server into
believing it is a client.
Correlation is the capturing of dynamic values passed from
the server to the client and back. You save this captured
value into a parameter, and then use this parameter in the
script in place of the original value. During replay, the
replay engine will now listen to what the server sends to
it, and when it makes requests of the server, send this new,
valid value back to the server; thus fooling the server into
believing it is talking to a real client.
Steps to Perform Manual Correlation

1.Record two copies of the script with the same business
process and data:
2.Record a script on the desired business process and save it.
3.Record another copy of the script, repeating all the steps
as in step 1a. As much as possible, during recording, enter
the same values in both scripts, for example, user ID,
password, and fields and edit selections.
4.Identify the values to correlate with the help of the
WinDiff tool:
5.From the second script, go to Tools  Compare with Vuser,
and choose the first recorded script.
6.WinDiff will open and display the two scripts side by
side. It will automatically highlight the lines with
differences in them, showing the differences in red. (If
not, go to Options  View  Show inline differences.)
Tips: Error: "File no longer available." launching WinDiff
7.Locate the first difference, take note of it, and search
the script open in VuGen for that difference. That is the
original value hard-coded into the script that was different
in the second script. Highlight it and copy it.

Is This Answer Correct ?    4 Yes 0 No

What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / mahesh sv

orrelation is used to obtain data which are unique for each
run of the script and which are generated by nested queries.
Correlation provides the value to avoid errors arising out
of duplicate values and also optimizing the code (to avoid
nested queries). Automatic correlation is where we set some
rules for correlation. It can be application server
specific. Here values are replaced by data which are created
by these rules. In manual correlation, the value we want to
correlate is scanned and create correlation is used to
correlate.

Is This Answer Correct ?    4 Yes 2 No

What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / maheen

the correlation describes the direction and strenght of a
straight line relationship between two quantitative
variables n usually writthen as "r"

Is This Answer Correct ?    1 Yes 1 No

What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / bidhu

We have to scan manually for the manual
correlation...Another thing is that record 2 script and
compare both by using WINDIFF tool.we can find from this
which part of the script needs a correlation

Is This Answer Correct ?    2 Yes 3 No

What is correlation? Explain the difference between automatic correlation and manual correlation?..

Answer / charles

correlation is the relationship between two variables

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Load Runner Interview Questions

why do u need a parameterize fields in ur virtual user script ?

5 Answers  


How to find get the Response time of the Online News Feeds (News headlines getting updated in every second with out any user intervention)using Load Runner ?

2 Answers   IBM,


In a web application transaction response time comprises of some sub times like time from web browser to web server thn to application server and then time taken to get response from the database and back to the web browser following the same path.How to get these sub times distinctly in LR analysis?

0 Answers  


What is transaction performance graph?

0 Answers  


Which is the best institute to learn Performance testing with real time project in hyderabad?

6 Answers  






Explain all the web recording options? What is the difference between Overlay graph and Correlate graph?

3 Answers   CA, TCS,


what all the bottle necks can occur in real time, can any one tell me what all u have faced, thanks in advance

1 Answers  


How can we capture 200 correlation value then how can handle it dyanamically.

1 Answers   Napier Healthcare,


When a scenario run exactly what happened?

0 Answers  


Why should we consider 90 percentile graph in the Lr report? Why Not 80 graph?

1 Answers  


Difference b/w URL and HTML modes in LR?

2 Answers  


There is scenario. Total no. of transaction you have to done 1,00,000 in 8 Hour duration. One transaction taking time to complete 6 mins. how many Vusers you will run on this test.

3 Answers   IBM, Microsoft,


Categories