Service Virtualization

 View Only
Expand all | Collapse all

How to get the "SuiteRunId" as soon as a Test Suite is triggered from the portal or from a command line?

  • 1.  How to get the "SuiteRunId" as soon as a Test Suite is triggered from the portal or from a command line?

    Posted May 31, 2023 02:00 PM

    Use case we are trying to achieve:

    Create test suites in Workstation and it's made available in the portal. We need to execute the test suite from the portal. While triggering the execution, we also need to capture the "SuiteRunId" dynamically, so that we can use it in the Invoke API to get more details about the test suite run. Unfortunately, we couldn't capture the "SuiteRunId" via any event properties. Not sure if there are any ways to handle this.

    Please suggest a solution for this problem.

    Thank you




  • 2.  RE: How to get the "SuiteRunId" as soon as a Test Suite is triggered from the portal or from a command line?

    Broadcom Employee
    Posted Jun 01, 2023 09:41 AM

    Hi Senthil,

    As is DevTest doesn't provide the SuitRunId in a property OOB. See the discussion in the post Filter for latest suite run details in LISA Invoke API.

    You can try creating a test case to capture the SuiteRunId using the Test Invoke API calls and use that test case in your TestSuite as a Teardown test. 

    You can add the Teardown test case in the Test Suite Editor - Base Tab.

    If you want to show what you are trying to do, please open a support case and happy to help you.

    Regards,

    Prema




  • 3.  RE: How to get the "SuiteRunId" as soon as a Test Suite is triggered from the portal or from a command line?

    Posted Jun 02, 2023 01:34 AM

    Hi Senthil,

    You can leverage the API calls to achieve the same.

    Thanks.



    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------