Generating a Token for CTM RESTful API Calls

In order to use RESTful API calls with Continuous Testing Manager (CTM), you need to create an access token. The access token is a credential that informs the API that the owner of the token has been authorized to access the API and can perform specific actions.

To generate a token:

  1. Open CTM Swagger UI:

    http://<server>/continuoustestingmanager/swagger

    Where <server> should be replaced by the server name where Worksoft Application Server has been installed.

  2. Click Authorize.

    The Available Authorizations dialog opens.

  3. Enter the following information:

    Field

    Description

    Username

    Enter the CTM user name.

    Password

    Enter the password for the CTM user.

    Client Credentials Location

    Accept the default value Authorization header.

    client_id

    Leave field blank.

    client_secret

    Leave field blank.

  1. Click Authorize.

    A successful authorization screen opens.

  2. Click Close.

    You are now able to access the CTM APIs.

 

Related Topics Link IconRelated Topics