Forum Discussion

MWahlberg's avatar
MWahlberg
Occasional Contributor
12 years ago

[R]Can I run PRO projects with regular SOAPUI-MAVEN plugin

Can I run PRO projects with regular SOAPUI-MAVEN plugin?

Related to that, what features are supported in maven pro plugin that I dont have in the free maven plugin?

/lars

5 Replies

  • MWahlberg's avatar
    MWahlberg
    Occasional Contributor
    Reason im asking is due to this problem: (duplicate test results (junit) in Jenkins/Hudson when using pro plugin:
    viewtopic.php?t=17698

    Since we wont use 3rd party extenstion (soapui-extension), we have no workaround for this.
    Any suggestions of how to workaround this?
  • MWahlberg's avatar
    MWahlberg
    Occasional Contributor
    I tried with the snapshot, but the test reulst duplication persist as defined in
    "duplicate test results (junit) in Jenkins/Hudson when using pro plugin"
    viewtopic.php?t=17698

    The root cause is that SOAPUI produces additional junit format file reports, that causes the duplication.
    In this case the option to turn off the SOAPUI Reports is what is needed. Is that possible?
    If not , can you suggest any other workaround?
    We rely on the Hudson Test results for our CI process, and need the tests top display accurately. Big part of purchasing the pro license is the ability to run CI tests with maven plugin using pro features
  • Hi!

    Yes, it's possible to disable the JUnit reports generation.
    Try adding <junitReport>false</junitReport> to the configuration tag in the SoapUI Pro Maven plugin defined in your pom.xml.

    See: http://www.soapui.org/Test-Automation/maven-2x.html

    We have also created an internal ticket for the duplicated tests results in the standard SoapUI Pro Maven plugin SOAP-1750

    --
    Regards

    Erik
    SmartBear Sweden
  • MWahlberg's avatar
    MWahlberg
    Occasional Contributor
    Thanks for the reply.
    <junitReport>false</junitReport> is not what i want though, since i still wnat to keep the TEST xmls from the SOAPUI test runs. Its the additional "report.xml" (soapui pro report) that causes the duplication, in both surefire report plugin and junit results in hudson.

    The workaround I found was to include only the TEST xmls for inclusion into hudson junit results in the hudson job configuration (freestyle project) using pattern expression

    **/target/surefire-reports/TEST*.xml

    This way the SOAPUI PRO report.xml is not included in result aggregation, and the eliminated the duplications in hudson Test Results
    This does not work for surefire reports (surefire report plugin collects from all *.xml files, and there for cause duplicates), since Ive found no way to make surefire exlude some files when rendering the report.

    Thanks for the ticket, the option to turn off soapui report xml is welcome