Forum Discussion
nmrao
10 years agoCommunity Hero
It is possible to set the request dynamically. But there needs to be existing test request of required one should be present as test step.
For eg: how to set a json to a rest test step
https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/SetJsonRequest.groovy
Set dynamic soap request - https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/GenerateDynamicSoapRequest.groovy
For eg: how to set a json to a rest test step
https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/SetJsonRequest.groovy
Set dynamic soap request - https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/GenerateDynamicSoapRequest.groovy