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.

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 <directory path>

    For example, cd root/Downloads/HCL-OneTest-<Product_Name>-Linux-x64-v10.2.0.0.bin

  4. Extract the downloaded file by running the following command:
    unzip <name of the zip file>

    For example, unzip HCL-OneTest-<Product_Name>-Linux-x64-v10.2.0.0.bin.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 install the product in French by running the following command:

    HCL-OneTest-<Product_Name>-Linux-x64-v10.2.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 Language codes
    English en
    Japanese ja
    French fr
    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.