Service Virtualization

  • 1.  Executable Batch file to extract running services details from server

    Posted May 10, 2017 02:20 AM

    Hello All,

     

    I want to do some value add i.e. batch file which can fetch all running services details from server?

     

    Is it possible ? If some one has done this already then please help me in this?

     

    Thanks..

     

    Shivam Garg



  • 2.  Re: Executable Batch file to extract running services details from server

    Posted May 10, 2017 08:27 AM

    I think this can be achieve using REST Invoke API however we may need to twist a bit as no direct API call for this in document. 

     

    Please refer link: https://support.ca.com/cadocs/0/CA%20DevTest%20Solutions%208%200-ENU/Bookshelf_Files/Invoke/index.html  

     

    Thanks, 

    Rajesh K Singh



  • 3.  Re: Executable Batch file to extract running services details from server
    Best Answer

    Broadcom Employee
    Posted May 10, 2017 08:38 AM

    More recent versions of DevTest have extended the API calls, and the one to fetch running services details (in DevTest v9 & v10) is 

    /api/Dcm/VSEs


  • 4.  Re: Executable Batch file to extract running services details from server

    Posted May 10, 2017 09:13 AM

    Thanks Rick. 

     

    Yes I do see this .. 

    GEThttp://[host]:[port]/api/Dcm/VSEs/

     

    Shivam you can refer below link for latest API's.  and look for VSE section. 

    https://support.ca.com/cadocs/0/CA%20DevTest%20Solutions%208%200-ENU/Bookshelf_Files/Invoke/index.html 

     

    Hope this helps. 

     

    Thanks,

    Rajesh k Singh



  • 5.  Re: Executable Batch file to extract running services details from server

    Posted Jul 20, 2017 10:28 AM

    Hello Rajesh,

     

    thanks for details. Will try to implement.

     

    Cheers..