Release Automation

 View Only
  • 1.  Running SOAP UI Test Cases -

    Posted Jun 01, 2017 07:55 AM

    Running SOAP UI Test Cases -

     

    Did anyone integrated CA RA to run SOAP UI test cases for a specific application?

    If yes, can you share more details? Thanks -



  • 2.  Re: Running SOAP UI Test Cases -

    Broadcom Employee
    Posted Jun 02, 2017 01:06 PM

    That's a bit of a broad question -- I don't have any examples handy, but is there anything specific that you're having trouble with?



  • 3.  Re: Running SOAP UI Test Cases -

    Posted Jun 05, 2017 06:53 AM

    Hi James,

     

    I mean to say, running Test Cases from SOAP UI client. See below screenshots:

     



  • 4.  Re: Running SOAP UI Test Cases -

    Broadcom Employee
    Posted Jun 06, 2017 01:27 PM

    So you're looking for a more or less general idea of where to get started?  I can definitely help with that!

     

    Let's start with an easy example: let's use SoapUI to retrieve a list of all applications. First, we know from product documentation here that there's a "getAllApplications" call we can make to retrieve such a list.  I installed SoapUI on a local lab environment for this example. With that in mind, I was able to setup this request, which I pointed to "http://localhost:8080/datamanagement/ws/OpenAPIService":

     

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mod="http://model.api.dataservices.server.platform.nolio.com/">
       <soap:Header/>
       <soap:Body>
          <mod:getAllApplications>
             <!--Optional:-->
             <mod:username>superuser</mod:username>
             <!--Optional:-->
             <mod:password>suser</mod:password>
           </mod:getAllApplications>
       </soap:Body>

    </soap:Envelope>

     

    The NAC responded my providing a list of all applications I have created on it. Does this example help answer your question?



  • 5.  Re: Running SOAP UI Test Cases -

    Broadcom Employee
    Posted Jun 12, 2017 07:18 AM

    Hi

    Did the answer from James  answered your question? If it did please mark it as the right answer.
    When your question is not answered or you still have additional questions please let us know.

    With Kind Regards

    Dirk



  • 6.  Re: Running SOAP UI Test Cases -

    Broadcom Employee
    Posted Jun 16, 2017 01:27 PM

    We haven't heard back from you in a long time -- Did the example I provided help sort things out for you?



  • 7.  Re: Running SOAP UI Test Cases -
    Best Answer

    Posted Jun 17, 2017 03:09 AM

    Thanks James/Dirk,

     

    Another way to run SOAP UI test cases is via Command Line options!

    Running SoapUI TestRunner for [ScaleIOFlexibleActivation]
    directory: C:\Program Files\SmartBear\SoapUI-5.2.1\bin\.
    command: cmd.exe /C testrunner.bat -e https://scaleIOActivationService.cf.isus.emc.com -s AuthorizedUser -r C:\Users\rathnr\Downloads\ScaleIOFlexibleActivation-soapui-project.xml
    Configuring log4j from [C:\Program Files\SmartBear\SoapUI-5.2.1\bin\soapui-log4j.xml]

     

    This is something can be used via CA RA actions to invoke REST/SOAP test cases uploaded in SOAP UI utilities.

    Output can be taken to a string to validate success or failure of each case, which can be used for sending notifications to app developers.

     

    Let me know if you have any questions.