Forum Discussion
Jack21Z
12 years agoOccasional Contributor
Thanks Rao,
I figured it out!!!
groovy Scipt:
PropertyTransfer Test Step:
Transfer the value from groovy -> soap request
SOAP request
Regards,
Jack
I figured it out!!!
groovy Scipt:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
def timed = System.currentTimeMillis()
def myGeneratedValue = 'test_'+timed
return myGeneratedValue
PropertyTransfer Test Step:
Source: Groovy Script Property: result
Target: SOAP request Property: Request
Transfer the value from groovy -> soap request
SOAP request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<Reference>"value from groovy script"</Reference>
</soapenv:Body>
</soapenv:Envelope>
Regards,
Jack
Related Content
- 10 months ago
- 6 years ago
- 2 years ago
- 9 years ago
Recent Discussions
- 2 days ago
- 2 days ago