|
Apache JMeter | ||||||||
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.LDAPSampler
public class LDAPSampler
Ldap Sampler class is main class for the LDAP test. This will control all the test available in the LDAP Test.
Field Summary | |
---|---|
static java.lang.String |
ADD
|
static java.lang.String |
ARGUMENTS
|
static java.lang.String |
BASE_ENTRY_DN
|
static java.lang.String |
DELETE
|
static java.lang.String |
MODIFY
|
static java.lang.String |
PORT
|
static java.lang.String |
ROOTDN
|
static java.lang.String |
SEARCHBASE
|
static java.lang.String |
SEARCHFILTER
|
static java.lang.String |
SERVERNAME
|
static java.lang.String |
TEST
|
static java.lang.String |
USER_DEFINED
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
LDAPSampler()
|
Method Summary | |
---|---|
Arguments |
getArguments()
Gets the Arguments attribute of the LdapConfig object. |
java.lang.String |
getBaseEntryDN()
Gets the BaseEntryDN attribute of the LDAPSampler object. |
java.lang.String |
getLabel()
Returns a formatted string label describing this sampler |
java.lang.String |
getPassword()
Gets the password attribute of the LDAP object. |
java.lang.String |
getPort()
Gets the Port attribute of the LDAPSampler object. |
java.lang.String |
getRootdn()
Gets the Rootdn attribute of the LDAPSampler object. |
java.lang.String |
getServername()
Gets the servername attribute of the LDAPSampler object. |
java.lang.String |
getTest()
Gets the test attribute of the LDAPSampler object. |
boolean |
getUserDefinedTest()
Gets the UserDefinedTest attribute of the LDAPSampler object. |
java.lang.String |
getUsername()
Gets the username attribute of the LDAP object. |
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information into a SampleResult. |
void |
setArguments(Arguments value)
Sets the Arguments attribute of the LdapConfig object. |
void |
setBaseEntryDN(java.lang.String newbaseentry)
Sets the Base Entry DN attribute of the LDAPSampler object. |
void |
setPort(java.lang.String port)
Sets the Port attribute of the ServerConfig object. |
void |
setRootdn(java.lang.String newRootdn)
Sets the Rootdn attribute of the LDAPSampler object. |
void |
setServername(java.lang.String servername)
Sets the Servername attribute of the ServerConfig object. |
void |
setTest(java.lang.String newTest)
Sets the Test attribute of the LdapConfig object. |
void |
setUserDefinedTest(boolean value)
Sets the UserDefinedTest attribute of the LDAPSampler object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
---|
addTestElement, canRemove, clear, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
Field Detail |
---|
public static final java.lang.String SERVERNAME
public static final java.lang.String PORT
public static final java.lang.String ROOTDN
public static final java.lang.String TEST
public static final java.lang.String ADD
public static final java.lang.String MODIFY
public static final java.lang.String DELETE
public static final java.lang.String SEARCHBASE
public static final java.lang.String SEARCHFILTER
public static final java.lang.String USER_DEFINED
public static final java.lang.String ARGUMENTS
public static final java.lang.String BASE_ENTRY_DN
Constructor Detail |
---|
public LDAPSampler()
Method Detail |
---|
public java.lang.String getUsername()
public java.lang.String getPassword()
public void setServername(java.lang.String servername)
servername
- the new servername valuepublic void setPort(java.lang.String port)
port
- the new Port valuepublic java.lang.String getServername()
public java.lang.String getPort()
public void setRootdn(java.lang.String newRootdn)
newRootdn
- the new rootdn valuepublic java.lang.String getRootdn()
public void setTest(java.lang.String newTest)
newTest
- the new test value(Add,Modify,Delete and search)public java.lang.String getTest()
public void setUserDefinedTest(boolean value)
value
- the new UserDefinedTest valuepublic boolean getUserDefinedTest()
public void setBaseEntryDN(java.lang.String newbaseentry)
newbaseentry
- the new Base entry DN valuepublic java.lang.String getBaseEntryDN()
public void setArguments(Arguments value)
value
- the argumentspublic Arguments getArguments()
public java.lang.String getLabel()
public SampleResult sample(Entry e)
Sampler
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |