Skip to main content
Skip table of contents

UnitTest Install-Server-Test-Harness Command

Purpose

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

Syntax

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

Example

CODE
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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.