Prepare SAP Solution Manager
Before you launch the SAP Solution Manager integration, set up the test properties in SAP Solution Manager.
Note that you need administrator rights to perform these steps.
Set up External Test Tools properties
Tosca Cloud supports the integration with SAP Solution Manager version 1 and 3:
-
Version 1 supports scenarios based on Tosca on-prem.
-
Version 3 supports direct test execution from SAP Solution Manager.
To use SAP Solution Manager version 3, you need to set up an HTTP connection to an external test tool. This includes 2 parts: the authorization (oAuth token) to trust SAP Solution Manager and the API endpoint to request actions such as triggering a Test Package.
To define the destination of the API endpoint, follow these steps:
-
In the SAP application, enter the transaction code SM59.
-
In RFC Connections, go to HTTP Connections to External Server and select the name of the endpoint.
-
In Technical Settings, enter the following:
-
Host name: your Tosca Cloud URL.
-
Port number.
-
Path Prefix value /default/_sap-integration/sap-solman/api.
-
-
In Logon & Security, select Do not use a user.
To define the destination of the OAuth token endpoint, follow these steps:
-
Get a client ID and client secret for the application Solman Integration API.
-
In the SAP application, enter transaction code SM59.
-
In RFC Connections, go to HTTP Connections to External Server and select the name of the endpoint.
-
In Technical Settings, enter the following:
-
Host name and Port number. To access this information, go to Tosca Cloud> User menu > User profile > Edit profile in Okta. This opens Okta in a new tab. The host value is the part of the URL that ends with .com.
-
Path Prefix value /oauth/default/v1/token.
-
-
In Logon & Security, select Basic Authentication and enter these details:
Parameter
Value
User
Client ID
Password
Client secret
For more information about set up an HTTP connection to an external test tool, sign in to SAP Solution Manager and open Configuration (All Scenarios) or open the transaction SOLMAN_SETUP in the SAP GUI. Go to Test Suite > Test Automation Preparation, select Special Configuration > Configuration, and open the Register Test Tool activity documentation.
Configure the properties of external test tools in SAP Solution Manager version 1 or 3, by setting up the following parameters in your SAP interface.
|
Parameter |
Value |
|---|---|
|
TOOL NAME |
TRICENTIS TOSCA |
|
PROG ID |
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 |
Tosca Cloud supports version 1 and 3. |
|
API Endpt. HTTP Dst. |
Enter the 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 the name for the token endpoint HTTP destination. Note that this property is enabled when you choose version 3 synchronization support. |
For the test tool registration related to server, use the OAuth 2.0 protocol manual.