Adding Camel component JAR files through Library Manager

Before you can test the technology supported by a Camel component in HCL OneTest API, you must add the Camel component JAR files through Library Manager so that HCL OneTest API can interact with the technology endpoints supported by the Camel component.

Before you begin

You must have completed the tasks in Prerequisites for testing the technology endpoints supported by Camel.

You must have completed reading about Library Manager and the tasks that you can perform, if you are not already familiar with Library Manager. See Working with Library Manager.

About this task

You must download the required JAR files of the Camel component to your local folder, and then add the JAR files to Library Manager.
Important: The following JAR files are shipped along with HCL OneTest API and you need not download these JAR files:
  • slf4j-api-1.7.25.jar
  • slf4j-jdk14-1.7.25.jar

The task for testing the technology of the Camel-FTP component is described as a specific example.

Procedure

  1. Download JAR files for the Camel component to a folder on your computer.
    The JAR files required for the Camel-FTP component are as follows:
    • camel-ftp-2.24.3.jar
    • commons-net-3.6.jar
  2. Start the Library Manager in any of the following methods:
    • In Microsoft Windows, you can start Library Manager from the HCL OneTest program group (default is HCL OneTest > Library Manager (set-up)).

    • Click the LibConfig.exe file in the installation directory of HCL OneTest API.

      For example, the installation directory path can be C:\Program Files\HCL\HCLProducts\API

  3. Select Camel as the application.
  4. Click Add in the Provider panel to add the provider of the application JAR files.
  5. Enter a name in the Rename Provider dialog box.
  6. Select the provider by clicking the check box.
  7. Click Add in the Settings panel.

    The Select Files To Add window is displayed.

  8. Open the folder on your computer where you downloaded the files.
  9. Select the JAR files, and then click Add Files.
    The JAR files that you added are displayed in the Resource column in the Settings panel.
    Note: The JAR files are installed in the directory displayed in the Installation Directory field after you click OK.
  10. Click OK to install the application JAR files and close Library Manager.

Results

The Camel component JAR files are installed in the default installation directory of HCL OneTest API. The installed JAR files enable HCL OneTest API to interact with the technology endpoints supported by the Camel component.

What to do next

  • If HCL OneTest API is already running, you must restart HCL OneTest API.
  • If HCL OneTest API is not running, you must start HCL OneTest API.