| java.lang.Object org.jaffa.tools.loadtest.LoadTesterLogOnImpl
LoadTesterLogOnImpl | public class LoadTesterLogOnImpl implements ILoadTesterLogOn(Code) | | Implements the ILoadTesterLogOn and implements the logon and logOff methods
author: MaheshD |
Method Summary | |
public void | logOff(WebConversation wc, String webRoot) Logs off from the System. | public WebResponse | logOn(WebConversation wc, String webRoot, String user, String password, String sucessTitle) Logs on to the system with the username and password provided. |
logOff | public void logOff(WebConversation wc, String webRoot)(Code) | | Logs off from the System.
Parameters: wc - WebConversation to get the response Parameters: webRoot - url which needs to be logged off. |
logOn | public WebResponse logOn(WebConversation wc, String webRoot, String user, String password, String sucessTitle)(Code) | | Logs on to the system with the username and password provided. Returns null if it fails to log on .
Parameters: wc - WebConversation to get the response. Parameters: webRoot - url to the log on page. Parameters: user - username Parameters: password - password Parameters: sucessTitle - The Title text after it has successfully logged on. returns a WebResponse if successful or else returns null. |
|
|