Forum Discussion

Fredrik's avatar
Fredrik
Occasional Contributor
7 years ago

create teststep from groovy created request?

Hi, 

I was creating requests from a groovyscript in SOAPUI Pro. 

example: 

....
WsdlRequest request = operation.addNewRequest("X")
def defaultRequest = operation.createRequest(true)
def xmlHolder = new XmlHolder(defaultRequest)
//modify the xml

request.setRequestContent (xmlHolder.getXml()); 

.....


Now to the question. is it possible to add this new request to a teststep? 

 

Thanks!

1 Reply

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi Fredrik,

     

    I see that you opened a new support case regarding this. We will get back to you in the case as soon as possible.