Forum Discussion

Pritish_Panda's avatar
Pritish_Panda
Contributor
8 years ago

How to avoid Maven build failed in cases of Soapui Testcases failure

Hi,

Currently I am running my test cases though Jenkins which actually run via maven pom file .

But now what I am facing that if one of my test case get failed due to assertion validation than my maven build also get failed . If I am running automation then definitely few test cases will be passed and few will be failed but I want my Maven build to be success . So What plugins should I add for that ?

2 Replies

  • Hi,

    Do we have any update for this issue ?

    I am facing the same issue and it doesn't look fine when a maven build itself result in failure due to a single test case assertion fail ..

     

    thnks

    • Pritish_Panda's avatar
      Pritish_Panda
      Contributor

      Hi,

       

      While executing your pom file try to use this command 

       

      clean verify -fn -f -Dmaven.test.failure.ignore=true 

       

      Hope this will help you,please let me know you face any issue.