Forum Discussion
nmrao
9 years agoCommunity Hero
Are you executing the tests using java (api) or using testrunner ?
- dspasojevic9 years agoOccasional Contributor
Hi - using the Java API.
try { final SoapUIProTestCaseRunner proTestCaseRunner = new SoapUIProTestCaseRunner(); proTestCaseRunner.setEnableUI(false); ... proTestCaseRunner.run(); } finally { SoapUI.shutdown(); }- nmrao9 years agoCommunity HeroNot sure. Never seen "SoapUI.shutdown()" statement.
Any reason for using this?- dspasojevic9 years agoOccasional Contributor
Hi Rao,
I want SoapUI to shutdown after I have finished using it.
When the test case ends, SoapUI is still running (or has left parts of its connection pool running).
I don't really care about how it is done - SoapUI.shutdown() seemed like a reasonable candidate.
What is the correct way to shutdown SoapUI and all the threads it has spawned after the test case ends?
Thanks,
-Dan