GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  LoadRunner
Go To First  |  Previous Question  |  Next Question 
 LoadRunner  |  Question 151 of 210    Print  
What is correlation? How we will do that in Load runner?

  
Total Answers and Comments: 7 Last Update: July 29, 2009     Asked by: Aravind 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: nsarathc
 

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.



Above answer was rated as good by the following members:
rarch
December 28, 2006 01:55:29   
Naresh        

RE: What is correlation? How we will do that in Load r...

Hi all

It is the process in Loadrunner to handle dynamic values. It is equvalent to Output value concept in QTP.

Here the dynamic value is replaced by a variable. Now each time you the script the dynamic value in the application is assigined to the variable & it in turn passes to the required object in the application.

Regards

Naresh J


 
Is this answer useful? Yes | No
January 01, 2007 01:24:21   
Anandha Kumar Member Since: December 2006   Contribution: 1    

RE: What is correlation? How we will do that in Load r...
hi Correlation is used to capture dynamic values in performance testing.Suppose the values like time and date at same of recording never be same as run time and some times or some times when working with web applications session ids . What we have to do is We have to use some functions whose o/p works as i/p of some other function and finally we get the value of dynamic variable which can have the value as o/p these functions. tese o/p value will exactly mathces with run time value of dynamic varibles and test never fails due to dynamically changing variables.This correlation can be done in 2 ways.first when u r not femiliar with cata items whome u have to correlate then u can use lr's search correlation option lr list all dynamically changing variables of ur test and lists then u can choose accrding to ur requirement. it's called as Auto correlationSecondly if u r femiliar with those whom u have to correlate direcxtly u can correlate it's called as Manual correlation
 
Is this answer useful? Yes | No
January 30, 2007 02:24:21   
kishoreqc        

RE: What is correlation? How we will do that in Load r...
hi correlation is using for identifying and resolving the unique values in the application.
 
Is this answer useful? Yes | No
March 09, 2007 09:51:30   
nsarathc Member Since: March 2007   Contribution: 6    

RE: What is correlation? How we will do that in Load r...

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.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 1Overall Rating: -N/A-    
June 26, 2008 07:53:11   
purnaprasad Member Since: May 2008   Contribution: 2    

RE: What is correlation? How we will do that in Load runner?
Data correlation is the process of extracting data that is returned from a server and then sending it back to the server in a subsequent request. There are two main parts to data correlation. One part occurs during test generation and script editing and the other part occurs during script execution. The test generation part of data correlation is the most significant part. There is automatic data correlation that is performed during test generation and there is manual correlation that can be performed during script editing. There are several different things that can be done as part of manual correlation: you can substitute values into a site from a data pool a built-in data source or a reference that is already created.
 
Is this answer useful? Yes | No
February 03, 2009 04:35:17   
dinakar2051562 Member Since: February 2009   Contribution: 1    

RE: What is correlation? How we will do that in Load runner?

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.


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


 
Is this answer useful? Yes | No
July 28, 2009 06:56:24   
vcdgmail Member Since: November 2006   Contribution: 1    

RE: What is correlation? How we will do that in Load runner?
Correlation is a used to obtain data which are Unique for each run of the scriptsand which are generated. Correlation provides the value to avoid errors arising due to duplication values. So we can create rules and get rid of duplication errors
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape