Install ReadyAPI from the Command Line

This page explains how to install ReadyAPI from the command line.

For a typical installation process, see the Installation Guide.

To learn how to install VirtServer, see VirtServer Installation.

Before installation

To run ReadyAPI, your computer must meet certain system requirements.

Also, you will need either a ReadyAPI trial license or a commercial Pro license for one or all ReadyAPI tools (ReadyAPI Test, ReadyAPI Performance, ReadyAPI Virtualization). A Pro license for one of the tools enables the basic functionality of the other ones.

Before the first ReadyAPI run, you need to install a license.

For current ReadyAPI users:

  • If you have an active license of ReadyAPI, you do not need to activate a new license.

  • VirtServer requires a separate license.

Ubuntu prerequisites

Important

If you install ReadyAPI on the Ubuntu operating system, you should run the following command to avoid an error during the installation:

sudo apt-get install fontconfig

Download installer

Visit the ReadyAPI Downloads Center and download the ReadyAPI Linux installer of the desired bitness. This package includes JDK, so you can use it on a machine without installing Java. To install ReadyAPI on a headless machine, follow the instructions below.

To download a package on a headless machine, you can use curl or a similar tool:

Installation steps

The following instruction describes the process of installing ReadyAPI on a headless machine.

  1. Prepare the installation file:

  2. Run the installer with the -c argument:

  3. If ReadyAPI is already installed on your computer, you will be asked whether you want to update the current installation or install the product anew to a different directory.

  4. After the installation is complete, you can run ReadyAPI command-line tools to run tests:

Command-line arguments

Below is a short list of command-line parameters you can use to install ReadyAPI on a headless machine. For the complete list of parameters, see install4j help.

  • -h, -help, or /?: Displays the list of available command-line arguments.

  • -manual: Commands the installer to act as if no JRE has been found and displays the dialog where you can choose a JRE or download one if a JRE has been bundled dynamically. If you locate a JRE, it will be used for the installed tool.

    Important

    You can apply this parameter to Microsoft Windows only.

  • -c: Executes the installer in the console mode, that is, the interaction with the user is performed in the terminal from which the installer was invoked.

  • -q: Executes the installer in the unattended mode, that is, there is no interaction with the user, and the installation is performed automatically with the default values.

  • -g: Executes the installer in the GUI mode.

    Tip

    Use this parameter if you configured the installer default execution mode as the console or unattended one.

  • -console: Displays the installer output, if the installer is executed in the unattended mode and the -console parameter is passed after the -q parameter.

    Tip

    Use this for debugging.

  • -overwrite: Let the installer overwrite the existing file. Only valid if -q is set.

  • -wait [timeout in seconds]: Defines the time to wait before all installed launchers and installer applications, including the updater, shut down. If this does not happen before the timeout expires, the installer exits with an error message. Only valid if -q is set.

  • -dir [directory]: Sets a custom installation directory (absolute or relative) for the unattended installation mode. If the directory is relative, it will be resolved relative to the media type. Only valid if -q is set.

    Note

    Specify the path to the directory in quotes.

  • -splash [title]: Specifies the title of the window with a progress bar that will be shown during the installation in the unattended installation mode. Only valid if -q is set.

Uninstalling on headless machines

To uninstall ReadyAPI from a headless machine, do the following:

See Also

Publication date: