Integration with UrbanCode Deploy

With the development team adopting a continuous delivery model, the testing team needs to follow a stringent timeline. Integrating UrbanCode Deploy with your product automates the test execution process. If you have many tests to run at regular intervals automatically, you can use UrbanCode Deploy to initiate test execution.

Before you begin

You must have completed the following tasks:
  • Installed HCL OneTest Performance and UrbanCode Deploy agent on computers where the tests will be run.
  • Downloaded the HCL OneTest Performance UCD plugin from the HCL® License & Delivery portal.

    For more information about specific versions of plugin, see Integration plugin compatibility matrix.

  • Installed UrbanCode Deploy server and deploy the Performance plugin on the server.
    Note: To install the UrbanCode Deploy plugins, see its documentation.

About this task

With the HCL OneTest Performance plugin for UrbanCode Deploy, you can automate the execution of tests, compound tests, and schedules. For a performance test, install HCL OneTest Performance on the target computer where the test will be run. When you run a schedule, ensure that the workbench is connected to the agent computers.
Note:

To run tests on Mac OS, you must add an environment variable that points to the installation directory of the product, for example, export TEST_WORKBENCH_HOME=/opt/HCL/HCLOneTest. For Windows and Linux®, this environment variable is already defined.

If you installed HCL OneTest Performance on Windows by using the stand-alone installer, then you must specify the environment variable that points to the installation directory of the product.

Procedure

  1. To create a workflow for the newly created component process, click the component process. The Tools view displays the available plugin steps.
  2. From HCL OneTest Studio > HCL OneTest Performance, drag the Run HCL OneTest Performance Test step to the design space.
  3. Specify the properties for the step. For information about the properties, see Properties of steps.
  4. After you configure the step properties, click Save.

Example

A typical process for the performance test plugin will look like the following snapshot:Run performance test from UCD
A process with multiple tests will look like the following snapshot:Run multiple tests from UCD
If you have multiple products installed on one target machine, either in the same or different package groups, you can use a single process that includes steps from different products. The process will look like the following snapshot:Run multiple products test from UCD