Just so you know, to get Monika's attention use the "@ Mention" and add her name so she will see your query. For example (monika_mehta)
Also, can you upload a scrubbed down version of your information so we can play with it to see what is going on?
Let's assume you have some XML wrapped inside some other information.
An example could be:
{ Data="<?xml version="1.0" encoding="UTF-8"?><SomeXML><StatusRequest><status>PROCESSING</status></StatusRequest></SomeXML>" }
Now, let's assume that you want to extract only the XML from this payload using the Create Property Based on Surrounding Values filter.
Using the above, we configure the Create property based on surrounding values with information to indicate which portions of the payload to ignore and which portions to create a filter from.
The highlighted data at the beginning and end of the payload (e.g., { Data=" and " } ) will be ignored and only the XML will be used to create a property.
1) Create a simple test case.
2) Add a Parse Text as Response step to the test case.
3) Copy/Paste the fragment above and assign it a property key name and click Test. This will set LASTRESPONSE and create a property called fl_rcd.
4) Add the Create Property Based on Surrounding Values filter. It is OK to filter In the LASTRESPONSE or you could also filter in fl_rcd.
5) We need to configure the Filter with indicators on how to extract data and create a new property.
A) Using the cursor, highlight the text at the beginning of the property
B) CLICK the 'Mark that selected text must remain precisely as shown' button.
C) Perform the same action on the " } value at the end of the line. Once these two actions are completed, both exclusions will be highlighted as shown.
D) Select the XML payload and CLICK the 'Mark Selected Text As Allowed to Change' button.
E) Highlight the XML payload again and CLICK the Token Selected will be Stored in a property button.
Enter a Filter Name for the selected content.
The XML will be replaced with the new property using {{ }} notation.
F) Run the Filter and notice the XML is pulled from the payload and set into a property.