Forum Discussion
Hi,
Check the Set Variable Value Operation - it could help populate the needed part of the request with the extracted values. If this works, you can subsequently use the result in a data replacer.
- kingk4 years agoNew Contributor
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.
Related Content
- 8 years ago
- 8 years ago
- 8 years ago
- 8 years ago
Recent Discussions
- 12 months ago
- 3 years ago
- 3 years ago
- 3 years ago