jaysmith
12 years agoNew Contributor
Soapui lib run from an app won't stop
Hi,
I'm trying to run a test case using the soapui-4.5.1 lib run from a java application. I have the following code:
WsdlProject project = new WsdlProject("path/projectName-soapui-project.xml");
WsdlTestSuite testSuite = project.getTestSuiteByName("TestSuite");
WsdlTestCase testCase = testSuite.getTestCaseByName("TestClass");
TestCaseRunner runner = new WsdlTestCaseRunner(testCase, new StringToObjectMap());
runner.start(false);
The test case runs successfully, but on completion the thread hangs and won't end. What am I missing here? I've tried using release() on all levels and that doesn't work.
Thanks,
Jason
I'm trying to run a test case using the soapui-4.5.1 lib run from a java application. I have the following code:
WsdlProject project = new WsdlProject("path/projectName-soapui-project.xml");
WsdlTestSuite testSuite = project.getTestSuiteByName("TestSuite");
WsdlTestCase testCase = testSuite.getTestCaseByName("TestClass");
TestCaseRunner runner = new WsdlTestCaseRunner(testCase, new StringToObjectMap());
runner.start(false);
The test case runs successfully, but on completion the thread hangs and won't end. What am I missing here? I've tried using release() on all levels and that doesn't work.
Thanks,
Jason