Forum Discussion

rohitvarsha12's avatar
8 years ago

Report shows pass even though test case is failed


I am trying to run my SOAP UI project from maven so that I can integrate this in Jenkin.


Maven File I am using:


<project xmlns="" xmlns:xsi=""
<!--soapUI project file location-->
<!--output file location-->
<!--junit results file-->


Commands I am using to Run this pom file:


# Run tests and generate .xml reports

mvn com.smartbear.soapui:soapui-maven-plugin:5.1.2:test


# Convert .xml reports into .html report, but without the CSS or images

mvn surefire-report:report-only


# Put the CSS and images where they need to be without the rest of the

# time-consuming stuff

mvn site -DgenerateReports=false


When I executed these 3 commands I can see HTML report is generated( I had only 1 test case in this suite).

But even though one of the assertion in test step failed, it says test case passed.


Also, I made setting to abort execution if test step fails it still executes it from command prompt with above commands. It works fine in Ready API.


Can someone please help me on this?

3 Replies

  • nmrao's avatar
    Champion Level 3
    With the available information, it is impossible to offer any help.
  • redfish4ktc2's avatar
    Super Contributor


    do you have the problem with other soapui project? have you been able to run a soapui project without such an error?


    • rohitvarsha12's avatar

      Yes. For all projects i am getting same issue.


      Can someone please help me to list down steps to configure to run from Jenkin.

      (Note: Please don't point to SOAP UI Documentation -- its not helping at all)