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, Camel core libraries, and supporting third-party libraries of the Camel component to your local folder, and then add the JAR files to Library Manager.
You can use build tools such as Maven or Gradle to download all the required dependencies for the Camel component following the Apache Camel documentation.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>3.14.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
<version>3.14.2</version>
</dependency>
Procedure
-
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-3.14.2.jar
- commons-net-3.6.jar
-
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 . )
-
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
-
- Select Camel as the application.
- Click Add in the Provider panel to add the provider of the application JAR files.
- Enter a name in the Rename Provider dialog.
- Select the provider by clicking the check box.
-
Click Add in the
Settings panel.
The Select Files To Add window is displayed.
- Open the folder on your computer where you downloaded the files.
-
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.
- Click OK to install the application JAR files and close Library Manager.
Results
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.