Configure the TM-TA link

Overview

The SquashTA server is the execution server for SquashTA automated test projects. In some cases, these automated tests anwser to some requirement defined in SquashTM. The aim of the TA - TM link is to link SquashTA automated test to exigence defined in SquashTM.

The features of the TA - TM link are :

  • Retrieve the list of SquashTA automated tests available in a SquashTA server from SquashTM.

  • Link, in SquashTM, a SquashTA automated test available in a SquashTA server to a Squash TM requirement.

  • From Squash TM, launch the execution of the associated automated test.

  • Retrieve in SquashTM the execution status of the SquashTA automated test.

To do so, on SquashTA side, you need:

Squash TA server configuration

In order to send Execution Status to SquashTM, SquashTA server needs the credentials (login / password ) of the user authorized to send Status update to the SquashTM which has done the request.

To configure SquashTA server go to JENKINS_HOME directory. Edit the conf.properties file, or create it if it not already exists.

In this configuration file, for each SquashTM which are linked to this SquashTA server you have to define two properties : one for the SquashTM user login and one for the SquashTM user password.

  • For the login, the property key is the the SquashTM callbackUrl suffixed with .login (don't forget the dot) and the value is the SquashTM user login

  • For the password, the property key is the the SquashTM callbackUrl suffixed with .password (don't forget the dot) and the value is the SquashTM user password

Here is an example :

# Example, if:

# SquashTM callback URL is http://localhost:8080/squash

# The credentialss (login / password) for the user authorized to update status in the SquashTM are thisTmUserLogin / thisTmUserPassword

# You should define:

# ( /!\ Be careful, the ":" in the callback url should be escaped )

http\://localhost\:8080/squash.login=thisTmUserLogin

http\://localhost\:8080/squash.password=thisTmUserPassword