soapUI断言,其中值为groovy保留字
我的答复包含以下内容:soapUI断言,其中值为groovy保留字,groovy,soapui,Groovy,Soapui,我的答复包含以下内容: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <project:loginResponse xmlns:project="http://project.somewhere.com/"> <return>34715527grsbN3C
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<project:loginResponse xmlns:project="http://project.somewhere.com/">
<return>34715527grsbN3C</return>
</project:loginResponse>
</env:Body>
</env:Envelope>
如果使用非保留字的变量名,会发生什么情况
ret = holder.getNodeValue( "//return" )
assert ret != null
assert ret.length() > 0
你的错误是什么?在哪条线上?
ret = holder.getNodeValue( "//return" )
assert ret != null
assert ret.length() > 0