Wednesday, June 22, 2016

Load Runner : How to perform multiple (group) co-relation in Load Runner

Hi All,

Below is the description of how to perform multiple (group) co-relation in Load Runner :

Eg: 


you wants to co-relate product_id and osCsid both in the above url

Solution:

Function available in load runner : web_reg_save_param_regexp


you can create your own expression

Expression will be :

web_reg_save_param_regexp(
"ParamName=product_id_os",
"RegExp=products_id=([A-Z0-9a-z]+)\”\\]&osCsid=[A-Z0-9a-z\\\\+]\">",
"NotFound=warning",
"Group=0",
"Ordinal=1",
SEARCH_FILTERS,
               "Scope=Body",
LAST);

Used Expression :



Define Variable and Response :

1) Parameter name_1 for 1st value (Eg: if parameter name is product_id_os than we will define like product_id_os_1)
2) Parameter name_2 for 2nd value (Eg: if parameter name is product_id_os than we will define like product_id_os_2)





In- case of query/concern, do let us know.

2 comments:

  1. The blog gave me idea to to perform multiple (group) co-relation in Load Runner my sincere thanks for sharing this post
    Software Testing Training in Chennai

    ReplyDelete
  2. really you have been shared very informative post. before i read this blog i didn't have any knowledge about this but now i got some knowledge. so keep on sharing such kind of an interesting blogs.
    SoftwareTesting Training in chennai

    ReplyDelete

plz give ur comments !!!!!!