com.appperfect.loadtester.script
Interface IGroup

All Known Subinterfaces:
IHttpGroup

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

GROUP_DATABASE

static final int GROUP_DATABASE
Represent JDBC Group protocol

See Also:
Constant Field Values

GROUP_HTTP

static final int GROUP_HTTP
Represent HTTP/S Group protocol

See Also:
Constant Field Values

GROUP_SOAP

static final int GROUP_SOAP
Represent SOAP Group protocol

See Also:
Constant Field Values

PAUSE_AFTER_EVERY_N_ITERATIONS

static final int PAUSE_AFTER_EVERY_N_ITERATIONS
See Also:
Constant Field Values

PAUSE_AFTER_N_ITERATIONS

static final int PAUSE_AFTER_N_ITERATIONS
See Also:
Constant Field Values

PAUSE_AFTER_N_SECONDS

static final int PAUSE_AFTER_N_SECONDS
See Also:
Constant Field Values

PAUSE_START_OF_GROUP

static final int PAUSE_START_OF_GROUP
See Also:
Constant Field Values

PAUSE_START_OF_TEST

static final int PAUSE_START_OF_TEST
See Also:
Constant Field Values

STOP_AFTER_N_ITERATIONS

static final int STOP_AFTER_N_ITERATIONS
See Also:
Constant Field Values

STOP_AFTER_N_SECONDS

static final int STOP_AFTER_N_SECONDS
See Also:
Constant Field Values
Method Detail

setGroupPauseOption

void setGroupPauseOption(boolean bPauseGroup,
                         int pauseTime,
                         int pauseOption,
                         int count)
This method is used to pause virtual users before running this group.

Parameters:
bPauseGroup - true if group should be paused, false otherwise
pauseTime - number of seconds to pause before running this group
pauseOption - 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_SECONDS
count - represents Number of iteration or amount of time based on the pauseOption selected.

setGroupStopOption

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.

Parameters:
bStopGroup - true if group should be stopped, false otherwise
stopOption - could take any of the following values IGroup.STOP_AFTER_N_ITERATIONS IGroup.STOP_AFTER_N_SECONDS
count - represents Number of iteration or amount of time based on the stopOption selected.

setIgnored

void setIgnored(boolean ignored)
This method is used to decide if the group should be ignored during test execution.

Parameters:
ignored - true if group should be ignored, false otherwise

setRepeatCount

void setRepeatCount(int rptCount)
This method is used to set repeat count for group within single iteration. By default group is executed once during single iteration. If one needs to execute group multiple times during single iteration then same should be set here.

Parameters:
rptCount - number of times group should repeat execution during single iteration.

setRunVirtualUsers

void setRunVirtualUsers(float percentage)
This method is used to set virtual users percentage which should be running this group. This is used in case groups are run simultaneously, in that case total virtual users should be allocated in percentage to each of the group

Parameters:
percentage - percentage of virtual users to be used to run this group


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.