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
- 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
-
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
-
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 box.
- 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.