Configuring the Engineering Test Management Agent as a Windows service

If you have installed only HCL DevOps Test Integrations and APIs (Test Integrations and APIs), you might want to set up Engineering Test Management Agent as a Windows service.

Before you begin

You must have configured the Agent.config file in Test Integrations and APIs as an adapter for IBM® Engineering Test Management.

Procedure

  1. Run a command prompt as an administrator from the Test Integrations and APIs installation folder. Install the Engineering Test Management Agent as a Windows service:
    
    prunsrv //IS//OneTestAPIRQMAgent --DisplayName="HCL
                                OneTest API RQM Agent"  --Description="HCL
                                OneTest API RQM Agent"  --Startup=auto --StartImage="C:\Program Files\HCL\DevOpsTestAPI\RQMAgent.exe" --StartPath="C:\Program Files\HCL\DevOpsTestAPI" --StartParams="-c C:\Program Files\HCL\DevOpsTestAPI\config\Agent.config"
                  

    The Java services are started by using the Apache Commons daemon.

  2. Verify that the new Windows service is installed by opening the Services applet in the Control Panel by clicking Start > (All) Programs > Administrative Tools > Services.

    The Windows service name is HCL OneTest API RQM Agent.

  3. Start the service from the Service window.
    Note: You can also change other properties such as the type of startup.

    You can delete the service if you no longer want to run the Engineering Test Management Agent as a Windows service by performing the following action:

    Run a command prompt as an administrator from the Test Integrations and APIs installation folder:
    prunsrv //DS//OneTestAPIRQMAgent