mkaplan
13 years agoOccasional Contributor
ResponseAsXml - Missing match for source XPath
Hi everyone,
In my Test Steps, I have a JDBC request that returns an Xml hierarchy: <Results><ResultSet><Row><Property1></Property1><Property2></Property2></Row></ResultSet></Results>. Now my next step is to store the value of "Property1" in a Property using property transfer. I select my JDBC request as the source and "ResponseAsXml" as the Property. My problem is that I don't know what the namespace is. I tried the namespace of my WSLD and that didn't work. Any help is appreciated.
Thanks,
Michael
---EDIT---
I figured out the answer to my question. You don't need a namespace, just declare the property in the text field below "Source" and "Property" aka "//Property". Guess I thought too much about it. My second question stills stands though, I don't get why the response is different depending on whether I run it in a Test Step or individually.
Thanks,
Michael
In my Test Steps, I have a JDBC request that returns an Xml hierarchy: <Results><ResultSet><Row><Property1></Property1><Property2></Property2></Row></ResultSet></Results>. Now my next step is to store the value of "Property1" in a Property using property transfer. I select my JDBC request as the source and "ResponseAsXml" as the Property. My problem is that I don't know what the namespace is. I tried the namespace of my WSLD and that didn't work. Any help is appreciated.
Thanks,
Michael
---EDIT---
I figured out the answer to my question. You don't need a namespace, just declare the property in the text field below "Source" and "Property" aka "//Property". Guess I thought too much about it. My second question stills stands though, I don't get why the response is different depending on whether I run it in a Test Step or individually.
Thanks,
Michael