Prepare SAP Solution Manager
You need to have administrator rights in order to take the following preparatory steps.
Set up External Test Tools properties
Tricentis Tosca supports the integration of version 1 and 3 with SAP Solution Manager. Version 1 supports scenarios based on Tosca Commander. Version 3 enables direct execution from SAP Solution Manager and uses the Tosca Server capabilities for distributed execution.
For more information, sign in to SAP Solution Manager and open the Configuration (All Scenarios) tile or open the transaction SOLMAN_SETUP in the SAP GUI. On the left pane, navigate to Test Suite > Test Automation Preparation and select Special Configuration > Configuration, and open Register Test Tool activity documentation under Technical System.
For test tool registration related to server, use the OAuth 2.0 protocol manual.
Parameter |
Value |
---|---|
TOOL NAME |
Name of the program used. Enter the following entry: TRICENTIS TOSCA |
PROG ID |
Enter the following entry: TOSCATESTSUITE.ECATTINTEGRATION |
TOOL DATABASE /EDIT DB |
Applies to WorkspaceKey, which by default is set to TOSCA. |
TOOL RUN DB /Test DB External Tool |
Applies to WorkspaceKey, which by default is set to TOSCA. |
No Password | Select the checkboxes. |
No Database | |
Transfer Log of External Test Tool | |
BPCA Trace Supported | |
No RFC Logon Data | Unselect the checkbox. |
Synchronization Support |
Tricentis Tosca supports version 1 and 3. |
API Endpt. HTTP Dst. |
Enter a name for the API endpoint HTTP destination. Note that this property is enabled when you choose version 3 synchronization support. |
Tok. Endpt. HTTP Dst. |
Enter a name for the token endpoint HTTP destination. Note that this property is enabled when you choose version 3 synchronization support. |
SAP Solution Manager integration version 3 requires defining a HTTP destination to an external test tool. You need two endpoints: authorization and API.
The authorization endpoint enables SAP Solution Manager to authorize itself on Tosca Server as a valid source of requests. The API endpoint is used by SAP Solution Manager to request actions like triggering execution of a Test Package. Further information on how to proceed with setting up the endpoints is available in the Register Test Tool scenario.
Maintain destination for API Endpoint
-
In the SAP application, enter transaction code SM59.
-
In RFC Connections, navigate to HTTP Connections to External Server and select the name of the endpoint.
-
Under Technical Settings, enter the following:
-
Host name and Port number.
For more information on the host name and port name, see Configure Tosca Gateway Service.
-
Path Prefix:
/sap-solution-manager/api/sap-sm-testsuite
.
-
-
Under Logon & Security, select Do not use a user.
Maintain destination for OAuth Token Endpoint
-
In the SAP application, enter transaction code SM59.
-
In RFC Connections, navigate to HTTP Connections to External Server and select the name of the endpoint.
-
Under Technical Settings, enter the following:
-
Host name and Port number.
For more information on the host name and port name, see Configure Tosca Gateway Service.
-
Path Prefix:
/connect/token
.
-
-
Under Logon & Security, select Basic Authentication and enter the following details:
Parameter
Value
User Client ID of the token generated in Tosca Server. Password Client secret of the token generated in Tosca Server.