So I've implemented this like below but when I run it, nothing happens, it's just constantly 'running'...
def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
import com.eviware.soapui.support.XmlHolder
import groovy.json.*
import groovy.xml.*
def responseJSON = testRunner.testCase.testSteps["Retrieve case data from GW"].testRequest.response.responseContent
def response = new JsonSlurper().parseText(responseJSON)
def responseXML = new XmlHolder (testRunner.testCase.testSteps["Retrieve household data from staging"].testRequest.response.responseContent)
def results = new XmlSlurper().parseText(responseXML)
def stagingMap = [:]
results.ResultSet.Row.each {
map[it.EXPENDITUREAMOUNT] = it.EXPENDITURETYPE }
Nothing gets output from log.info as it appears to be just constantly running.