Service Virtualization

Expand all | Collapse all

Unix Command Execition in DevTest

Jump to Best Answer
  • 1.  Unix Command Execition in DevTest

    Posted 12-22-2017 04:22 PM

    Could you please let me know how to execute Unix command in DevTest 8.5.0. I have added a step External/Subprocess - > Execute External Command. But I haven't find an option for "Remote using SSH".
    Actually I wanted to enter value in the following parameter

          Host

          Userid

          Password

    And then I wanted to run below Unix command

    grep ***/app/comp/<project>/instances/<invokerId>/logs/message.log | grep <contactKey> | grep "<STSProductCode>xx</STSProductCode>"

     

    Could you please let me know how can I achieve this scenario. Thanks!!!!



  • 2.  Re: Unix Command Execition in DevTest
    Best Answer

    Broadcom Employee
    Posted 12-22-2017 05:22 PM

    Refer to this Communities Post, it may help you, you can get a SSH Utils extension from this post:

    Can we do FTP recording in LISA ? How to create virtual services using FTP ? Is there any protocol like FTP. 



  • 3.  Re: Unix Command Execition in DevTest

    Posted 12-26-2017 02:19 PM

    Hi Marcy,

     

    The link was really useful. I got SSH utils extension from the link. My test is working fine now. Thanks!!!!

     

    Happy New Year!!!