Replay a recorded Canzlog message and its attributes. You can either provide an automation table name or specify the path of the local file which stores the automation table statements for testing, but you can’t provide both parameters at the same time.
Note: Both the recorded member name AND a file or member that contains 1 automation table statement are valid parameters.
Usage
zowe znetview-automation test automation-table [options]
Required Options
Options
NetView Connection Options
-
--host
| -H
(string)
- The host name of your NetView REST Server.
-
--port
| -P
(number)
-
--user
| -u
(string)
- The user name to authenticate to your NetView REST Server.
-
--password
| --pw
(string)
- The password to authenticate to your NetView REST Server.
-
--token-type
| --tt
(string)
- The type of the token to authenticate to your NetView REST Server.
-
--token-value
| --tv
(string)
- The value of the token to authenticate to your NetView REST Server.
-
--base-path
| --bp
(string)
-
The base path for your Zowe API Mediation Layer instance. Specify this option to prepend the base path to NetView REST service when making REST requests to the Zowe API Mediation Layer.
Note: Do not specify this option if you are not using the Zowe API Mediation Layer.
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples
-
Test the automation table statements in the file on your local system /tmp/at/test with the message recording member TESTREC from domain CNM01:
zowe znetview-automation test automation-table --record-member-name TESTREC --automation-table-file-path "/tmp/at/test" --domain CNM01
-
Test the automation table statements in the automation table member TESTTBL with the message recording member TESTREC from domain CNM01.:
zowe znetview-automation test automation-table --record-member-name TESTREC --automation-table-name TESTTBL --domain CNM01