This document give the option to use DevTest features as a monitoring tool for DevTest services.
You faced an issue where some services stopped suddenly (Coordinator, Simulator, etc.) and were not be aware they were no longer running. You have had to log in to the server machines and manually check the services to see the issue. You would like to set up a monitoring tool or Test case where they can get the notification when the services are down.
All Supported DevTest releases and platforms
There are a couple of Options within the DevTest tool that can be used.
This utility lets you perform various actions on a Registry, Coordinator, Simulator, or VSE server. The ServiceManager is included under the DevTest_Home/bin folder.
Follow the below steps for REST Invoke API
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CoordinatorServerList xmlns="http://www.ca.com/lisa/invoke/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ca.com/lisa/invoke/v2.0 CoordinatorServerList.xsd" href="http://localhost:1505/api/Dcm/CoordinatorServers" type="application/vnd.ca.lisaInvoke.coordinatorServerList+xml"><CoordinatorServer name="Coordinator" href="http://localhost:1505/api/Dcm/CoordinatorServers/Coordinator" type="application/vnd.ca.lisaInvoke.coordinatorServer+xml"><ConsoleURL>http://localhost:1505</ConsoleURL><HostAddress>[HOSTNAME]</HostAddress><Status>OK: 0 Coordinators running. Memory used 174mb, allocated 242mb, max 683mb (25%) Our cpu usage 0%, system cpu used 11%</Status><TestList href="http://localhost:1505/api/Dcm/CoordinatorServers/Coordinator/Tests" type="application/vnd.ca.lisaInvoke.testList+xml"/><Link href="http://localhost:1505/api/Dcm/CoordinatorServers/Coordinator/actions" rel="actions"/><Link href="http://localhost:1505/api/Dcm/CoordinatorServers/Coordinator/actions/deployMar" rel="deployMar"/></CoordinatorServer></CoordinatorServerList>
Look under "REST Invoke API " and "Use the ServiceManager" sections of our documentations for reference.