torstenreinhard
17 years agoOccasional Contributor
Build breaks:call of Testrunners main() method internally uses System.exit(..)
Hi,
I´ve tried to use the maven-soapui-pro-plugin or even the com.eviware.soapui.SoapUIProTestCaseRunner directly from an ant-task, the exec-maven-plugin or whatever.
The VM of the Maven build breaks immediately, if the SoapUIProTestCaseRunner terminates, even if there is no error. I´ve used JAD to have a look at the source and found "System.exit(...)" calls in AbstractSoapUIRunner.runFromCommandLine(...) responsible for that.
=> the main Methods should return an int, so internally you have to change some methods from void to boolean or int.
A workaround actually is to subclass the existing Runners and to overwrite runFromCommandLine.
A nightly build that fixes that problem would be very appreciated:-)
Thanx, Torsten
I´ve tried to use the maven-soapui-pro-plugin or even the com.eviware.soapui.SoapUIProTestCaseRunner directly from an ant-task, the exec-maven-plugin or whatever.
The VM of the Maven build breaks immediately, if the SoapUIProTestCaseRunner terminates, even if there is no error. I´ve used JAD to have a look at the source and found "System.exit(...)" calls in AbstractSoapUIRunner.runFromCommandLine(...) responsible for that.
=> the main Methods should return an int, so internally you have to change some methods from void to boolean or int.
A workaround actually is to subclass the existing Runners and to overwrite runFromCommandLine.
A nightly build that fixes that problem would be very appreciated:-)
Thanx, Torsten