Forum Discussion
M_McDonald
14 years agoSuper Contributor
Sure, you can do it with a Groovy step:
Assuming 3 strings returned you will get
[tt:2vmbmkup]Response 1,Response 2,Response 3[/tt:2vmbmkup]
groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
holder = groovyUtils.getXmlHolder(context.expand( '${Test Request#Response}' ))
return holder.getNodeValues("//Response/Message/string").join(",")
Assuming 3 strings returned you will get
[tt:2vmbmkup]Response 1,Response 2,Response 3[/tt:2vmbmkup]