Testing 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

  • Install HCL OneTest™ Performance and UrbanCode Deploy agent on computers where the tests will be run.
  • Download the plugin for HCL OneTest Performance from HCL License & Delivery Portal.
  • Install UrbanCode Deploy server and deploy the Performance plugin on the server. The plug-in require version 6.1 of UrbanCode Deploy.
  • 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 Linux or 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/HCLProducts. For Windows, this environment variable is already defined.
  • If you installed the product on Windows using the stand-alone installer (not using IBM® Installation Manager), you must specify the environment variable that points to the installation directory of the product. For example, export TEST_WORKBENCH_HOME=C:\Program Files\HCL\HCLProducts.

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 this topic.
  4. After you configure the step properties, save the step by clicking 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 product tests from UCD

Feedback