|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVirtualUserInfo
The IVirtualUserInfo interface provides information about the virtual user.
This interface is implemented by the object stored in the VirtualUserDataArea
DataArea
under the key VirtualUserInfo
. This object is accessed from ICustomCode2
by calling
ITestExecutionServices
.findDataArea(IDataArea
.VIRTUALUSER).get(IVirtualUserInfo.KEY)
IDataArea
,
ITestExecutionServices
Field Summary | |
---|---|
static String |
KEY
Key for the supplied IVirtualUserInfo object in the virtual user's DataArea. |
Method Summary | |
---|---|
InetAddress |
getIPAddress()
Return the IP address being used by this virtual user if IP Aliasing is enabled. |
InetAddress |
getIPv4Address()
Return the IPv4 address being used by this virtual user if IP Aliasing is enabled. |
InetAddress |
getIPv6UnicastAddress()
Return the IPv6 Unicast address being used by this virtual user if IP Aliasing is enabled. |
int |
getPDLogLevel()
Returns the Problem Determination Log level that is effective for the current test. |
Random |
getRandom()
Returns the virtual user's random number generator. |
int |
getTestLogLevel()
Returns the TestLog level that is effective for all events for the current test. |
int |
getTestLogLevel(int filter)
Returns the TestLog level for the given filter that is effective for the current test. |
int |
getUID()
Returns the virtual user's globally unique id. |
int |
getUserGroupIndex()
Returns the index of this virtual user within this virtual user's user group. |
String |
getUserGroupName()
Returns the name of the user group to which this virtual user belongs. |
String |
getUserName()
Returns the name of the virtual user. |
int |
popPDLogLevel()
Pops the Problem Determination Log level stack. |
int |
popTestLogLevel()
Pops the stack for the TestLog level for all events. |
int |
popTestLogLevel(int filter)
Pops the stack for the TestLog level for the given filter. |
void |
pushPDLogLevel(int level)
Pushes the given Problem Determination Log level onto the virtual user's stack. |
void |
pushTestLogLevel(int level)
Pushes the given TestLog level for all events onto the test's stack. |
void |
pushTestLogLevel(int level,
int filter)
Pushes the given TestLog level for the given filter onto the test's stack. |
InetAddress |
setIPAddress(InetAddress addr)
Set the IP address used by this virtual user if IP Aliasing is enabled. |
InetAddress |
setIPv4Address(InetAddress addr)
Set the IPv4 address used by this virtual user if IP Aliasing is enabled. |
InetAddress |
setIPv6UnicastAddress(InetAddress addr)
Set the IPv6 Unicast address used by this virtual user if IP Aliasing is enabled. |
int |
setPDLogLevel(int level)
Sets the Problem Determination Log level for the remainder of the current virtual user to the given level. |
int |
setTestLogLevel(int level)
Sets the TestLog level for all events for the remainder of the current test to the given level. |
int |
setTestLogLevel(int level,
int filter)
Sets the TestLog level for the given filter for the remainder of the current test to the given level. |
Field Detail |
---|
static final String KEY
Method Detail |
---|
Random getRandom()
int getUID()
String getUserName()
String getUserGroupName()
int getUserGroupIndex()
int getPDLogLevel()
int setPDLogLevel(int level)
The Problem Determination Log level is kept on a stack for the virtual user. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new Problem Determination Log level.
IVirtualUserInfo.pushPDLogLevel(int)
,
IVirtualUserInfo.popPDLogLevel()
void pushPDLogLevel(int level)
This changes the effective Problem Determination Log level for the remainder of the virtual user's execution.
level
- The new Problem Determination Log level.IVirtualUserInfo.popPDLogLevel()
int popPDLogLevel()
This restores the effective Problem Determination Log level to the value previous to the last push.
IVirtualUserInfo.pushPDLogLevel(int)
int getTestLogLevel()
int getTestLogLevel(int filter)
filter
- The filter specifying the TestLog level to get.
int setTestLogLevel(int level)
The TestLog level is kept on a stack for the test. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new TestLog level.
IVirtualUserInfo.pushTestLogLevel(int)
,
IVirtualUserInfo.popTestLogLevel()
int setTestLogLevel(int level, int filter)
The TestLog level is kept on a stack for the test. Setting the level is equivalent to popping the stack (if it is not empty) and pushing the new level.
level
- The new TestLog level.filter
- The filter specifying the TestLog level to set.
IVirtualUserInfo.pushTestLogLevel(int)
,
IVirtualUserInfo.popTestLogLevel()
void pushTestLogLevel(int level)
This changes the effective TestLog level for the remainder of the test.,/p>
level
- The new TestLog level.IVirtualUserInfo.popTestLogLevel()
void pushTestLogLevel(int level, int filter)
This changes the effective TestLog level for the remainder of the test.,/p>
level
- The new TestLog level.filter
- The filter specifying the TestLog level to push.IVirtualUserInfo.popTestLogLevel()
int popTestLogLevel()
This restores the effective TestLog level to its value before the last push.
IVirtualUserInfo.pushTestLogLevel(int)
int popTestLogLevel(int filter)
This restores the effective TestLog level to its value before the last push.
filter
- The filter specifying the TestLog level to pop.
IVirtualUserInfo.pushTestLogLevel(int)
InetAddress getIPAddress()
InetAddress setIPAddress(InetAddress addr)
InetAddress getIPv4Address()
InetAddress setIPv4Address(InetAddress addr)
InetAddress getIPv6UnicastAddress()
InetAddress setIPv6UnicastAddress(InetAddress addr)
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |