Configuring the Engineering Test Management Agent as a Windows service

If you have installed only HCL OneTest API, 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 HCL OneTest API as an adapter for IBM® Engineering Test Management.

Procedure

  1. Run a command prompt as an administrator from the HCL OneTest API 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\HCLProducts\API\RQMAgent.exe" --StartPath="C:\Program Files\HCL\HCLProducts\API" --StartParams="-c C:\Program Files\HCL\HCLProducts\API\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 HCL OneTest API installation folder:
    prunsrv //DS//OneTestAPIRQMAgent