Configure Data Load Frequency After Installation

Overview

This chapter describes how to configure snapshots after the initial installation of Tricentis Analytics.

Tricentis Analytics can only take snapshots of multi-user workspaces.

Tricentis recommends that you create a new local multi-user workspace for the common repository that you want to snapshot. After adding the new multi-user workspace to Tosca Data, do not make any changes to this workspace.

You can schedule your data load frequency for both qTest and Tosca data after installation in the schedulerSection of your Tricentis.Analytics.Scheduling.Scheduler.json file. This file is located at %Tricentis_Home%.

To do so, set your snapShotScheduling to one of the following two options:

  • TimeOfDay

  • Interval

Time of Day

If you select TimeOfDay, Tricentis Analytics takes a snapshot every day. Enter your preferred time into StartHourOfDay and StartMinuteOfDay.

The available options for StartHourOfDay are 0-23. The available options for StartMinuteOfDay are 0-59.

Interval

If you select Interval, Tricentis Analytics takes a snapshot of your workspaces at a specific interval. Enter your preferred interval into IntervalInMinutes.

The minimum value for IntervalInMinutes is 1. The maximum value is 2147483647.

IntervalInMinutes, StartHourOfDay, and StartMinuteOfDay must all have a value entered, even if you are not using that value.

In the example below, the Snapshotter takes a snapshot every 60 minutes.

"Scheduling": {

"Type": "Interval",

"IntervalInMinutes": "60",

"StartHourOfDay": "10",

"StartMinuteOfDay": "0"

},

After adjusting the Tricentis.Analytics.Scheduling.Scheduler.json file, the Tricentis.Analytics.SnapshotScheduler service must be restarted.

Specify Workspaces to Snapshot (For Tosca Users Only)

To see your data in Tricentis Analytics, you need to specify which workspaces Tricentis Analytics should take snapshots of.

To do so, follow the steps below:

  1. Open the file Tricentis.Analytics.Snapshotting.Snapshotter.json, located at C:\Program Files (x86)\TRICENTIS\Tosca Testsuite, which is the default folder.

  2. Add the path of each workspace for which you want to see data in Tricentis Analytics.

    To do so, enter the required workspaces in the Workspaces section, using the syntax below:

To specify the workspaces for Tosca Data and qTest Data, use the syntax below:

"Workspaces": [

{

"Path": "c:\\Tosca_Projects\\Tosca_Workspaces\\_\\_.tws",

"User": "Admin",

"Password": ""

}

],

"QTestProjects": [

{

"SiteUrl": "https://www.example.qtestnet.com",

"CustomerId": "",

"ProjectId": ""

}

]

}

In the example below, Tricentis Analytics snapshots data from Workspace A and Workspace B. The username in both cases is Admin, and the passwords are Password1 and Password2.

"Workspaces": [

{

"Path": "c:\\Tosca_Projects\\Tosca_Workspaces\\WorkspaceA\\Workspace A.tws",

"User": "Admin",

"Password": "Password1"

},

{

"Path": "c:\\Tosca_Projects\\Tosca_Workspaces\\WorkspaceB\\Workspace B.tws",

"User": "Admin",

"Password": "Password2"

}

]

Specify qTest API Endpoint

To see the qTest data in Tricentis Analytics, you also need to specify the qTest API endpoint for your qTest projects.

Note: This process is only for qTest customers who have upgraded Tricentis Analytics. If you performed a new install, this process would have been initiated by installer automatically.

To do so, follow the steps below:

  1. Open the file Tricentis.Analytics.Snapshotting.Snapshotter.json, located at C:\Program Files (x86)\TRICENTIS\Tosca Testsuite,

  2. Add the path for the qTest API Endpoint of your qTest projects you want to see data in Tricentis Analytics.

    To do so, enter the qTest API Endpoint, using the syntax below:

    //..

    "QTest": {

    "Es":"...",

    "Manager": "Input your qTest endpoint here",

    //..

    }

    //..