Configuring the Engineering Test Management adapter
You must configure the Engineering Test Management adapter to establish a successful connection between HCL OneTest™ UI and Engineering Test Management.
Before you begin
-
You must have the following information:
-
The URL of the Engineering Test Management server.
-
A user credential and valid license to access Engineering Test Management.
-
The user account must be added to the project area that is being accessed by the adapter with write permissions to the project.
-
-
You must have added -Dhptcostconfirm and -DCMDLINE_PORT=999 to the eclipse.ini file before you run a compound test or accelerated functional test that consume VU-Hours from Engineering Test Management.
The eclipse.ini file must be available at the installation directory of HCL OneTest™ UI.
For more information about Engineering Test Management, refer to the IBM Engineering Lifecycle Management documentation.
Procedure
-
Reconfigure the JRE path if you are using Kerberos for authentication:
- Modify the JRE path to use the Oracle Java path as follows in the
eclipse.ini file in the C:\Program Files\HCL\SDP
directory:
Change
-vm jdk/jre/bin/j9vm/jvm.dll
to-vm C:\Program Files\Java\jre1.8.0_331\bin\server\jvm.dll
. - Navigate to the FunctionalTester> RQMAdapter directory in the HCL OneTest™ UI installation directory.
- Replace %RFT_ARG_JRE% with the Oracle Java path on
your system in the following line of the
configureadapter.bat
file:start "" %RFT_ARG_JRE% -classpath %RFT_INSTALL_DIR%\hcl_ft.jar com.rational.test.ft.RQMAdapterConfigure %*.
For example,
start "" "C:\Program Files\Java\jre1.8.0_321\bin\javaw.exe" -classpath %RFT_INSTALL_DIR%\hcl_ft.jar com.rational.test.ft.RQMAdapterConfigure %*
- Modify the JRE path to use the Oracle Java path as follows in the
eclipse.ini file in the C:\Program Files\HCL\SDP
directory:
- Open HCL OneTest™ UI.
- Click .
-
Enter the following information of the Engineering Test Management:
Fields Actions Server URL Enter the URL of Engineering Test Management.
For example, https://<hostname>:<portnumber>/qm
Note: If you rename the Engineering Test Management server, you must perform the following tasks:-
Update the Engineering Test Management server name in the hosts file with a new name.
-
Update the Server URL field with the new name.
- Configure the adapter to point to the new URL.
Adapter name Enter a unique name to identify the Engineering Test Management adapter. The Engineering Test Management adapter uses the name of the computer as the default name of the adapter.
Project area Enter the name of the project area in Engineering Test Management.
-
-
Select one of the following Authentication type from the
drop-down list to connect to Engineering Test Management:
Authentication type Actions Username and Password Perform the following steps:
-
Enter the username associated with Engineering Test Management in the User ID field.
-
Enter the password associated with the username of Engineering Test Management in the Password field.
KERBEROS Click Browse to locate and select the kerberos.ini file in the Configuration File field.
Note: The kerberos.ini file is automatically created when you set up Kerberos.For example, on Windows systems, you can locate the file in the c:\windows\krb5.ini. The file name and the location might change based on the operating systems.
SSLCERT Perform the following steps:
-
Enter the location of the SSL certificate keystore in the Certificate Location filed.
-
Enter the keystore password in the Password field.
Note: The expected format of the keystore is p12. The keystore must contain the client certificate that the adapter uses when you authenticate with Engineering Test Management.SMARTCARD Select a certificate from the drop-down list from the Certificate Selection field. -
- Optional:
Select the Enable Proxy checkbox to connect through a proxy
computer and perform the following steps to enter the Proxy Details
of the computer:
- Enter the hostname of the proxy computer in the Host field.
- Enter the port number of the proxy computer in the Port field.
- Enter the username and password of the proxy computer in the User and Password fields.
- Click Apply and Close to save and close the configuration.
Results
You have configured the details of Engineering Test Management on HCL OneTest™ UI.
What to do next
You must start the adapter either from HCL OneTest™ UI or command-line interface to run Web UI tests.