Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Is it possible to run multiple UNIX commands when creating an SSH Test in SilkCentral Test Manager?

Is it possible to run multiple UNIX commands when creating an SSH Test in SilkCentral Test Manager?

Problem:

Is it possible to run multiple UNIX commands when creating an SSH Test in SilkCentral Test Manager?

Resolution:

QUESTION
----------------------------------
Is it possible to specify multiple commands to execute on a UNIX machine when creating an "SSH Test" in SilkCentral Test Manager?

ANSWER
----------------------------------
It is quite simple to specify multiple commands to execute on a UNIX machine from an "SSH Test" on SilkCentral Test Manager. In the command field when creating your "SSH Test" Test Definition you simply separate each UNIX command by a ";", e.g.:


When you then execute that test definition, the results file contains the output from the "uname -a" command and the "finger" command as follows:

SunOS unknown 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-1000
Login Name TTY Idle When Where
root Super-User console 23: Fri 22:04 :0
root Super-User pts/5 18d Fri 22:05 :0.0


Old KB# 24488

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:45
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.