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;
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/3.0/qtestctl-3.0-linux-x64-full.tgz
4. Extract the package
$ tar -zxf qtestctl-3.0-linux-x64-full.tgz
5. Access to the package
cd qtestctl/
6. Modify the configure file
vim qtest.config
Open the file \qtestctl\qtest.config file, modify following section only
apps = [‘insights’]
...
postgres {
host = '<IP address of Postgres server>'
port = <Postgres port>
auth {
user = ‘postgres’
pass = '<password of postgres user>'
}
db {
qtest = '<qTest Manager database>'
session = '<Sessions database>'
}
}
...
Insights {
//Insights HTTP Port, make sure the port is not being used by other application
httpport = <qTest Insights port>
//Insights Admin Port, make sure the port is not being used by other application
adminport = <qTest Insights admin port>
...
etl {
//path to directory where you installed jsvc on Linux, example: /user/bin/jsvc
jsvc = '<path to jsvc>'
}
}
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
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.
That's it! You now can access qTest Insights via its option in 9box icon
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.