Quality Testing

Quality is delighting customers

Hi Guys,
Please give clear idea about correlation in Loadrunner and also tell about correlation related technical questions.............


Views: 591

Reply to This

Replies to This Discussion

Correlated data is data which is sent to the Client from the Server, and later sent back to the Server by the Client.

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 script with old will Session ID 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 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.

Thanks Ruchi for your quick response and this very useful info.............

let us  say i dont have the session values in this case wil my scripts replays sucessfully



Please find the scripts


    web_link("Add New",
        "Text=Add New",
        "Url=/images/button_bg.png", "Referer=http:/com//index.php?q=user&task=new", ENDITEM,

        "Name=name", "Value=sam", ENDITEM,
        "Name=lastname", "Value=ram", ENDITEM,
        "Name=role", "Value=lead", ENDITEM,
        "Name=email", "Value=kkkkk@gmail.com", ENDITEM,
        "Name=street", "Value=43,thfgh", ENDITEM,
        "Name=city", "Value=chennai", ENDITEM,
        "Name=state", "Value=tamilnadu", ENDITEM,
        "Name=country", "Value=india", ENDITEM,
        "Name=zip", "Value=23423", ENDITEM,
        "Name=status", "Value=1", ENDITEM,
        "Name=image", "Value=", "File=Yes", ENDITEM,
        "Name=submit", "Value=Save", ENDITEM,



TTWT Magazine





© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service