草庐IT

GetCityWeatherByZIPResult

全部标签

xml - 在 SOAP UI 的测试用例 XPATH 上获取节点时出错

我在玩SOAPUI入门教程时一直卡住了,因为我无法为简单测试生成断言条件。我正在使用XPATH方法测试以下SOAP消息:falseCitycouldnotbefoundinourweatherdata.PleasecontactCDYNEformoreDetails.-1我正在使用以下Xpath表达式:declarenamespacei='http://www.w3.org/2001/XMLSchema-instance';//i:GetCityWeatherByZIPResult[1]/i:Success[1]这是错误:XPathContainsassertionfailedforp