Service Virtualization

 View Only
  • 1.  ServiceImageManager isnt generating VSM File

    Posted May 28, 2020 10:09 AM
    Hi All,

    When i ran the below command from Command Prompt, VSI file is generated but VSM file is not getting generated, Could someone help me out with this issue. 

    ServiceImageManager -v C:\Users\avinash.panditi\Desktop\VRS\POST.vrs -s C:\Users\avinash.panditi\Desktop\VRS\POSTVRS.vsi -m C:\Users\avinash.panditi\Desktop\VRS\POSTVRS.vsm

    Thanks & Regards,
    Avinash Panditi.

    ------------------------------
    Technical Test Lead
    Infosys
    ------------------------------


  • 2.  RE: ServiceImageManager isnt generating VSM File

    Broadcom Employee
    Posted May 28, 2020 11:11 AM
    Hi Avinash,

    Try using VSM/VSI path to any DevTest project. You can use DevTest_Home/examples project or one of the projects DevTest_Home/Projects folder or your specific project.
    For example, C:\DevTest_Home/examples/VirtuaServices/Images/POSTVRS.vsi ,  C:\DevTest_Home/examples/VirtuaServices/POSTVRS.vsm...

    -Prema


  • 3.  RE: ServiceImageManager isnt generating VSM File
    Best Answer

    Posted May 28, 2020 11:46 AM
    Edited by Christopher Hackett May 29, 2020 04:11 PM
    Hi Avinash,

    You have to use additional params with above command like import/record/vrs etc. For VSM, you have to give location of an existing LISA project otherwise you will get a "java.lang.RuntimeException:".

    Example:

    ServiceImageManager.exe -i D:\CA\DevTest\Projects\LISA_Demo_Vaibhav\recording.xml -v D:\Vaibhav_SV\Demo\recrding.vrs -s D:\CA\DevTest\Projects\LISA_Demo_Vaibhav\VirtualServices\vjtest.vsi -m D:\CA\DevTest\Projects\LISA_Demo_Vaibhav\VirtualServices\vjtest.vsm -C D:\Vaibhav_SV\Demo\project.config

    where D:\CA\DevTest\Projects\LISA_Demo_Vaibhav\ is my DevTest Project

    Thanks

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



  • 4.  RE: ServiceImageManager isnt generating VSM File

    Posted Jun 01, 2020 11:54 AM
    Hi Vaibhav,

    Thanks for the reply. As you said i tried and both VSI and VSM are created. 

    Regards,
    Avinash Panditi.

    ------------------------------
    Technical Test Lead
    Infosys
    ------------------------------



  • 5.  RE: ServiceImageManager isnt generating VSM File

    Posted Jun 01, 2020 01:29 PM
    Cheers.

    Thanks for the update.

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