NK12
8 years agoOccasional Contributor
Not able to capture the DB response in variable
Have created the array and XmlSlurper for capturing db response
def dbvalues=[]
dbsluper.ResultSet.Row.each{
dbvalues.add(it.value)
}
log.info("Db results"+dbvalues)
output:It is giving empty results
I need to compare my json response with db response
My json structure has nearly 200 elements which are non repitive
can you please suggest what is the best way to achieve this
Thanks!!