|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.test.lt.kernel.services.util.TESUtil
public class TESUtil
A collection of static methods related to TestExecutionServices.
Constructor Summary | |
---|---|
TESUtil()
|
Method Summary | |
---|---|
static void |
addNetServerTime(long time)
Adds the given time (in milliseconds) to the NetServerTime counter for all currently active transactions whether defined in the behavior model or via Test Execution Services and custom code. |
static void |
raiseException(Throwable exception)
Simulate KRaise from Test Execution Services. |
static void |
stopSchedule(String message)
Stop the current schedule immediately. |
static void |
stopSchedule(String message,
boolean showStack)
Stop the current schedule immediately. |
static void |
stopSchedule(String message,
int severity)
Stop the current schedule immediately. |
static void |
stopSchedule(String message,
int severity,
boolean showStack)
Stop the current schedule immediately. |
static void |
stopTest(String message)
Stop the current instance of the running test immediately. |
static void |
stopTest(String message,
boolean showStack)
Stop the current instance of the running test immediately. |
static void |
stopTest(String message,
int severity)
Stop the current instance of the running test immediately. |
static void |
stopTest(String message,
int severity,
boolean showStack)
Stop the current instance of the running test immediately. |
static void |
stopUser(String message)
Stop the current virtual user immediately. |
static void |
stopUser(String message,
boolean showStack)
Stop the current virtual user immediately. |
static void |
stopUser(String message,
int severity)
Stop the current virtual user immediately. |
static void |
stopUser(String message,
int severity,
boolean showStack)
Stop the current virtual user immediately. |
static void |
throwException(Throwable exception)
Simulate a throw of the given exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TESUtil()
Method Detail |
---|
public static void addNetServerTime(long time)
time
- the elapsed time in milliseconds to add to the NetServerTime counter for all applicable transactionspublic static void raiseException(Throwable exception)
exception
- public static void throwException(Throwable exception)
exception
- public static void stopTest(String message)
message
- The message to display in the testLog.public static void stopTest(String message, int severity)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.public static void stopTest(String message, boolean showStack)
message
- The message to display in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.public static void stopTest(String message, int severity, boolean showStack)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.public static void stopUser(String message)
message
- The message to display in the testLog.public static void stopUser(String message, int severity)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.public static void stopUser(String message, boolean showStack)
message
- The message to display in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.public static void stopUser(String message, int severity, boolean showStack)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.public static void stopSchedule(String message)
message
- The message to display in the testLog.public static void stopSchedule(String message, int severity)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.public static void stopSchedule(String message, boolean showStack)
message
- The message to display in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.public static void stopSchedule(String message, int severity, boolean showStack)
message
- The message to display in the testLog.severity
- The severity to assign to the message in the testLog.showStack
- A boolean indicating whether the message in the testLog should include the stack trace.
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |