What is correlation? Explain the difference between
automatic correlation and manual correlation?
Answer Posted / 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 |
Post New Answer View All Answers
What can I monitor with loadrunner?
How many types of vuser are available?
What is lr-function?
How to schedule a scenario?
Why we insert the rendezvous point while running the scenario?
How is each step validated in the script?
Hi guys I am pravash kumar satapathy having 4.5yrs experience in loadrunner .i am providing online training in loadrunner,jmeter .if any body are interested directly u can call me or mail me pravashkumarsatapathy@gmail.com pk.loadrunner-----skype 9437629024
What type of function generate and insert by the vugen to the script when you record a script?
What are all the reasons to use the server resources monitor?
Difference b/w 9.1 and 9.5 Versions in LoadRunner?
What is stand-alone mode?
How will you handle the situation in scripting where for your mailbox you have to select any one mail randomly to read?
What is report header and what are the information contains?
Explain the difference between automatic correlation and manual correlation?
How to create a scenario?