@Test
public void testExecuteCommand()
    throws JSchException
{

    logger.info( "[TS] : testExecuteCommand" );
    String username = "root";
    String password = "root123";
    String hostname = "10.28.197.23";
    int port = 22;
    Properties sessionConfig = new java.util.Properties();
    sessionConfig.put( "StrictHostKeyChecking", "no" );
    Session sessionobj = null;
    sessionobj = SshUtil.getSessionObject( username, password, hostname, port, sessionConfig );
    sessionobj.connect( 6000 );
    String command = "vmware -v";
    String expResult = "";
    String result = null;
    try
    {
        result = SshUtil.executeCommand( sessionobj, command );
    }
    catch ( Exception ex )
    {
        logger.error( "Exception occured while executing command.", ex );
    }
    logger.info( "[TS] : Expected result : Result of the command is NOT NULL, actual result : Result of the command = "
        + result );
    assertNotNull( result );
}