lsmadeux
9 years agoOccasional Contributor
XPathContains assertion failt for path
Good Morning,
I am trying validate a piece of data. I am using the "XPath Match" method.
In my Declare section, I have:
Response/items/e/currentValue/data
In my expected section I have:
2
I receive the correct data back, but the Match does not validate properly.
I am relatively new to SoapUI, so I looked online and saw similar problems. But this seems different, and I am not sure what to make of it.
Thanks for your help...
Try below "XPath Match" assertion :
XPath Expression :
declare namespace ns1='https://daamachines.riptideio.com/ws/DataStream/00000000-00000000-00600CFF-FF816F55/BN/AO/ctBypassVlvPosSp/Present_Value/';
//ns1:Response/ns1:items/ns1:e/ns1:currentValue/ns1:data/text()Expected Result:
2