loadrunner Hi all, How can we Co relate two different...

  • Thread starter Mohammad Adil Ashraff
  • Start date
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

M

Mohammad Adil Ashraff

Guest
Hi all, How can we Co relate two different dynamic values coming from server with different RB and LB. For example: if we record a script for flight application for journey from Delhi to Mumbai, correlation value will be same or different from that of Delhi to Kolkata. What if the LB and RB changes for journey from Delhi to Kolkata? What function or logic needs to be implemented here.. Please advise..
 
there is simple way in this case... parameterize journey locations name (server generated value.. i.e Delhi=DL) and you can use the combination for roundtrip as well... if you want to generate value randomly thn set the parameterized value as random_each iteration..
 
you may have doubt on that how to get those parameters (exact location names) to place in dp_FromLocation.dat file... you can get that location details from page view source.. otherwise, just correlate that value by giving Ord=All. you will get list of location names as server generated value (exact location name).. now, copy all the values and place them in your parameter list
 
web_reg_save_param_regexp("ParamName=newParam1","RegExp=http://([a-z]|[A-Z]|\.|/|-|[0-9])*\.jpg", "Ordinal=All", SEARCH_FILTERS, "Scope=Body", "IgnoreRedirections=No", LAST)