Hello you all,
With the groovy script, I have this code which I use to create a soap project by importing a wsdl file.
import com.eviware.soapui.impl.wsdl.* import com.eviware.soapui.impl.WsdlInterfaceFactory String projectName = "muProject"
String wsdlFile = "path to wsdl" def currentProject = testRunner.testCase.testSuite.project WsdlProject project = currentProject.getWorkspace().createProject(projectName, new File("C:\\Temp\\" + projectName + ".xml")); def iface=WsdlInterfaceFactory.importWsdl(project, wsdlFile, true)
This works fine.
What I need is doing the same thing with REST services by importing the swegger file.
Is there any library, import, function...etc to do that ?