-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get capture from xml response #493
Comments
I checked xpath on http://xpather.com/ and seems it's should work. |
Hi, I think your XPath query is right and returns effectively a node (as we hint it in the logs). Could you try to use the string XPath function to convert this node to a string ?
So instead of:
Use
We don't convert nodes returned from query because you can also evaluate tests on collections (like If your capture is still not working, could you send the complete XML body? Regards, |
With string I just get empty value
I reduced a little xml body,
|
Full xml response |
Thanks,
Not ideal, we are going to look if we can improve Xml Namespace support. Can you test it with this new xpath expression ? |
Same results as before(empty id). 😢 |
|
This works for me thanks!
|
Yes ! Exactly, I forget the prefixes (and didn't test it) We'll improve the xml namespace support so the capture will (probably) be:
(it is not working now) |
Archlinux, Hurl version:
Example:
test.hurl
But only get Nodeset0, expected value from xml response.
The text was updated successfully, but these errors were encountered: