What does your XPath query look like? And have you tested the response XML
against your XPath externally like via a XPath query/test tool?

On Sat, Nov 5, 2011 at 2:52 AM, jtester <[email protected]> wrote:

> Hi,
>
> I have the following response, i need to extract <transID> and parent
> <txnID>. When i use xpath --> response/transID, my debug sampler fails to
> retrieve data in <txnID>.
>
> I m sure my xpath query is correct,as it works for other elements like if i
> want to extract <fees> , it is extracting correctly. I m not sure wats
> wrong
> it doesnt extract <transID> and <txnID>. Please help
>
> <response>
> <message code="72">
> You requested to transfer NGN 1000.00
> </message>
> <time>05/11/11 16:33</time>
> <fees>0</fees>
> <transID>12</transID>
> <txnID>297</txnID>
> </response>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Using-Xpath-tp4966311p4966311.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to