Optimizing the use of execution adapters

You can optimize the use of execution adapters by setting preferences to assign adapters based on adapter load. The preferences are disabled by default. The adapter load is set by using the estimated time required to execute all assigned tasks to an adapter.

Before you begin

You must be an administrator of the project area or have JazzAdmins or JazzProjectAdmins repository group permissions.

About this task

Consider an example that optimizes the use of execution adapters. In the example, four test cases utilize two adapters. Test case 1 and test case 3 each require 1 minute to complete and test case 2 and test case 4 each require 5 seconds to complete. At the start, adapter 1 is assigned to test case 1, which completes in 1 minute. Adapter 2 is assigned to test case 2, which completes in 5 seconds. Adapter 2 is then assigned to test case 3, which completes in 1 minute. Adapter 1 is free after 1 minute, so it is then assigned to test case 4, which completes in 5 seconds.

Procedure

  1. In the banner, click the Administration icon and select Manage Project Properties.
  2. On the Manager Project Properties page, click Automated Test Preferences.
  3. To optimize the use of execution adapters, select the Select the adapter for an automated test case execution based on estimate of the associated automated test case execution record and work allocated to the adapter check box. By selecting this check box, the child check boxes are automatically selected.
    • After an automated test case execution has passed, set the estimate of the associated automated test case execution record with the total run time of the test case result.
    • After an automated test case execution is created, set the estimate of a new automated test case execution record with the total run time of the last passed test case result for the test case and test script combination.
    Note: The total run time of the current result is used as an estimate for a test case execution record (TCER) if the execution is passed. A passed result provides a more accurate run time estimate than a failed result.