Configuring the RQM Agent as a Windows service

If you have installed only HCL OneTest API, you might want to set up the RQM Agent as a Windows service.

Before you begin

You have configured the Agent.config file in HCL OneTest API as an adapter for IBM® Rational® Quality Manager.

About this task

You can configure the RQM Agent that is included with HCL OneTest API as a Windows service.

Procedure

  1. Run a command prompt as an administrator from the HCL OneTest API installation folder. Install the RQM 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. For more information, see Procrun Documentation.

  2. Verify that the new Windows service is installed. Open 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. You can also change other properties such as the type of startup.
  4. Optional: Delete the service if you no longer want to run the RQM Agent as a Windows service. Run a command prompt as an administrator from the HCL OneTest API installation folder:
    prunsrv //DS//OneTestAPIRQMAgent