Service Virtualization

  • 1.  Automate "Execution Mode" - Portal

    Posted Feb 26, 2018 10:54 AM

    Hi all,

     

    Is there a way to automate the process of changing the "Execution Mode" of a Service on Portal, instead one by one ?

     

     

    I saw on the bookshelf that we can do through "Rest Invoke", but someone knows an alternative way ? Like, for example, batch file, changing parameters on an properties.txt file, or something like that ?

     

    Thanks 
    João Paulo Ramos



  • 2.  Re: Automate "Execution Mode" - Portal
    Best Answer

    Posted Feb 27, 2018 10:16 AM

    Hello Joao,

     

    You can try to use the VSEManager command and the option:

    • --set-exec-mode vs-name --mode [DYNAMIC | VALIDATION | LIVE | TRACK | EFFICIENT | LEARNING | STAND_IN | FAILOVER]

    This option sets the execution mode for the named virtual service in the current environment.

    You can find more details in the link below:

    VSE Manager Command - Manage Virtual Service Environments - DevTest Solutions - 10.1 - CA Technologies Documentation 

     

    Hope it helps.

    Heloisa



  • 3.  Re: Automate "Execution Mode" - Portal

    Posted Feb 27, 2018 01:00 PM

    Hi Heloisa,

     

    Thank you for the fast response. I used the VSE Manager and now it works.

     

    Thank you

    Joao Paulo Ramos