I have two WebService(SOAP) Requests. The responses of both web service calls are exactly the same structure-wise. For web service call number 1, it has the following structure,
<data xsi:type="soapenc:string">0</data>
<data xsi:type="soapenc:string">650</data>
For web service call number 2, it has the following structure,
<data xsi:type="soapenc:string">0</data>
<data xsi:type="soapenc:string">10203</data>
Under each of these calls, I have a regular expression extractor. The reference names are different; but everything is defined exactly the same. The extractor has the following definitions.
Apply to: Main Sample Only
Response Field to check: Body
Regular Expression: <data xsi:type="soapenc:string">(\d+?)</data>
Template: $1$
Match No.: 0
For the web service call number 1, the extractor gets the value of 650, which is what I want. But for the web service call number 2, the extractor actually gets the value of 0, which is NOT what I want. What I want to get in the web service call number 2 is 10203. My question is, why is it that the regular expression extractor definitions would return two different results?
Thanks in advance,
Monte