Forum Discussion
kamahade
16 years agoRegular Contributor
so much dump I'm...
for rest of the world.... this would be a sample code to run SOAPUI outside SOAPUI GUI through Groovy..
THANKS ton to support team.... you were really patience enough to help me !!!
for rest of the world.... this would be a sample code to run SOAPUI outside SOAPUI GUI through Groovy..
import com.eviware.soapui.SoapUIProTestCaseRunner;
import com.eviware.soapui.support.*;
import com.eviware.soapui.model.*;
import com.eviware.soapui.impl.wsdl.*;
import com.eviware.soapui.*;
class trial
{
public static void main( String[] args ) {
def t = new trial();
t.somemethod();
}
def somemethod(){
def myrunner = new com.eviware.soapui.SoapUIProTestCaseRunner();
myrunner.setProjectFile("D:\\soapui-release-B\\try.xml");
myrunner.setTestSuite("MediaAssetServiceTestSuite");
myrunner.setTestCase("getMediaAsset TestCase");
myrunner.run();
}
}
THANKS ton to support team.... you were really patience enough to help me !!!