This function imports the shared function xml libraries.
This function imports the Python libraries and objects,
both starndard and local shared ones.
This function initialises a set of global variables.
{ 'hostname' : STAF_REMOTE_HOSTNAME }
This function gets information about the Directory Server
'Copy DS zip archive to %s %s.zip.' % (STAF_REMOTE_HOSTNAME,InstanceInstallDir)
{ 'srcfile' : '%s/%s' % (ZIPPATH,ZIPNAME),
'destfile' : '%s.zip' % InstanceInstallDir,
'remotehost' : STAF_REMOTE_HOSTNAME }
RC
'Extract temporary DS zip archive to %s %s.' % (STAF_REMOTE_HOSTNAME,DIRECTORY_INSTANCE_DIR)
{ 'location' : STAF_REMOTE_HOSTNAME,
'zipfile' : '%s.zip' % InstanceInstallDir,
'unzipdir' : '%s' % DIRECTORY_INSTANCE_DIR }
RC
{ 'location' : STAF_REMOTE_HOSTNAME,
'dsPath' : '%s' % InstanceInstallDir }
'Invalid Result %s' % RC
{ 'location' : STAF_REMOTE_HOSTNAME,
'type' : 'shared',
'variable' : 'Job%s_ServerInfo=%s' % (STAXJobID,DSInfoServersDict) }
'Invalid Result %s' % RC
'Remove temporary DS zip archive from %s %s' % (STAF_REMOTE_HOSTNAME,InstanceInstallDir)
{ 'location' : STAF_REMOTE_HOSTNAME ,
'foldername' : '%s' % InstanceInstallDir }
{ 'location' : STAF_REMOTE_HOSTNAME ,
'filename' : '%s.zip' % InstanceInstallDir }
'caught %s with %s' % (eType,eInfo)
'Remove temporary DS zip archive from %s %s' % (STAF_REMOTE_HOSTNAME,InstanceInstallDir)
{ 'location' : STAF_REMOTE_HOSTNAME ,
'foldername' : '%s' % InstanceInstallDir }
{ 'location' : STAF_REMOTE_HOSTNAME ,
'filename' : '%s.zip' % InstanceInstallDir }
This function sets the directory to which logs are written
'Tests logs output set to %s' % logsDir
{ 'location' : STAF_REMOTE_HOSTNAME,
'type' : 'shared',
'variable' : 'Job%s_LogsDir=%s' % (STAXJobID,logsDir) }
'Create folder %s' % logsReportDir
{ 'location' : STAF_LOCAL_HOSTNAME,
'foldername' : '%s' % logsReportDir }
'Create folder %s' % logsTempDir
{ 'location' : STAF_LOCAL_HOSTNAME,
'foldername' : '%s' % logsTempDir }
'Create folder %s' % logsSUTDir
{ 'location' : STAF_LOCAL_HOSTNAME,
'foldername' : '%s' % logsSUTDir }
'Create folder %s' % logsTestsDir
{ 'location' : STAF_LOCAL_HOSTNAME,
'foldername' : '%s' % logsTestsDir }
'Create folder %s' % logsTestDataDir
{ 'location' : STAF_LOCAL_HOSTNAME,
'foldername' : '%s' % logsTestDataDir }
This function loads the environment (libraries, functions, variables)
needed by the tests.
'Load environment for test suite execution.'
{ 'returncode' : RC ,
'result' : STAXResult }