Service Virtualization

 View Only
  • 1.  How to change 'Match Style' while create a VS from UI?

    Posted Sep 19, 2019 11:33 PM
    Hi All, @Monika Mehta
    ​How to change Match Style' while create a VS from UI?

    1) I am creating a VS using swagger file from UI and I want to change the Match style from Exact to Operation. Is there a way that I can change this?
    2) I want to creat the above VS using Command Line Interfact. any leads on this approcach?

    Thanks for the support in advance.

    Regards,
    Narasimha.


    ​​


  • 2.  RE: How to change 'Match Style' while create a VS from UI?

    Broadcom Employee
    Posted Sep 20, 2019 08:19 AM
    HI Lingam
                   To my knowledge, this could be achieved from WS only. However lets wait to hear from seasoned folks in the community.

    -Sankar

    ------------------------------
    Sankar Natarajan
    Service Virtualization Product Engineering Team
    Broadcom
    ------------------------------



  • 3.  RE: How to change 'Match Style' while create a VS from UI?

    Posted Sep 22, 2019 11:47 PM
    Hi Narasimha,

    I agree with Sankar, as per my understanding also match-tolerance of a transaction could be changed from a workstation.

    Thanks.

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



  • 4.  RE: How to change 'Match Style' while create a VS from UI?
    Best Answer

    Posted Sep 23, 2019 11:10 PM
    Hi,

    Re. 1) I am creating a VS using swagger file from UI

    Sankar and Vaibhav have confirmed the "supported" approach. However, if there are too many transactions to change in your virtual service image so the workstation would become ineffective then I would look into loading the vsi file into Notepad++ and do a bulk regex-based search and replace. But, not supported, so make sure you have a backup of your vsi should you mess it up.

    Re. 2) I want to creat the above VS using Command Line Interfact.

    Look into using ServiceImageManager.exe
    Use a windows version of "sed" to do a do a bulk regex-based search and replace.



    ------------------------------
    Cheers,
    Danny
    ------------------------------