cancel
Showing results for 
Search instead for 
Did you mean: 

Maven build never terminates after running soapui tests

Occasional Contributor

Maven build never terminates after running soapui tests

Hello,

I'm launching a soapui test suite from maven refering to a java class where i specify parameters using com.eviware.soapui.tools.SoapUITestCaseRunner.

Tests run and generate reports but maven build never terminates so i can't have correct jenkins build ...

 

Thank you!

 

3 REPLIES 3
Community Hero

Re: Maven build never terminates after running soapui tests

@mblel,

 

  • Not sure why another runner class is required to execute the tests while there is one already present. I mean you could use SOAPUI_HOME/bin/testrunner script is available which does the job.
  • If you want to desparately use your runner class only, then add "System.exit(0);" as last statement in your main method and see.


Regards,
Rao.
Occasional Contributor

Re: Maven build never terminates after running soapui tests

Hello,

I tried to use exit(0) but it didn't work.

Finally, i used the plugin. 

Thank you!

Community Hero

Re: Maven build never terminates after running soapui tests

Difficult with just "did not work".
Any ways, you got away with it which is good.

Plugin? You mean "testrunner" utility?


Regards,
Rao.