InterContinenta_1
11 years agoOccasional Contributor
[Res] Failed Xpath Assertion is Not showing complete XPath
I am using SOAP UI Pro 4.6.2
I have an Xpath Assertion for Match as shown in the Attached Image.
The Assertion is //ns1:OTA_HotelAvailRS[1]/ns1:POS[1]/ns1:Source[1]/@TerminalID and the Expected Content is DDDYDD
The above assertion is failed as the value from xml response is different than the expected.
The message it shows in SoapUI TestStep is
Match Content of [@TerminalID] FAILED
XPath Contains Comparison Failed, expecting [DDDYDD] actual was [5FBC4A]
Desired is to Print the whole Xpath which includes //ns1:OTA_HotelAvailRS[1]/ns1:POS[1]/ns1:Source[1]/@TerminalID
Please look at the Image attached to this post.
I have an Xpath Assertion for Match as shown in the Attached Image.
The Assertion is //ns1:OTA_HotelAvailRS[1]/ns1:POS[1]/ns1:Source[1]/@TerminalID and the Expected Content is DDDYDD
The above assertion is failed as the value from xml response is different than the expected.
The message it shows in SoapUI TestStep is
Match Content of [@TerminalID] FAILED
XPath Contains Comparison Failed, expecting [DDDYDD] actual was [5FBC4A]
Desired is to Print the whole Xpath which includes //ns1:OTA_HotelAvailRS[1]/ns1:POS[1]/ns1:Source[1]/@TerminalID
Please look at the Image attached to this post.