Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue
idmettleci-cli

Namespace

unittest

Command

install-server-test-harness

Plugin Name

unittest

Plugin File

dm-dstest-plugin.jar

Credentials

IS/DS

Windows Client

-

Purpose

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

Syntax

Include Page
unittest install-server-test-harness command syntax
unittest install-server-test-harness command syntax
Note

NOTE: The username argument expects an Engine tier OS (Information Server) user, not a DataStage user. E.g: dsadmMettleCI CLI version 1.1-218 or above is needed in order to use this command

Example

Code Block
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.