How to set the Outgoing WS- Securtiy configurations in soapui using groovy script -


i need set outgoing ws-security configuration webservice in soapui tool using groovy script.i found below code.

import  com.eviware.soapui.config.outgoingwssconfig;  outgoingwssconfig config; config.setname("test"); config.setusername("test"); config.setpassword("test123"); config.setactor("someendpoint"); config.setmustunderstand(true); 

can me on how assign config particular wsdl project? , let me know if approach correct or there other alternative achieve this?

thanks in advance.


Comments