//Get and Parse Response
def response = context.expand(‘${TestStepName#Response}’)
def xmlParser = new XmlParser().parseText(response)
HashMap map = new HashMap()
xmlParser.r.each{
String name = it.attribute("name")
it.c.each{
String value = it.attribute("v")
map.put(name,value)
}
}