org.jaffa.tools.loadtest
Class LoadTesterLogOnImpl
java.lang.Object
org.jaffa.tools.loadtest.LoadTesterLogOnImpl
- All Implemented Interfaces:
- ILoadTesterLogOn
- public class LoadTesterLogOnImpl
- extends Object
- implements ILoadTesterLogOn
Implements the ILoadTesterLogOn and implements the logon and logOff methods
- Author:
- MaheshD
|
Method Summary |
void |
logOff(com.meterware.httpunit.WebConversation wc,
String webRoot)
Logs off from the System. |
com.meterware.httpunit.WebResponse |
logOn(com.meterware.httpunit.WebConversation wc,
String webRoot,
String user,
String password,
String sucessTitle)
Logs on to the system with the username and password provided. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadTesterLogOnImpl
public LoadTesterLogOnImpl()
logOn
public com.meterware.httpunit.WebResponse logOn(com.meterware.httpunit.WebConversation wc,
String webRoot,
String user,
String password,
String sucessTitle)
- Logs on to the system with the username and password provided. Returns null if it fails to log on .
- Specified by:
logOn in interface ILoadTesterLogOn
- Parameters:
wc - WebConversation to get the response.webRoot - url to the log on page.user - usernamepassword - passwordsucessTitle - The Title text after it has successfully logged on.
- Returns:
- returns a WebResponse if successful or else returns null.
logOff
public void logOff(com.meterware.httpunit.WebConversation wc,
String webRoot)
- Logs off from the System.
- Specified by:
logOff in interface ILoadTesterLogOn
- Parameters:
wc - WebConversation to get the responsewebRoot - url which needs to be logged off.
Copyright © 2002-2004 JAFFA Project.