Forum Discussion

Umesh1806's avatar
Umesh1806
New Contributor
8 years ago

Any plugins to reflect SOAPUI results on Jenkins icon?

I've integrated SOAPUI with Jenkins and am able to successfully run the test case using a batch file.. But I wish the jenkins icon reflect the same result what SOAPUI has got..

 

 

Say if there's a failure in SOAPUI execution, jenkins would still display SUCCESS icon as there were no build failure.. But I want jenkins icon to display a failure whenever there's failure in SOAPUI.

Any leads would be really helpful..

  • 05ten's avatar
    05ten
    Contributor
    If you use the soapui-maven-plugin you can enable the setting to produce JUnit reports from the soapui test, its most likely possible to do from the test runner aswell but I don't know the arguments, it's in the gui though. Jenkins understands JUnit reports and would mark the build unstable if there are any test failures.

    And make sure you use assertions of course, not really a test otherwise! :)

    https://www.soapui.org/reporting/generating-html-reports.html
    • Umesh1806's avatar
      Umesh1806
      New Contributor

      Thanks nmrao.. 

       

      But any work around to achieve the same?

      • nmrao's avatar
        nmrao
        Champion Level 3
        What command are you using in jenkins? ant / maven / testrunner to execute the project?

        Jenkins job is to execute the command and it is done successfully. Why do you want to make it fail?