Forum Discussion
mlenosgrande
16 years agoContributor
First thanks for your reply.
I solved it finally more quickly.
Here my solution without 2 lists. Hope it will help others:
I solved it finally more quickly.
Here my solution without 2 lists. Hope it will help others:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
// create holder for last response
def holder = groovyUtils.getXmlHolder( "yourtest step name HERE#Response" )
String [] tab =holder.getNodeValues( "//*:categorie");
for(int i=0;i<tab.length-1;i++){
//verify that the actual is lower or equal than the next one
assert (tab[i].compareToIgnoreCase(tab[i+1])<=0)
}