Service Virtualization

  • 1.  CA Lisa Application Test - Integration with Jenkins

    Posted Jan 12, 2016 07:28 PM

    I saw that other CA products have integration with jenkins. Its possible to integrate CA Lisa Application Test with jenkins? Specifically trigger/execute Test Cases with jenkins or programatically and, if possible, to get the results (pass/fail)



  • 2.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Jan 12, 2016 10:55 PM

    CA Lisa comes with Command Line Utility as TestRunner.

    In order to run it from jenkins, Create a batch file providing the Test Suite/ test Case using test Runner and run that batch from Jenkins.

     

    Lemme know if you need exact command to run Test cases using Test Runner.

     

    Regards,

    Monika Mehta



  • 3.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Jan 12, 2016 11:01 PM

    Please share the exact command. And what do i need to install in the jenkins server, do i need to install the workstation?



  • 4.  Re: CA Lisa Application Test - Integration with Jenkins
    Best Answer

    Posted Aug 07, 2017 09:49 AM

    Please refer Jenkins and DevTest Integration using ANT  

    Yes you need to have DevTest installed on Jenkins server.



  • 5.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Aug 07, 2017 08:33 AM

    Hi Monika,

    I have tried the option of running through test runner using .BAT. Is there any implementation happened in Linux version of CA LISA of similar fashion ? , If so can I have the shell script for the same to integrate in Linux version of Jenkins ? 



  • 6.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Aug 07, 2017 09:55 AM

    Please refer. Jenkins and DevTest Integration using ANT  

    I haven't explore the options for Linux version of Jenkins. I will get back to you If I will get any.

     

    Thanks.



  • 7.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Aug 07, 2017 11:59 PM

    Thank you. let me go through the details until you get back on Linux details.



  • 8.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Aug 08, 2017 10:13 AM

    Hi Monika,

     

    I am using ant build to run test cases on jenkins. How can I pass the jenkins string parameters to my DevTest Test case where I can use them as properties. I tried -Dmyproperty = ${abc} but did not work. 



  • 9.  Re: CA Lisa Application Test - Integration with Jenkins

    Posted Aug 09, 2017 01:05 PM

    You need to use Build with parameters and initiate these parameters in the configuration itself.



  • 10.  Re: CA Lisa Application Test - Integration with Jenkins

    Broadcom Employee
    Posted Jan 13, 2016 09:39 PM

    Hi,

     

      Command to use Testrunner is:

     

               TestRunner [-h] [[-r StagingDocument] [-t TestCaseDocument] [-cs CoordinatorServerName]] | [-s TestSuiteDocument] [-m TestRegistryName] [-a]

     

      Other option to run testcase/testsuite from Jenkins server is, to call REST services from Jenkins, which will run testcases and testsuites on LISA server and generates reports in report console.

           For testcase: 

                    http://<server_hostname>:1505/lisa-invoke/runTest?testCasePath=testCasePath&stagingDocPath=stagingDocPath&[configPath=configPath]&[async=true]&[coordName=csName]

                    ex:     http://localhost:1505/lisa-invoke/runTest?testCasePath=examples/Tests/AccountControlMDB.tst&stagingDocPath=examples/StagingDocs/1user1cycle0think.stg

     

           For TestSuite:

                                http://<server_hostname>:1505/lisa-invoke/runSuite?suitePath=suitePath&[configPath=configPath]&[async=true]

     

    Thanks & Regards,

    Srikanth