Hi Tom,
You need to use proper
property expansion syntax in your HTTP/SOAP/REST test request parameter.
Starting from soapUI 2.5 you can embed Groovy snippets inside property expansion syntax, like this:
${=System.currentTimeMillis()}Alternatively, you can have more freedom with your parameter (e.g. add 1000 ms to the previously fetched value) if you set it property from a Groovy script:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
curTime = System.currentTimeMillis() futureTime = curTime + 1000 groovyUtils.setPropertyValue("Properties", "currentTime", curTime.toString())
|
and later use standard format of property expansion. The simplest syntax would be simply:
${currentTime}Cheers!
/Nenad Nikolic a.k.a. Shonzilla