Forum Discussion
akacodemonkey
12 years agoNew Contributor
followed that through with no luck. I'm assuming that somehow the xpath is not being evaluated correctly, although it works fine when tested outside SOAPUI. The property is being populated correctly, its the assignment in the request that is failing. If I remove the xpath from the command it will dump out the entire message into the request.
e.g.
${#TestCase#CustomerDetails} - will insert the contents of the response in the request
${#TestCase#CustomerDetails#//s:Envelope/s:Body/GetCustomersResponse/GetCustomersResult/a:CustomerDetails/a:Customers[1]/a:CustomerDto/a:DateOfBirth/text()} returns nothing.
e.g.
${#TestCase#CustomerDetails} - will insert the contents of the response in the request
${#TestCase#CustomerDetails#//s:Envelope/s:Body/GetCustomersResponse/GetCustomersResult/a:CustomerDetails/a:Customers[1]/a:CustomerDto/a:DateOfBirth/text()} returns nothing.