Set up the SAP Cloud ALM integration
Your team can start performance tests from SAP Cloud ALM and read the results there. To connect the two products, enable the SAP Cloud ALM integration in NeoLoad Web, then copy the connection values into a Tricentis automation provider in SAP Cloud ALM.
Before you start
Before you enable the integration, make sure you have the following:
-
The Admin user role in NeoLoad Web.
-
Permission to create an automation provider in SAP Cloud ALM, which SAP describes in its Test Automation API documentation (opens in new tab).
Enable the integration
To generate the connection values, follow these steps:
-
Go to Settings > Integrations > SAP Cloud ALM.
-
Select Enable integration.
-
Copy each value from Connection details, and save the client secret where you keep your other passwords.
NeoLoad Web shows the client secret only while this panel stays open. If you leave before you copy the secret, you can't recover it, and you have to replace the credentials to get a new one.
You paste each value into the Tricentis automation provider in Landscape Management. Here's what each one does:
|
Value |
What SAP Cloud ALM uses the value for |
|---|---|
|
Root URL |
The address SAP Cloud ALM calls to list your tests, start a run, and read a result. For example: https://neoload-api.saas.neotys.com/sap-calm-testautomation/api/v1 |
|
Token Service URL |
The address SAP Cloud ALM calls to exchange the client ID and client secret for an access token. For example: https://esauth.id.tricentis.com/oauth2/token. Each token stays valid for 15 minutes, so SAP Cloud ALM requests a new one regularly. |
|
Client ID |
Identifies your NeoLoad Web account to the token service. The client ID stays visible in NeoLoad Web, so you can copy it again later. |
|
Client secret |
Proves the request comes from your account. Treat the secret like a password, because anyone who has both values can start tests in your account. |
Disable the integration
When SAP Cloud ALM no longer needs to reach your tests, disable the integration. Go to Settings > Integrations > SAP Cloud ALM, select Disable integration, then select Confirm.
NeoLoad Web deletes the credentials, so SAP Cloud ALM can no longer list your tests, start a run, or read a result. Any access token that SAP Cloud ALM already has stays valid until it expires, so a run can still start in the minutes that follow.
Nothing else changes in NeoLoad Web. Your tests, test results, and access tokens stay as they are.
Replace the credentials
If the client secret leaks, or if nobody saved it, replace the credentials. NeoLoad Web has no separate action to rotate them, so disable the integration, then enable it again.
NeoLoad Web issues a new client ID and a new client secret, and the old pair no longer works. Update the Tricentis automation provider in SAP Cloud ALM with both new values so SAP Cloud ALM can reach your tests again.
Troubleshoot the integration
If SAP Cloud ALM can't run your tests, check the following common issues:
The client ID and client secret in the automation provider no longer match the ones in NeoLoad Web. This happens most often after an admin replaces the credentials and updates only one of the two values in SAP Cloud ALM.
Copy the current client ID from Connection details into the automation provider. If nobody saved the client secret, replace the credentials and update both values in SAP Cloud ALM.
Compare the Root URL and Token Service URL in the automation provider against the values in Connection details. Both must match exactly, including the path at the end of the Root URL.
Either nobody has enabled the integration yet, or your account doesn't have the Admin role. Check Enable the integration, and ask another admin to run the steps if you still can't see the values.
NeoLoad Web has no test design to run. SAP Cloud ALM can create a test and start it, but you still record and design the test in NeoLoad, then upload the project to NeoLoad Web. For the other constraints, check out the integration limits.
SAP Cloud ALM tracks two separate things. The Job Status says how far the run got, so a job status of finished means the run completed. Whether it passed is the result status.
Open the test result in NeoLoad Web and check its Service Level Agreements. A run that completes without a technical error can still miss its performance objectives.
What's next
Now that you have the connection values, here's what to do in SAP Cloud ALM:
-
Register a test automation provider (opens in new tab) to connect the two products, using the values you copied from Connection details.
-
Create an automated test case (opens in new tab) to start your performance tests from SAP Cloud ALM.
Before your team relies on the integration, check out the integration limits.