QMetry BDD Installation Guide (Offline using Docker)

This guide walks you through the installation process of QMetry BDD.Setting up QMetry BDD with your on-premise QMetry Test Management (QTM) installation enables seamless integration of behavior-driven development practices into your testing workflow. With QMetry BDD, you can manage feature files, automate test executions, and streamline collaboration between business and technical teams.

QMetry BDD Installation Options

You can install QMetry BDD on the same server where the QTM Application is installed.

Pre-requisites for the Installation

Before installing QMetry BDD, ensure the following:

  1. QMetry Application should be pre-installed. Refer to QMetry and Reports Installation on Linux - 2 Tier to install the QMetry Application. Follow Steps 1 to 7 (up to Enter Base URL) mentioned in the Install QMetry Application section. Please note that Step 7 is mandatory.

  2. Active MQ server is configured with QTM Application.

  3. All the servers must support the commands: unzip, curl, vim.

  4. Internet access is enabled on all servers to install using docker.

  5. Ensure Proxy servers are not blocking downloads.

  6. Docker installation requires root user access.

  7. Get the QMetry_Linux_Installer.zip file from QMetry Support.

  8. The following should be installed on the server:

    • CentOS, RHEL-7 and RHEL-8

    • Docker Version 20.10.13

    • Docker Compose Version v2.40.3

    • Yum-tools

  9. Make sure that the docker service has been configured on the server to start automatically on reboot of the server.

  10. Required Ports

    Installation

    Ports that need to be enabled and should be available for use

    ActiveMQ Server

    8181 & 61616

Download Docker Images of BDD Server

On an Internet-enabled machine, download the BDD Server Docker image by following these steps:

  1. Run the following command. Next, it will ask for docker's credentials. Enter the credentials. Please contact QMetry Support, if you do not have the credentials.

    docker login
  2. Run the following commands to pull QMetry BDD docker image from the docker repository.

    docker pull qmetry/qmetry:bdd_latest

    The download has started. Wait until it finishes.

  3. Run the following command to confirm the Docker image was downloaded successfully.

    docker images
  4. Run the following command to save the BDD Server Docker image as a .tar file. You can change the file path if needed."

    docker save -o /opt/qtm/qmetrybdd.tar qmetry/qmetry:bdd_latest
  5. Transfer the qmetrybdd.tar file to QMetry BDD Server.

Installing QMetry BDD Server

Get the QMetry_Linux_Installer.zip file from QMetry Support and copy it to the server for BDD installation.

Follow the steps mentioned below.

  1. Copy the QMetry_Linux_Installer.zip installation file to your server and unzip it. Navigate to the directory where these files are saved.

    unzip QMetry_Linux_Installer.zip
    cd QMetry_Linux_Installer
  2. Run the following commands.

    sudo su
    chmod +x install.sh
    ./install.sh
  3. Select Installation Type: Online or Offline

    Options

    Allowed Values

    Default Value

    Recommended Value

    Do you want to make an online installation (Y/N)?

    Y, y, N, n

    Y

    N

  4. Main Installation Menu: Type 6 to initiate QMetry BDD Installation

    QMetry_Upgrade_Menu.png
  5. Enter configuration parameters as requested:

    Prompt

    Description

    Example

    Enter QMetry Database Host IP/DNS Name:

    Host address where QMetry database is running.

    Note: In case of AWS installation enter the private IP of the AWS instance where the QTM Application's database is installed.

    localhost

    Enter QMetry Database Port (3306)

    Database port number.

    3306

    Enter QMetry Database Schema (qmetry)

    Schema name to be used by QMetry BDD.

    qmetry

    Enter QMetry Database UserName (root)

    Database user with necessary rights.

    root

    Enter QMetry Database Password

    Password for the above database user.

    *****

    Enter ActiveMQ Host URL

    Host URL of ActiveMQ messaging service.

    localhost:61616

    Enter ActiveMQ UserName

    Username for ActiveMQ authentication.

    admin

    Enter ActiveMQ Password:

    Password for ActiveMQ user.

    *****

    Please enter full path of .tar file for docker image

    For offline upgrade, mention the directory path of .tar file for docker image.

    /opt/qmetrybdd.tar

  6. Once the installation is complete, execute the following command.

    docker ps

    The following message will be displayed.

    image-20250904-043122.png
  7. Enter the docker credentials provided by the support team.

    The installation may take a while.

  8. Once the installation is complete, execute the following command.

    docker ps
  9. Check for confirmation message - QMetry BDD Installation has been completed successfully.

    image-20250901-063029.png

Get support

For any installation issue, raise a ticket on the Support Portal.

Publication date: