|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGroup
Group is created to represent action group executing a web or database
application IGroup
is created using
IGroup addActionGroup(int protocol, String groupName);
API of
ILoadTest
Field Summary | |
---|---|
static int |
GROUP_DATABASE
Represent JDBC Group protocol |
static int |
GROUP_HTTP
Represent HTTP/S Group protocol |
static int |
GROUP_SOAP
Represent SOAP Group protocol |
static int |
PAUSE_AFTER_EVERY_N_ITERATIONS
|
static int |
PAUSE_AFTER_N_ITERATIONS
|
static int |
PAUSE_AFTER_N_SECONDS
|
static int |
PAUSE_START_OF_GROUP
|
static int |
PAUSE_START_OF_TEST
|
static int |
STOP_AFTER_N_ITERATIONS
|
static int |
STOP_AFTER_N_SECONDS
|
Method Summary | |
---|---|
void |
setGroupPauseOption(boolean bPauseGroup,
int pauseTime,
int pauseOption,
int count)
This method is used to pause virtual users before running this group. |
void |
setGroupStopOption(boolean bStopGroup,
int stopOption,
int count)
This method is used to stop virtual users from running this group in between of test execution. |
void |
setIgnored(boolean ignored)
This method is used to decide if the group should be ignored during test execution. |
void |
setRepeatCount(int rptCount)
This method is used to set repeat count for group within single iteration. |
void |
setRunVirtualUsers(float percentage)
This method is used to set virtual users percentage which should be running this group. |
Field Detail |
---|
static final int GROUP_DATABASE
static final int GROUP_HTTP
static final int GROUP_SOAP
static final int PAUSE_AFTER_EVERY_N_ITERATIONS
static final int PAUSE_AFTER_N_ITERATIONS
static final int PAUSE_AFTER_N_SECONDS
static final int PAUSE_START_OF_GROUP
static final int PAUSE_START_OF_TEST
static final int STOP_AFTER_N_ITERATIONS
static final int STOP_AFTER_N_SECONDS
Method Detail |
---|
void setGroupPauseOption(boolean bPauseGroup, int pauseTime, int pauseOption, int count)
bPauseGroup
- true if group should be paused, false otherwisepauseTime
- number of seconds to pause before running this grouppauseOption
- could take any of the following values
IGroup.PAUSE_START_OF_TEST
IGroup.PAUSE_START_OF_GROUP
IGroup.PAUSE_AFTER_EVERY_N_ITERATIONS
IGroup.PAUSE_AFTER_N_ITERATIONS
IGroup.PAUSE_AFTER_N_SECONDScount
- represents Number of iteration or amount of time based on the pauseOption selected.void setGroupStopOption(boolean bStopGroup, int stopOption, int count)
bStopGroup
- true if group should be stopped, false otherwisestopOption
- could take any of the following values
IGroup.STOP_AFTER_N_ITERATIONS
IGroup.STOP_AFTER_N_SECONDScount
- represents Number of iteration or amount of time based on the stopOption selected.void setIgnored(boolean ignored)
ignored
- true if group should be ignored, false otherwisevoid setRepeatCount(int rptCount)
rptCount
- number of times group should repeat execution during single
iteration.void setRunVirtualUsers(float percentage)
percentage
- percentage of virtual users to be used to run this group
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |