com.ibm.rational.test.lt.kernel.runner

Interface IRatlRunner



  • public interface IRatlRunner
    • Field Detail

      • DEFAULT_HISTORY_CACHE_FILE

        static final String DEFAULT_HISTORY_CACHE_FILE
      • RPT_RUNNER_PDLOG_LEVEL

        static final String RPT_RUNNER_PDLOG_LEVEL
        The PDLog level the runner will use until the value specified in the schedule is sent.
      • RPT_RUNNER_HEARTBEAT_TIMEOUT

        static final String RPT_RUNNER_HEARTBEAT_TIMEOUT
        The number of milliseconds (default 60000) that the runner is willing to continue without receiving any communication from the workbench.
      • RPT_SAVE_TEMP_FILES

        static final String RPT_SAVE_TEMP_FILES
        A boolean (default false) which indicates whether or not the history cache and annotation temp files should be kept after the run.
      • RPT_USE_STATISTICS

        static final String RPT_USE_STATISTICS
        A boolean (default true) which indicates whether or not a statistics managing thread should be created.
      • RPT_USE_HISTORY

        static final String RPT_USE_HISTORY
        A boolean (default true) which indicates whether or not a history managing thread should be created.
      • RPT_USE_HISTORY_CACHE

        static final String RPT_USE_HISTORY_CACHE
        A boolean (default true) which indicates whether or not a cache managing thread should be created. If false, nothing will be cached.
      • RPT_HISTORY_CACHE_FILE

        static final String RPT_HISTORY_CACHE_FILE
        A string (default "historyCache.tmp") which specifies the name of the history cache file relative to the deployment directory.
      • RPT_HISTORY_CACHE_LEVEL

        static final String RPT_HISTORY_CACHE_LEVEL
        An integer (default 0 (NONE)) all events belonging to the specified (or higher) history level will be cached. Meaningful range: [0-100] in 6.1.2 ([0-4] in 6.1.1).
      • RPT_REALTIME_HISTORY

        static final String RPT_REALTIME_HISTORY
        A string specifying the history events that should not be cached. For compatibility with 6.0 (or whatever the number for the first release was) Possible values: SCHEDULE, NONE, ALL
      • RPT_USE_HISTORY_ANNOTATION

        static final String RPT_USE_HISTORY_ANNOTATION
        A boolean (default true) which indicates whether or not an annotation managing thread and file should be created. (The file name is supplied by the WB.)
      • RPT_ANNOTATION_FILE_SIZE_LIMIT

        static final String RPT_ANNOTATION_FILE_SIZE_LIMIT
        An integer (default Integer.MAX_VALUE) indicating the maximum size of an annotation file
      • RPT_LOAD_HISTORY

        static final String RPT_LOAD_HISTORY
        A boolean (sortof) (default "auto") which indicates whether or not the cached execution history events should be given to the workbench loaders and put into the execution history model. A special value of "auto" (or "AUTO") indicates that the decision will be left up to the workbench based on the size of the cache file and the available workbench memory.
      • RPT_AUTOLOAD_HISTORY

        static final String RPT_AUTOLOAD_HISTORY
        The default value for RPT_LOAD_HISTORY above. This indicates that the amount of memory available on the workbench will determine whether or not to load the cached events.
      • RPT_STATISTICS_FILE

        static final String RPT_STATISTICS_FILE
        A string (for debugging) which specifies a file on the local computer where all statistics xml fragments should be written in addition to sending to the workbench.
      • RPT_TESTLOG_FILE

        static final String RPT_TESTLOG_FILE
        A string (for debugging) which specifies a file on the local computer where all testLog xml fragments should be written in addition to sending to the workbench.
      • RPT_STATISTICS_PERIOD

        static final String RPT_STATISTICS_PERIOD
        An integer (default 5000) which specifies the statistics delivery interval in the event that the workbench fails to specify one.
      • RPT_SERIALTESTLOG

        static final String RPT_SERIALTESTLOG
        A boolean(default true) which indicates whether or not the runner should wait for instruction from the workbench before transferring the testLog data
      • RPT_TESTLOG_MONITOR

        static final String RPT_TESTLOG_MONITOR
        An integer which specifies the interval (in seconds) that the testLog queue monitor should use to poll the status of the queues related to testLog processing. If this property is not set or the value is <= 0 the testLog monitor thread will not be started.
      • RPT_HEARTBEAT_PERIOD

        static final String RPT_HEARTBEAT_PERIOD
        An integer (default 10000) which specifies the heartbeat delivery interval
      • RPT_RUNNER_ECHO

        static final String RPT_RUNNER_ECHO
        A boolean (default false) which specifies whether the runner echo's incomming command messages
      • RPT_USE_COMMAND_EVENT

        static final String RPT_USE_COMMAND_EVENT
        A boolean (default true) which specifies whether the runner should attempt using the testLog data channel to deliver select commands to the workbench
      • RPT_EXIT_WAIT

        static final String RPT_EXIT_WAIT
        An integer (default 30000) which specifies the how long after main() ends to call System.exit()
      • RPT_LOCALE

        static final String RPT_LOCALE
        A string (ie "en_US") which specifies the locale that you want for the runner process
      • RPT_KEEP_ALIVE_INTERVAL

        static final String RPT_KEEP_ALIVE_INTERVAL
        An integer (default 15) which specifies the keep-alive delivery interval in minutes
      • RPT_REPORT_NET_SERVER_TIME

        static final String RPT_REPORT_NET_SERVER_TIME
        A boolean (default RPT_REPORT_NET_SERVER_TIME_DEFAULT) which specifies whether transactions should use the value provided by calls to "TESUtil.addNetServerTime()" in addition to actual elapsed time for the container.
      • RPT_REPORT_NET_SERVER_TIME_DEFAULT

        static final String RPT_REPORT_NET_SERVER_TIME_DEFAULT
      • HEARTBEAT_INTERVAL

        static final int HEARTBEAT_INTERVAL
        default heartbeat interval (ms)
      • HEARTBEAT_MINIMUM

        static final int HEARTBEAT_MINIMUM
        default heartbeat minimum interval (ms)
      • HEARTBEAT_TIMEOUT

        static final int HEARTBEAT_TIMEOUT
        default time allowed for an answer to a heartbeat (ms)
      • STOP_EASY

        static final int STOP_EASY
        default timeout for STOP command (ms)
      • STOP_HARD

        static final int STOP_HARD
        timeout value for an immediate stop
      • EXIT_WAIT

        static final int EXIT_WAIT
        default exit wait time
      • KEEP_ALIVE_INTERVAL

        static final int KEEP_ALIVE_INTERVAL
        default keep alive interval (minutes)
      • HEARTRATE

        static final String HEARTRATE
        set the heartbeat interval
      • REMOVE

        static final String REMOVE
        remove a virtual user
      • FORBIDDEN

        static final String FORBIDDEN
        we can't run here
    • Method Detail

      • sendArrival

        void sendArrival(String syncPointName)
      • sendStop

        void sendStop(String userGroup)
      • requestHeartBeat

        void requestHeartBeat()
        request that the runner send a heartbeat (USERSTATES) message to the workbench
      • executeCustomCommand

        void executeCustomCommand(String s)
        Introduce visibility to executeCustomCommand for AC-less test execution. Allows CommandProcessor to hold reference to IRatlRunner instead of concreate RPTRunner.
      • reportException

        void reportException(Throwable t)
      • sendRemoteServiceCall

        void sendRemoteServiceCall(String callData)
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.