|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler
Ldap Sampler class is main class for the LDAP test. This will control all the test available in the LDAP Test.
Field Summary | |
static String |
ADD
|
static String |
ARGUMENTS
|
static String |
ATTRIBS
|
static String |
BASE_ENTRY_DN
|
static String |
BIND
|
static String |
COMPARE
|
static String |
COMPAREDN
|
static String |
COMPAREFILT
|
static String |
COUNTLIM
|
static String |
DELETE
|
static String |
DEREF
|
static String |
LDAPARGUMENTS
|
static String |
MODDDN
|
static String |
MODIFY
|
static String |
NEWDN
|
static String |
PORT
|
static String |
RENAME
|
static String |
RETOBJ
|
static String |
ROOTDN
|
static String |
SBIND
|
static String |
SCOPE
|
static String |
SEARCHBASE
|
static String |
SEARCHFILTER
|
static String |
SERVERNAME
|
static String |
SUSERDN
|
static String |
SUSERPW
|
static String |
TEST
|
static String |
TIMELIM
|
static String |
UNBIND
|
static String |
USERDN
|
static String |
USERPW
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
LDAPExtSampler()
! |
Method Summary | |
Arguments |
getArguments()
Gets the Arguments attribute of the LdapConfig object |
String |
getAttrs()
Gets the test attribute of the LDAPSampler object |
String |
getBaseEntryDN()
Gets the BaseEntryDN attribute of the LDAPSampler object |
BasicAttribute |
getBasicAttribute(String name,
String value)
This will create the Basic Attribute for the give name value pair |
String |
getCountlim()
Gets the size limit attribute of the LDAPSampler object |
boolean |
getDeref()
Gets the search scope attribute of the LDAPSampler object |
String |
getLabel()
Returns a formatted string label describing this sampler Example output: |
LDAPArguments |
getLDAPArguments()
Gets the LDAPArguments attribute of the LdapConfig object |
String |
getPort()
Gets the Port attribute of the LDAPSampler object |
String[] |
getRequestAttributes(String reqAttr)
Collect all the value from the table (Arguments), using this create the Attributes This will create the Basic Attributes for the User defined TestCase for search test |
boolean |
getRetobj()
Gets the return objects attribute of the LDAPSampler object |
String |
getRootdn()
Gets the Rootdn attribute of the LDAPSampler object |
String |
getScope()
Gets the search scope attribute of the LDAPSampler object |
String |
getServername()
Gets the servername attribute of the LDAPSampler object |
String |
getSuserDN()
Gets the username attribute of the LDAP object |
String |
getSuserPw()
Gets the password attribute of the LDAP object |
String |
getTest()
Gets the test attribute of the LDAPSampler object |
String |
getTimelim()
Gets the time limit attribute of the LDAPSampler object |
BasicAttributes |
getUserAttributes()
Collect all the value from the table (Arguments), using this create the basicAttributes This will create the Basic Attributes for the User defined TestCase for Add Test |
String |
getUserDN()
Gets the username attribute of the LDAP object |
ModificationItem[] |
getUserModAttributes()
Collect all the value from the table (Arguments), using this create the basicAttributes This will create the Basic Attributes for the User defined TestCase for Modify test |
String |
getUserPw()
Gets the password attribute of the LDAP object |
SampleResult |
sample(Entry e)
! |
void |
setArguments(Arguments value)
Sets the Arguments attribute of the LdapConfig object This will collect values from the table for user defined test case |
void |
setAttrs(String newAttrs)
Sets the Test attribute of the LdapConfig object |
void |
setBaseEntryDN(String newbaseentry)
Sets the Base Entry DN attribute of the LDAPSampler object |
void |
setCountlim(String newClim)
Sets the size limit attribute of the LDAPSampler object |
void |
setDeref(String newDref)
Sets the search scope attribute of the LDAPSampler object |
void |
setLDAPArguments(LDAPArguments value)
Sets the Arguments attribute of the LdapConfig object This will collect values from the table for user defined test case |
void |
setPort(String port)
Sets the Port attribute of the ServerConfig object |
void |
setRetobj(String newRobj)
Sets the return objects attribute of the LDAPSampler object |
void |
setRootdn(String newRootdn)
Sets the Rootdn attribute of the LDAPSampler object |
void |
setScope(String newScope)
Sets the search scope attribute of the LDAPSampler object |
void |
setServername(String servername)
Sets the Servername attribute of the ServerConfig object |
void |
SetSuserDN(String newUserDN)
Sets the username attribute of the LDAP object |
void |
setSuserPw(String newUserPw)
Gets the password attribute of the LDAP object |
void |
setTest(String newTest)
Sets the Test attribute of the LdapConfig object |
void |
setTimelim(String newTlim)
Sets the time limit attribute of the LDAPSampler object |
void |
SetUserDN(String newUserDN)
Sets the username attribute of the LDAP object |
void |
setUserPw(String newUserPw)
Gets the password attribute of the LDAP object |
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Called just before the start of the test Note that not all the test variables will have been set up at this point. |
void |
testStarted(String host)
|
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
addTestElement, canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
Field Detail |
public static final String SERVERNAME
public static final String PORT
public static final String ROOTDN
public static final String TEST
public static final String ADD
public static final String MODIFY
public static final String BIND
public static final String UNBIND
public static final String DELETE
public static final String SEARCHBASE
public static final String SEARCHFILTER
public static final String ARGUMENTS
public static final String LDAPARGUMENTS
public static final String BASE_ENTRY_DN
public static final String SCOPE
public static final String COUNTLIM
public static final String TIMELIM
public static final String ATTRIBS
public static final String RETOBJ
public static final String DEREF
public static final String USERDN
public static final String USERPW
public static final String SBIND
public static final String COMPARE
public static final String SUSERDN
public static final String SUSERPW
public static final String COMPAREDN
public static final String COMPAREFILT
public static final String RENAME
public static final String MODDDN
public static final String NEWDN
Constructor Detail |
public LDAPExtSampler()
Method Detail |
public String getUserDN()
public void SetUserDN(String newUserDN)
public String getUserPw()
public void setUserPw(String newUserPw)
public String getSuserDN()
public void SetSuserDN(String newUserDN)
public String getSuserPw()
public void setSuserPw(String newUserPw)
public void setServername(String servername)
servername
- The new servername valuepublic void setPort(String port)
port
- The new Port valuepublic String getServername()
public String getPort()
public void setRootdn(String newRootdn)
public String getRootdn()
public String getScope()
public void setScope(String newScope)
public String getCountlim()
public void setCountlim(String newClim)
public String getTimelim()
public void setTimelim(String newTlim)
public boolean getRetobj()
public void setRetobj(String newRobj)
public boolean getDeref()
public void setDeref(String newDref)
public void setTest(String newTest)
public String getTest()
public void setAttrs(String newAttrs)
public String getAttrs()
public void setBaseEntryDN(String newbaseentry)
public String getBaseEntryDN()
public void setArguments(Arguments value)
value
- The argumentspublic Arguments getArguments()
public void setLDAPArguments(LDAPArguments value)
value
- The argumentspublic LDAPArguments getLDAPArguments()
public BasicAttributes getUserAttributes()
public ModificationItem[] getUserModAttributes()
public String[] getRequestAttributes(String reqAttr)
public BasicAttribute getBasicAttribute(String name, String value)
public String getLabel()
public SampleResult sample(Entry e)
sample
in interface Sampler
e
- !ToDo (Parameter description)
public void testStarted()
TestListener
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testEnded()
TestListener
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testStarted(String host)
testStarted
in interface TestListener
public void testEnded(String host)
testEnded
in interface TestListener
public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
-
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |