Breadcrumbs

UnitTest Install-Server-Test-Harness Command

Purpose

Install the components required to enable unit testing of Server Jobs for a specific DataStage project.

MettleCI CLI version 1.1-218 or above is needed in order to use this command

Syntax

unittest-install-server-test-harness-20250826-045307.svg

unittest install-server-test-harness [options]

Options

  • -server

    Engine Tier

    Required

  • -project

    Project Name

    Required

  • -username

    Information Server User (e.g. isadmin)

    Required

  • -password

    Information Server password

    Required

  • -skip-stage-type-updater

    Do Not Run DSStageTypeUpdater after Server Unit Test Harness installation

  • -trust

    Trust connection

  • -domain

    Services Tier (including port)

    Required

Example

C:\> mettleci unittest install-server-test-harness ^
  -domain my-svcs.datamigrators.io:9443 ^
  -server my-engn.datamigrators.io ^
  -project dstage1 ^
  -username isadmin ^
  -password mypassword ^
  -trust

MettleCI Command Line (build 218)
(C) 2018-2022 Data Migrators Pty Ltd
Changing 'Command' logger level from INFO to INFO
Changing 'Shell' logger level from INFO to DEBUG
unittest install-server-test-harness (v1.0-536)
Writing and Compiling routine 'DSU.ExtractArgs'
Writing and Compiling routine 'DSU.STUB'
Cataloging routine 'DSU.ExtractArgs' as 'DSU.ExtractArgs'
Cataloging routine 'DSD_RUN.B' as 'DSD.RUN_ORIG'
Cataloging routine 'DSU.STUB' as 'DSD.RUN'
Server Unit Test Harness installed.
DSStageTypeUpdater ran successfully.