Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

SoapUI (ReadyAPI) testrunner reports



  • Hi,

    I'd like to trigger a test runner (SoapUI REST API testing) after BM completes a deployment. I can set it up where BM start the testrunner by running a command in powershell script. Once the testrunner finishes and generates JUnit-Style reports, is it possible to have BM to interpret the results and send out notifications? What is the best practice solution for this scenario? Sales team at SoapUI suggested we can use JUnit extension for this purpose. I installed it in our BM but not sure what to do with it next. Please advise. Thanks,
    Alex

    Product: BuildMaster
    Version: 4.8.3



  • I think your best bet would be to make a custom extension that runs the test and records the results.

    The junit extension contains the "Execute jUnit Tests" action, which primarily does three things:

    1. execute junit itself
    2. parse the xml-report file
    3. record the test results in BuildMaster

    You've accomplished Step 1 already with your script; I assume, your PowerShell script is just invoking an .exe?

    What you need is Step 2 and 3. You can see these in action here:

    https://github.com/Inedo/bmx-junit/blob/master/JUnitAction.cs#L98

    Another Action to look at is VSTest:

    https://github.com/Inedo/bmx-mstest/blob/master/VsTestUnitTestAction.cs


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation