The API enables developers to perform actions such as login and run a test in LoadRunner Cloud. The public API is HTTP-based and RESTful. JSON is returned by all API responses.
At the end of each test run, a report is sent by email.
Access the public API help
To access the public API, perform the following steps:
- Click Public API Help to access the full online documentation.
- Enter your LoadRunner Cloud credentials.
- Click an operation to expand its full details.
For each operation, click Try it out to perform the operation using the parameters you’ve specified.
Integrate an application with LoadRunner Cloud
This section describes how to integrate an application with LoadRunner Cloud. You can authenticate with either a username and password, or with API access keys, consisting of a client ID and secret key.
Integrate an application using one of the following methods:
- Invoke the /v1/auth API call with a username and password. The API call returns an access token. Set the LWSSO_COOKIE_KEY cookie to this token value, for example:
Invoke the /v1/auth-client API call with a client id and secret key. The API call returns an OAuth token. Set the Bearer authentication header with the token value, for example:
Authorization: Bearer <token>.
Tip: The client id and secret key can be used to authenticate instead of the LoadRunner Cloud username and password for all on-premises agents, such as on-premises load generators, Git integration, streaming data, and monitors. Unlike passwords which expire every three months, access keys do not expire.