Forum Discussion
SiKing
13 years agoCommunity Hero
This is rather basic Groovy scripting.
def soapuiProperty = context.expand( '${some#property}' )
def groovyVariable = "D:/SoapUI/TestResults/${soapuiProperty}_response.xml"
File outputFile = new File(groovyVariable.toString()) // need to convert GString to String or this will fail