Installing Agent in the silent mode on Linux

You can install HCL OneTest Performance Agent on different computers to apply load on the server that hosts the application under test or to run multiple Web UI tests. When you want to run the test scripts on any computer, you must install HCL OneTest Performance Agent.

Before you begin

You must have completed the following tasks:

  • Uninstalled the previous version of the product. See Uninstalling Agent in the silent mode on Linux.

  • Installed Konsole on your computer. The Konsole application is required to enable the shortcut icon of the product after installation. You can install Konsole by running the apt-get install konsole command in the terminal.
    Note: You need not install Konsole on the computer that is running RHEL 8 or later.
  • Deleted the installer.properties file generated from the previous installation if you are installing a newer version of the product.

  • Created a properties file that contains the inputs for the installer during the installation process. See Creating the properties file on Linux for HCL OneTest Performance Agent.

  • Verified the software and hardware requirements. See System Requirements.

  • Verified that the following libraries are available on your computer, if you want to install HCL OneTest UI:
    • libnsl.so.1
    • libstdc++.so.6
    • libXp.so.6
    • libgtk-x11-2.0.so.0
    • libXtst.so.6
    • libXt.so.6
    • libstdc++.so.5
    • libXft.so.2
    • libXm.so.4
    Note: For more information on the library dependencies on Linux, refer to Library dependency on Linux.

About this task

You can use the stand-alone installer and the product in your preferred language. The display language of your computer is selected as the preferred language of the stand-alone installer. For example, if the display language of your computer is set as French, then the preferred language of the stand-alone installer is also selected as French.

You can change the language of the stand-alone installer and the product by providing the -l language_code parameter during the installation of the product.

If you decided to configure the agent, later, then you can update the parameter values in the Majordomo.config file. The Majordomo.config file is at the following location:

/HCL/HCLoneTest/Majordomo.config

Note: The SERVER_URL_ALIAS parameter name is shown as a slug in the Majordomo.config file.

Procedure

  1. Download the product installer from the HCL® License & Delivery portal.

    You must download the appropriate product variant, version, and architecture based on your requirements.

  2. Open the terminal and log in as a root user.
  3. Run the following command to change the directory to a location where you downloaded the installer file:
    cd <path of the downloaded folder>

    For example, cd Downloads/

  4. Run the following command to extract the downloaded zip file:
    unzip <product package name>

    For example, unzip HCL-OneTest-Performance-Agent-Linux-x64-v10.1.0.0.zip

  5. Run the following command to install the product:
    <installer_name> -i silent -l <language_code> -f <location_of_the_installer.properties_file_name>

    For example, you can run the following command to install HCL OneTest Performance Agent 10.2.0 in French:

    HCL-OneTest-Performance-Agent-Linux-x64-v10.2.0.0.bin -i silent -l fr -f /root/Downloads/installer.properties

    The following table lists the language codes that you might want to choose during the installation:
    Languages Chinese (Simplified) Chinese (Traditional) Czech English French German Hungarian Italian Japanese Korean Polish Portuguese (Brazil) Russian Spanish Turkish
    Language codes zh_CN zh_TW cz en fr de hu it ja ko pl pt_BR ru es tr
    Notes:
    • The -l parameter is optional. If you do not want to use this parameter, then the following information are displayed in a language based on the display language that is set on your computer:
      • The installation instructions

      • The language of the product

    • If the installation is terminated due to any reason, you must check the Installerror.txt file to know more about the problem that occurred during the installation process. The error log is located at /<installation directory>/Logs.

    You can verify the status of the installation of the product by checking the log file at /<installation directory>/Logs.

Results

You have installed the product on your computer.