Menu

Insights 1.11.2 Single Server Installation Guide for Linux (non-Docker)

In this guide we'll run you through installing qTest Insights 1.11.2 on a CentOS/Ubuntu Machine

Before you begin

Before you install qTest Insights 1.11.2, make sure following things are done:

  • Your machine needs to satisfy qTest's recommended hardware requirements
  • qTest Manager 8.4.4 has been deployed 
  • qTest Sessions 3.0.9 has been deployed
  • Access to the server where you install qTest Manager's Database, connect to your Manager database and create a schema for Insights.
 $ \connect [qTest_database] 
$ CREATE SCHEMA [insights_schema];

 

Install qTest Insights 1.11.2

1. Execute following command to update and upgrade system packages

 # apt-get update -y && apt-get upgrade -y 

2. Install JSVC tool

 sudo apt-get install jsvc 

3. Download qTest Insights package 

 $ wget https://qasymphony.jfrog.io/qasymphony/libs-release/com/qasymphony/qtestctl-insights/qtestctl-insights-linux-x64.tgz 

4. Extract the package 

 $ tar -zxf qtestctl-linux-x64.tgz 

5. Access to the package 

 cd qtestctl/ 

6. Modify the configure file 

 vim qtest.config 

Followings are instructions on how to modify the qtest.config file


// list of applications
apps = ['insights']

insights {
//HTTP Port of qTest Insights
httpport = 8081
//Admin Port of qTest Insights
adminport = 8007

postgres {
auth {
user = 'postgres'
//Password of user postgres to qTest Manager DB
pass = 'root'
}
}

scheduler {
//Scheduler port, make sure this port is avalable
port = 56982

passKey = 'defaultKey'
//scheduler host (same machine with insights)
server = 'localhost'
}

etl {
//path to directory where you installed jsvc on Linux, please ignore this if you're installing on Windows
jsvc = '/usr/bin/jsvc'

//default period of time etl run to update project module and test cycle, default is 10
cylcleupdateinterval = 10
projectmoduleupdateinterval = 10
}
}

session {
//IP of Sessions' Postgres Database
host = '52.192.91.55'
//Port to Sessions' Postgres Database
port = 5432

postgres {
auth {
user = 'postgres'
//Password of user postgres to qTest Sessions DB
pass = 'root'
}
db {
//Sessions DB
session = 'sessions'
}
}
}

postgres {
//IP of qTest Manager's Postgres DB
host = '52.192.91.56'
//Port to qTest Manager's Postgres DB
port = 5432
auth {
user = 'postgres'
//Password of user postgres to qTest Manager's Postgres DB
pass = 'root'
}
db {
//qTest Manager's DB
qtest = 'qtest'
}
}

/* DO NOT EDIT ANYTHING BELOW THIS LINE */

insights {
version = '1.0'
}
insightsscheduler {
version = '1.0'
}
insightsetl {
version = '1.0'
}

postgres {
url {
qtest = "jdbc:postgresql://${postgres.host}:${postgres.port}/
${postgres.db.qtest}"
}
}

 

7. Install & Start

To make Insights run as a service

 $ ./install

Start

 $ ./qtestctl start

That's everything and you now have qTest Insights being installed and started.

Now, you need to connect it to your qTest Manager, access to your qTest Insights and follow steps in the section "Set up qTest Insights"

Set up qTest Insights

Access your Administration page

adminpage.png

Under System Configuration page, scroll to section MISCELLANEOUS and enter qTest URL into the field qTest server's Domain.

Scroll to Insights section and enter Parameters URL

http://<IP of the machine where you installed qTest Insights>:<Insights port which you've specified in the config file>

Test Connection and save the configuration.

 

insights.png

That's it! You now can access qTest Insights via its option in 9box icon

9boxinsights.png 

NOTE

In order for the Insights Scheduler (it is to send scheduled report to your email) to work properly, make sure that you do configure your Email Server in qTest Manager's System Configuration page.

email.png

 

 

 

 

 

Subscribe To Our Blog
Powered by Zendesk