cancel
Showing results for 
Search instead for 
Did you mean: 

How to re run failed SoapUI 5.3 tests using maven plugin with Java

Highlighted
Occasional Contributor

How to re run failed SoapUI 5.3 tests using maven plugin with Java

We have created a maven Java application to run SoapUI tests using maven plugin 5.3. This project we run in Jenkins for Regression. To re-run the failed tests of SoapUI project after fixing we have to run the Jenkins job again for that project. Jenkins job gets the fixed (updated proejct xml after fix from SVN repository) tests and rerun all the passed and failed tests again.

 

Is there a way to re-run only the failed test in Jenkins?

 

Jenkins job:

  1. Get the updated SoapUI project xml from SVN
  2. Run the tests using a custom jar (plugin)

Plugin:

  1. SoapUI.setSoapUICore(new StandaloneSoapUICore(true));
  2. Create a WSDL project
  3. WsdlTestCaseRunner wsRunner = project.getTestSuiteByName(testSuiteName).getTestCaseByName(testCaseName).run(new PropertiesMap(), false);
1 REPLY 1
Highlighted
Community Hero

Re: How to re run failed SoapUI 5.3 tests using maven plugin with Java

Not sure if this is really related to maven. And no voice in maven.

One of the way is to analyze the test result and disable those tests in the soapui project at the end of the execution of the test. Then re-run the project.

Assuming that each test is independant.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors