Service Virtualization

Expand all | Collapse all

How to capture response parameters through LISA INVOKE?

Jump to Best Answer
  • 1.  How to capture response parameters through LISA INVOKE?

    Posted 09-27-2017 07:01 AM

    Through LISA INVOKE I'm externally calling the test case...Is there any way where we can capture the output of that test case in the console?

     

    Right now the console output shows below details

     

    <invokeResult>

    <method name="RunTest">

    <params>

    <param name="testCasePath" value="D:/***/Tests/XXXX.tst"/>

    <param name="configPath" value=""/>

    <param name="callbackKey" value="C064427FA37011E7888400155D247E9B"/>

    <param name="coordName" value="Coordinator"/>

    <param name="stagingDocPath" value="D:/***/Tests/StagingDocs/Run1User1Cycle.stg"/>

    </params>

    </method>

    <status>OK</status>

    <result><status>ENDED</status>

    <reportUrl>https://RB-DV-DPVMLIS03:1507/devtest/#/main/testMonitorTests/overview?testRunId=C09FC503A37011E7B3D500155D247E9B</reportUrl><runId>C09FC503A37011E7B3D500155D247E9B</runId>

    <pass count="1"/>

    <fail count="0"/>

    <abort count="0"/>

    <warning count="0"/>

    <error count="0"/>

    <message>XXXXX_***_******,Run1User1Cycle</message>

    </result>

    </invokeResult>

     

    LISA INVOKE URL:http://10.60.102.22:1505/lisa-invoke/runTest?testCasePath=D:/***/Tests/XXXX.tst&stagingDocPath=D… 

     

     

    I need the executed result in the console,for ex:co-relation id in the response should be displayed.

     

    Please suggest me if there is any solution.

     

    Thanks and Regards

    Akshatha



  • 2.  Re: How to capture response parameters through LISA INVOKE?

    Posted 09-27-2017 09:32 AM

    Hi,  you could run the same command in a  REST Step from the Workstation and capture the step response in a file.  Does that work for you?  or  are you looking for something in the browser itself ?  

     

    Thanks

     

    Shiney 



  • 3.  Re: How to capture response parameters through LISA INVOKE?

    Posted 09-28-2017 01:57 AM

    Hi Shiney,

     

    I'm looking for the response in the browser itself..

     

    Thanks and Regards

    Akshatha



  • 4.  Re: How to capture response parameters through LISA INVOKE?
    Best Answer



  • 5.  Re: How to capture response parameters through LISA INVOKE?

    Posted 09-29-2017 12:05 AM

    Hi Shiney,

     

    Please let me know is there any solution for capturing response in browser?

     

    Thanks and Regards

    Akshatha