cancel
Showing results for 
Search instead for 
Did you mean: 

Maven Build results in failure when the assertion fail

SOLVED
Contributor

Maven Build results in failure when the assertion fail

Hi ,

 

I am running my tests using the soapui-maven plugin version - 5.2.1

I am with the free version of soapui

I have delibrately added an assertion in my request present in the test case

Observed that when this assertion fails, it results in making the maven build as 'Failure'

The maven build sould become Success here , tough there is a test case failure due to assertion failure

Is it a known issue , can any one provide some lights here ..

 

POM file is attached here

 

Thanks & Warm Regards

Musaffir

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Maven Build results in failure when the assertion fail

Adding the following to the POM file ignore the assertion fail and the build will not result in Failure.

The assertion fail can be captured in the test report....

 

<configuration>
<testFailIgnore>true</testFailIgnore>
</configuration>

1 REPLY 1
Contributor

Re: Maven Build results in failure when the assertion fail

Adding the following to the POM file ignore the assertion fail and the build will not result in Failure.

The assertion fail can be captured in the test report....

 

<configuration>
<testFailIgnore>true</testFailIgnore>
</configuration>

New Here?
Join us and watch the welcome video:
Watch the new interview