Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
Something like this:
btw. why do not you set up a test case property, check its value at loadtest teardown and based on its value do some groovy script? you can change value of that property to point what kind of clean up is need.
robert
Something like this:
def testStep = loadTestRunner.loadTest.testCase.testSteps["IsValidEmail"]
def runner = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner(loadTestRunner.loadTest.testCase, null)
def tscontext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext( testStep )
testStep.run( runner, tscontext )
btw. why do not you set up a test case property, check its value at loadtest teardown and based on its value do some groovy script? you can change value of that property to point what kind of clean up is need.
robert