Manual Correlation

How to do manual correlation in virtual user generator in performance testing

Questions by amarnath2011

Showing Answers 1 - 12 of 12 Answers

sonia

  • Sep 9th, 2011
 

There r 3 ways of correlating in Manual section.

We usually use the 3rd Option -Vuser Comparison

Here
1)Record 2 scripts with the same actions.
2) Compare these 2 Scripts with Compare option in the Tools. ) This will show all the Dynamic Values, make a note of this in notepad.
3)Close one of the Scripts and go to Tree View - Server Response.
4) Now Click on the Page which you need to Parametrize(Yellow icon is the symbol for Page).
5) You'll find HTTP Response under which you'll find Body - Expand Body, Expand Application Name, Expand Application Navigation Bar, Expand Form, You'll find "act" click on the "act.
6) Now you'll notice a line is highlighted. The value below is selected and Right Click and say Replace with a Parameter.
7) This will include a new Service in the Tree View and a function in the Script as web_reg_save_param.

This should work :)

  Was this answer useful?  Yes

sindhu_gt

  • Mar 15th, 2014
 

Hi All...,

Manual Correlation in LoadRunner is very simple to do in LoadRunner if you follow these steps :

1> Need to find the server generated id in the script which we need to correlate
2> After you found the server generated id Goto the Previous request
3> Place the cursor before the previous request
4> Goto the Server Response
5> Find the server generated id in the Body left side and expand body
6> search with server generated id in each and every element of the Body
7> After you found the server generated id you need to select the left and right boundaries
8> And also you have to find that the server generated id is available which occurrence i.e.,ORD value
9> Then again redirect to the script and write the correlated function before the previous request
10> And final step is to replace the server generated id with variable which we have specified in the correlated function

Code
  1. web_reg_save_param("SessionID",

  2.                                "LB=value=",

  3.                                "RB=>",

  4.                                "ORD=1",

  5.                                 LAST);

pardhasaradhi

  • Mar 6th, 2016
 

1.Find the server req to make it daynamically in the code.
2.Copy the server req and click on output panel.
3.select code generation.
4.Search the copied static server req and click on > button.
5.It will highlight the server static req.
6.next type .inf in search button.
7.On top of it place the correlated value

Code
  1. //<input type="hidden" name="userSession" value="117841.149615229zAzVtftpVDDDDDDDDzDzipHcti"/>

  2.         web_reg_save_param("Corr_Signid","LB="userSession" value="","RB="/>","ORD=1","Notfound=warning",LAST);

  Was this answer useful?  Yes

Rajkumar Bethi

  • Jun 20th, 2017
 

Manual Correlation: This can be done in 3 ways:
1) Manually check the script: Correlate the dynamic values going thru the script.
2) Snapshot comparison: Compare the snapshots for the Recording & replay
3) Script Comparisons: Record the same script 2 times and compare the scripts for dynamic values thru Tools> Compare with Vuser option in VuGen.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions