Starting HCL OneTest API from the command line

You must start HCL OneTest API from the command line by using the hostname and port of the computer on which you installed HCL® AppScan Dynamic Analysis Client when you want HCL® AppScan Dynamic Analysis Client to capture and scan the HTTP traffic from and to HCL OneTest API. After you start HCL OneTest API and run tests, the HTP traffic is scanned by HCL® AppScan Dynamic Analysis Client for security vulnerabilities.

Before you begin

You must have competed the following tasks:
  • Read and complied with the prerequisites described in Prerequisites.
  • Installed HCL® AppScan server or HCL® AppScan Dynamic Analysis Client.
  • Noted the hostname and port used by HCL® AppScan server or HCL® AppScan Dynamic Analysis Client for HCL OneTest API.

Procedure

  1. Open the command line.
  2. Go to the HCL OneTest API installation directory.
  3. Run the following command with the details of the hostname and port of the proxy host of HCL® AppScan Dynamic Analysis Client:

    IntegrationTester -appScanProxyHost <host_name> -appScanProxyPort <port>

    For example, if the hostname of the computer where you installed the HCL® AppScan Dynamic Analysis Client is 127.2.1.0 and the port assigned to the HCL OneTest API application is 64482, the command can be as follows:

    IntegrationTester -appScanProxyHost 127.2.1.0 -appScanProxyPort 64482

Results

You have started HCL OneTest API as an application that HCL® AppScan server or HCL® AppScan Dynamic Analysis Client listens to capture or record HTTP traffic from and to HCL OneTest API.

What to do next

You can run tests in HCL OneTest API that send or receive HTTP traffic. You can then use the method that you set in HCL® AppScan to scan the HTTP traffic and view the scan reports.