I have a response in a test-step. The response is attached in the txt file.
As of now, I am not using any specific response map to query this output. However, I could find that the default "query" of iTest gives the following query map.
My question is the following:
I wanted to extract a part of the XPath of the "response".
The following is the line in the response.txt
MIB-2::ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.84 = OctetString: XYZ=2-A-1-L1-1
I wanted to extract "84" from the above line. The line from which "84" has to be extracted has to be queried using "XYZ=2-A-1-L1-1", (i.e) XYZ=2-A-1-L1-1 is known by me and I wanted to use it as a query to extract/parse "84" from the data response.
Is there a way to do this in iTest ??