|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHttpGroup
IHttpGroup is created to represent groups executing a web application, used
for recording tasks with HTTP/S protocols IHttpGroup
action
group is created using
IGroup addActionGroup(int protocol, String groupName);
API of
ILoadTest
For creating Starting Group use
IHTTPGroup addStartingGroup();
API of ILoadTest
For creating Starting Group use
IHTTPGroup IHttpGroup addEndingGroup();
API of
ILoadTest
Field Summary |
---|
Fields inherited from interface com.appperfect.loadtester.script.IGroup |
---|
GROUP_DATABASE, GROUP_HTTP, GROUP_SOAP, PAUSE_AFTER_EVERY_N_ITERATIONS, PAUSE_AFTER_N_ITERATIONS, PAUSE_AFTER_N_SECONDS, PAUSE_START_OF_GROUP, PAUSE_START_OF_TEST, STOP_AFTER_N_ITERATIONS, STOP_AFTER_N_SECONDS |
Method Summary | |
---|---|
void |
addClientCertificate(java.lang.String password,
java.lang.String certFilePath)
This method is used to register a client certificate for a group |
void |
setAuthenticationDomainName(java.lang.String domain)
This method is used to to set the Domain name if the authentication is of type IWebGroup.DIGEST_AUTHENTICATION or IWebGroup.NTLM_AUTHENTICATION. |
void |
setAuthenticationMechanism(int mechanism)
Quite often the web applications being tested are not simple applications and require different types of authentications during the execution of the test. |
void |
setAuthenticationPassword(java.lang.String pwd,
boolean parameterised)
This method is used to set the password for Authentication |
void |
setAuthenticationUserName(java.lang.String name,
boolean parameterised)
This method is used to set the user name for Authentication |
void |
setContainsLoginTask(boolean task)
This method is used to decide whether group contains the login task |
void |
setLoginTaskID(int taskId)
This method is used to set login task id in this group |
void |
setLoginTaskID(int taskId,
java.lang.String username,
java.lang.String password)
This method is used to set login task id in this group as well as login credentials |
void |
setStartingURL(java.lang.String url)
This method is used to set starting url for the group. |
void |
setUseClientSSLAuthentication(boolean flag)
This method is used to set that group should use client SSL authentication |
void |
setUseUrlRewritingSessionManagement(boolean flag)
This method is used to set whether the web application is using URL-Rewriting for session management. |
Methods inherited from interface com.appperfect.loadtester.script.IGroup |
---|
setGroupPauseOption, setGroupStopOption, setIgnored, setRepeatCount, setRunVirtualUsers |
Method Detail |
---|
void addClientCertificate(java.lang.String password, java.lang.String certFilePath)
password
- password for client certificatecertFilePath
- file path on disk for client certificatevoid setAuthenticationDomainName(java.lang.String domain)
domain
- name of the domainvoid setAuthenticationMechanism(int mechanism)
mechanism
- :
Possible values for mechanism are:
IWebGroup.NO_AUTHENTICATION, IWebGroup.FORM_AUTHENTICATION,
IWebGroup.BASIC_AUTHENTICATION,
IWebGroup.DIGEST_AUTHENTICATION, IWebGroup.NTLM_AUTHENTICATIONvoid setAuthenticationPassword(java.lang.String pwd, boolean parameterised)
pwd
- password for authenticationparameterised
- true if password is parameterized, false otherwisevoid setAuthenticationUserName(java.lang.String name, boolean parameterised)
name
- user name for authenticationparameterised
- true if name is parameterized, false otherwisevoid setContainsLoginTask(boolean task)
task
- true if group contains login task else falsevoid setLoginTaskID(int taskId)
taskId
- id of the login taskvoid setLoginTaskID(int taskId, java.lang.String username, java.lang.String password)
taskId
- id of the login taskusername
- user name used for loginpassword
- password used for loginvoid setStartingURL(java.lang.String url)
url
- starting url for the groupvoid setUseClientSSLAuthentication(boolean flag)
flag
- true if client SSL authentication should be used, false
otherwisevoid setUseUrlRewritingSessionManagement(boolean flag)
flag
- true if session is managed using URL-Rewriting, false
otherwise
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |