Forum Discussion

sven1's avatar
sven1
New Member
5 years ago

Property transfer from an html response

I have a test step of type http request and want now to extract from the resulting response
an html value.

Therefore I have created another test step of type "Property Transfer" which contains an XPATH query
that I have tested with another tool, so the XPath is ok.
Furthermore I have validated the html response which also seems to be valid xml (although the document starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> which is an unclosed tag)

So, my question is: Is it possible to do a a property transfer from an html response using xpath?

1 Reply

  • Yes, you should be able to. I'm able to using ReadyAPI 3.0.0 and its SoapUI Pro module. It's my limited understanding that, in the background, SoapUI makes available HTML content in a useable form of XML I briefly tried to locate the Smartbear website where it lightly mentions this. I hope this helps and someone is able to descriibe SoapUI Pro's treatment of HTML in more detail.