16 years ago
Unable to read specified data from a response
Hello there
I have a problem, when i try to catch the value from field "Foutmelding"
XML response met alle gevonden fouten
i get an empty string back.
I use follow script
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "Valideer Bericht#response" )
def SoapFout = holder.getNodeValue("//Foutmelding")
log.info('Soapfout found : [' + SoapFout + ']')
Please can you tell me what i do wrong? >
Below is the Response:
Status aanlevering record ontbreekt of onjuist
34
159
1
170000000000190003.tekst 2
XML response met alle gevonden fouten
I have a problem, when i try to catch the value from field "Foutmelding"
i get an empty string back.
I use follow script
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "Valideer Bericht#response" )
def SoapFout = holder.getNodeValue("//Foutmelding")
log.info('Soapfout found : [' + SoapFout + ']')
Please can you tell me what i do wrong? >
Below is the Response:
0806