Test Data Service

Test Data Service is a web-based application that enables you to manage your test data in distributed environments.

Installation

The installation of Tricentis Test Data Service is part of the Tricentis Tosca Server installation. If you perform an unattended installation, make sure to install Tosca Administration Console for authentication in Test Data Service.

For information on supported browser versions and hardware requirements, see the system requirements.

Tosca Commander and Tosca Server must be of the same version to allow communication.

Set up HTTPS configuration for the Test Data Service

You can configure Test Data Service to use HTTPS connections. To do so, follow the steps below:

  1. In Port, enter the port used to address Test Data Service. The default port is 5001.

  2. In Certificate Thumbprint, enter the thumbprint for the SSL certificate. For detailed information on security requirements, see chapter "Security requirements".

  3. In Certificate Location, select the location of the SSL certificate.

  4. In Certificate Store, select the store in which the SSL certificate is located.

Integrate authentication token for the Test Data Service

You can reuse the authentication token provided by the Tricentis User Administration to automate authentication for your Test Data Service TestCases. To do so, follow the steps below:

  1. In the Tricentis Service Configuration, make sure to select the Enable Security check box on the Test Data Service tab under Advanced.

  2. In the Tricentis User Administration, navigate to Tosca Server->User Administration->My Account.

  3. Click Add new to create a token, and copy the value of the token to the clipboard.

  4. In Tosca Commander, create a test configuration parameter (TCP) called AuthenticationAccessKey.

  5. Paste the value of the authentication token to the Value field of the TCP.

  6. In Tosca Commander, enter the IP address of your Tosca Server under Settings->Tricentis Services->ServerEndpointAddress.

    Alternatively, you can create a TCP called ServiceDiscovery, and enter the IP address of the Tosca Server in its Value field.

All your Test Data Service TestCases that use this TCP are able to authenticate without further user interaction.

Access Tricentis Tosca Test Data Service API documentation

Use the following endpoint to access the Tricentis Test Data Service API documentation: http://<ip>:<port>/testdataservice/swagger/index.html.

By default, the documentation for version v2 appears. You can switch to previous versions by clicking the Select a spec drop-down menu in the top-right corner.

Replace <ip> with the IP address of the Tricentis Tosca Server and <port> with the port you entered during the installation of Tricentis Test Data Service.