Forum Discussion

mblel's avatar
mblel
Occasional Contributor
6 years ago

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

  • nmrao's avatar
    nmrao
    Champion Level 3

    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.
    • mblel's avatar
      mblel
      Occasional Contributor

      Hello,

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

      Finally, i used the plugin. 

      Thank you!

      • nmrao's avatar
        nmrao
        Champion Level 3
        Difficult with just "did not work".
        Any ways, you got away with it which is good.

        Plugin? You mean "testrunner" utility?