ContributionsMost RecentMost LikesSolutionsRe: Complex Data Correlation Rules Hi Alexey. It seems this was not complex after all. Thank you for your response. Below is the resulting Data Correlation Rule: Body (RegExp) "pxClientExchange":\s*"([^"]+?)" $1 Header (Path) Request/Query/pzTransactionId Re: LoadComplete Data Replacers & "LoadComplete will replace only the first match" Thank you Alexey for your response. I don't believe I was specific enough with describing my issue. I have a page that has multiple instances of the same string that need replacing. I have a Correlation Rule generated Data Replacer which works only for the first instance of the string found on the page. I need to have every instance of the string replaced, not just the first. Below is an example string excerpt (from request body 147) containing the same value (5323438086533762) repeated ten times (in red) which needs to be replaced by a different value presented in the response body of request 134. " Purpose=Perform&ReadOnly=-1&HarnessPurpose=Perform&FolderKey=&InputEnabled=false&pzCTkn=9c9271f7e03738af735d01ed7ec0f51a&pzBFP=%7Bv1%7D8ff23acf1b0abaddc2b1b534a997bcde&%24PpyWorkPage%24ppyFormPost=&%24PpxRequestor%24ppyLatitude=&%24PpxRequestor%24ppyLongitude=&%24PpyWorkPage%24ppySpecialtyComponentData=&+=CPMContactVerified&+=CAEndInteraction&+=&+=CallerEscalation&ActionMode=&NewAction=false&TaskIndex=1&TaskHTML=&TaskSectionReference=CPMContactVerified&TaskStreamType=Rule-Obj-FlowAction&TaskStatus=CPMContactVerified&TaskInstructions=&TaskHelpPresent=false&TaskHelpType=&TaskInstructionsCaption=Instructions&%24PpyWorkPage%24pFoundationName=28F62CCC-8B36-4425-8437-AEACF4CC3285&%24PpyWorkPage%24pCTICall%24ppyDNIS=97253&%24PpyWorkPage%24pIsInterpreterNeeded=false&%24PpyWorkPage%24pCallerType=1&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l1%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l1%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l2%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l2%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l3%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l3%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l4%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l4%24pIsCustomerVerified=true&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l5%24pIsCustomerVerified=false&%24PD_VerificationDetails_pa5323438086533762pz%24ppxResults%24l6%24pIsCustomerVerified=false&EXPANDEDSubSectionPatientVerificationDetailsBBBBBB=&%24PpyDisplayHarness%24pKMSearchText=&D_KMTopArticlesPpxResults1colWidthGBL=&D_KMTopArticlesPpxResults1colWidthGBR=&D_KMNewArticlesPpxResults1colWidthGBL=&D_KMNewArticlesPpxResults1colWidthGBR=&D_KMViewedArticlesPpxResults1colWidthGBL=&D_KMViewedArticlesPpxResults1colWidthGBR= " The below Simulated body shows only the first match was replaced. LoadComplete Data Replacers & "LoadComplete will replace only the first match" I have form pages where many field names and/or values contain a unique ID which is captured by a Data Selector associated with an earlier request. On these form pages, I need to replace a portion of X number of field names/values using the value captured by the Data Selector, however the first match is the only one processed. Per the Data Replacer documentation, "LoadComplete will replace only the first match". Is there some other way to accomplish this replacement? Complex Data Correlation Rules LoadComplete is new to me and Regex has always been a nemesis of mine. I'm trying to determine if the below Data Correlation Rule I need is possible, or if I need to create many Data Selectors & Data Replacers, and recreate their values each time a new recording is made. My Scenario has multiple instances of variables which are provided in response bodies using parameter names that do not match the names used in the subsequent requests where this data is used. The "Working With Subexpressions" documentation shows that: -A variable name in the "Find names and extra attributes" section can be set to the to the value of a regex subexpression. So, the ""ClientExchange":"(.*?)"" regex using "$1" would create a variable by the name of "8c2edc663f41c388429277224fa16da3" -That variable can then be used in the "Select from Responses" section using the same ""ClientExchange":"(.*?)"" regex, again using "$1" to set the value of "8c2edc663f41c388429277224fa16da3" to "5q813b9c3e969bc5bfb8f42d80a7bdf4". However, I don't understand how to get the "Replace in requests" section to provide the desired outcome. Example: Use data from ClientExchange parameter from Response Body of request 102: Recorded: "8c2edc663f41c388429277224fa16da3": - Actual string where value is extracted from: "{"ClientExchange":"8c2edc663f41c388429277224fa16da3"}" Simulated: "5q813b9c3e969bc5bfb8f42d80a7bdf4" To replace in TransactionId value in Request Header: Where the Recorded value is: "8c2edc663f41c388429277224fa16da3" With the Simulated value of: "5q813b9c3e969bc5bfb8f42d80a7bdf4" Any recommendations on how to go about creating a Data Correlation Rule that would work in my example scenario? Solved