Send data via Tricentis Notification Service

Tricentis Notification Service is the data interface between Tricentis Tosca and other applications. It is a vital component if you integrate Tricentis Tosca with qTest or SAP Solution Manager.

Set up Tricentis Notification Service

To set up Tricentis Notification Service, perform the following actions:

  • Prepare the database.

  • Install and configure Tricentis Notification Service.

Prepare the database

Tricentis Notification Service sends data when you checkin. It collects all data, stores it in a database, and then sends it. After sending the data, Tricentis Notification Service deletes the sent data from the database.

This database is not part of the Tricentis Tosca or Tosca Server installation. You need to prepare and host it on your end. The database you prepare must meet the following requirements:

  • It's an MS SQL database.

  • The database user is db_owner.

  • The user has CREATE, ALTER, SELECT, INSERT, UPDATE, and DELETE rights.

You don't need to create database tables. Tricentis Notification Service creates them when it starts for the first time.

Install and configure Tricentis Notification Service

Tricentis Notification Service is a Tricentis Tosca Server feature.

Its setup is part of the Tricentis Tosca Server installation and configuration:

To use Tricentis Notification Service, you must also set up the feature Tricentis Tosca Administration Console.

Enable Tricentis Notification Service

To enable Tricentis Notification Service, follow the steps below:

  1. Open the Tosca Administration Console.

  2. In the Projects Overview, go to the project for which you want to enable Tricentis Notification Service. If you don't have a project yet, create one.

  3. In the Notification Service column of the project, click on Enable.

Enable Tricentis Notification Service

This changes the button from Enable to Disable.

To disable Tricentis Notification Service for the project, click on Disable.

Send data via Tricentis Notification Service

Tricentis Notification Service automatically sends data when you checkin objects.

It tries to send the data 5 times. If the transmission fails at every try, for instance due to timeouts, Tricentis Notification Service deletes this particular data from the database and aborts.

You can specify a different number of tries. To do so, follow the steps below:

  1. Open the appsettings.json file at C:\Program Files (x86)\TRICENTIS\Tosca Server\NotificationService.

  2. Enter a positive integer for the setting RetryCount. The higher the number, the longer the checkin process will take if Notification Service can't send the data.