com.ibm.rational.test.lt.recorder.core.config

Class RecordingSessionConfiguration

  • All Implemented Interfaces:
    Serializable, Cloneable


    public class RecordingSessionConfiguration
    extends AbstractConfiguration
    A recording session configuration object, used for holding options related to a recording session.
    A configuration is usually produced by a UI component such as a wizard and consumed by a recording session. It contains generic or protocol-specific options that influence the behavior of the recording session, based on the choices made by the user in the UI component.
    A recording session configuration has child configurations, one per recorder that should be run during the recording session.
    A configuration contains options, which consist of a name and a value. Basic types are supported for the values: boolean, integer, string, strings list, enum, and maps. A configuration can be persisted as an XML document, and it can be reconstructed from the XML using RecordingConfigurationFactory.
    See Also:
    Serialized Form
    • Field Detail

      • REC_SESSION_PATH

        public static final String REC_SESSION_PATH
        A string specifying the generated recmodel path, relative to the workspace. No recmodel is produced if this property is omitted.
      • CONFIGURATION_FILE_NAME

        public static final String CONFIGURATION_FILE_NAME
        A string specifying the name of the file that the configuration was loaded from, if applicable. This property is not interpreted by the recording framework and is simply a piece of information for the user. This property is optional. It is automatically set when a configuration is loaded from an XML file (no need to specify this property within the XML file).
      • AUTO_STOP

        public static final String AUTO_STOP
        A boolean specifying whether the session should automatically stop when all clients are terminated. Default value: true.
      • UPGRADED

        public static final String UPGRADED
        A boolean specifying that the session configuration is the result of an upgrade process from a recmodel to a recsession (i.e. from 8.1.x or previous to 8.2). This is a marker that indicates that a new recording session cannot be built upon the session configuration. Default value: false.
      • LOG_DEBUG_MESSAGES

        public static final String LOG_DEBUG_MESSAGES
        A boolean specifying that debug messages issued by recording components should be logged to eclipse error log as information messages. Default value: false.
      • ENCRYPTION_PASSPHRASE

        public static final String ENCRYPTION_PASSPHRASE
        A string specifying the pass phrase used to encrypt the recording session content. If omitted, the recording will not be password-protected. This option is mutually exclusive with RecordingSessionConfiguration.OBFUSCATE.
      • OBFUSCATE

        public static final String OBFUSCATE
        A boolean specifying that the recording session file should be obfuscated, to prevent plain strings from being visible by a simple inspection of the file. This option is mutually exclusive with RecordingSessionConfiguration.ENCRYPTION_PASSPHRASE.
    • Constructor Detail

      • RecordingSessionConfiguration

        public RecordingSessionConfiguration()
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.