Hi Rupert,
Thanks for the reply.
Difficulty for me is that i am a complete newbee at groovy and java.
Which means i really don't know which commando i actually miss.
So far i have got this working:
I have 1 project, with a datasource step and a groovy step.
The datasource step will get the variables url and name for me from an excel list.
Up till making the project and the testsuite + testcase, it works fine.
But now i have to add some lines to make the appropiate teststeps for me. The WSDL has several methods included and i need some code to add them all.
I have been googling and trying to get the right syntax, but i cant seem to get the steps made from the wsdl.
-------------------------------------------------------------
import com.eviware.soapui.impl.wsdl.*
import com.eviware.soapui.impl.WsdlInterfaceFactory
import com.eviware.soapui.impl.wsdl.teststeps.*
def url = context.expand( '${Lees wsdl vanuit excel#url}' )
def projectName = context.expand( '${Lees wsdl vanuit excel#naam}' )
def currentProject = testRunner.testCase.testSuite.project
def workspace = testRunner.testCase.testSuite.project.workspace
WsdlProject project = currentProject
.getWorkspace()
.createProject(projectName, new File(projectName + ".xml"))
WsdlInterface iface = WsdlInterfaceFactory.importWsdl(project, url, true )[0]
suite = project.addNewTestSuite("testsuite1")
tc = suite.addNewTestCase ("testcase1")
------------------------------------------------------------------