Project Creation

When creating a new ALM project, it is important to specify correct information about the Tosca environment so that ALM users can link the correct Tosca Test Cases and Execution Lists to corresponding ALM entities. Specifically, each project is setup to point to a specific Tosca Server (configured as a multi-user environment), and a specific Tosca "Workspace" on that server.
The integration allows for various organizational models for connecting ALM to Tosca. The following model is recommended and works well for a large organization with many business units:

Prerequisites

The Integration requires several items to be in place in order to successfully establish communication and control between the two systems:

Recommended Enterprise Organizational Model

The following model attributes are recommended:


The following illustrates a sample organization of ALM Domains/Projects and how they map to Tosca Repositories, via Workspaces on the Tosca Server.

Figure: Sample Project / Workspace Organization
In the diagram above, three ALM Domains are defined. Each Domain has a corresponding Tosca Repository in the Tosca environment. Each ALM project is configured (in the Synchronization Policy file) to access Tosca through a corresponding Workspace, defined on the Tosca Server. The implementation uses the project's Tosca Workspace information, in order to communicate to Tosca, via REST.

High Level Project Creation Steps

  1. Create Tosca Repository, if necessary.
  2. Create Tosca Workspace on the Tosca Server to point to the correct repository.
  3. Create ALM/VERA Project.
  4. Identify elevated Admin level Tosca Account for communicating from ALM to Tosca. Make sure to have the encrypted password to put in the project's Synchronization Policy file.
  5. Update the ALM/VERA project's Synchronization Policy file to fill in information for Server, Workspace, Service Account credentials, and the Tosca Lock/Unlock group names.

Test Execution

A Tosca Remote Agent must be setup to run a test for a specific application. The Remote Agent software communicates with the primary Tosca Server's Distributed Execution service (aka "Dex"). When a Tosca Test Set is executed in ALM/VERA, VERA requests from Dex that a Tosca Execution List is run and to return results to ALM. This is accomplished using Tosca's "CI Client" software, designed to remotely launch tests on command through Dex.

Once a Test Set completes, ALM/VERA runs a report and saves that report to the Test Set. Approvers view the Report to Approve results.