|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 String |
ADD
|
static String |
ARGUMENTS
|
static String |
BASE_ENTRY_DN
|
static String |
DELETE
|
static String |
MODIFY
|
static String |
PORT
|
static String |
ROOTDN
|
static String |
SEARCHBASE
|
static String |
SEARCHFILTER
|
static String |
SERVERNAME
|
static String |
TEST
|
static String |
USER_DEFINED
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
LDAPSampler()
|
Method Summary | |
---|---|
boolean |
applies(ConfigTestElement configElement)
Does configElement apply to Sampler |
Arguments |
getArguments()
Gets the Arguments attribute of the LdapConfig object. |
String |
getBaseEntryDN()
Gets the BaseEntryDN attribute of the LDAPSampler object. |
String |
getLabel()
Returns a formatted string label describing this sampler |
String |
getPassword()
Gets the password attribute of the LDAP object. |
String |
getPort()
Gets the Port attribute of the LDAPSampler object. |
String |
getRootdn()
Gets the Rootdn attribute of the LDAPSampler object. |
String |
getServername()
Gets the servername attribute of the LDAPSampler object. |
String |
getTest()
Gets the test attribute of the LDAPSampler object. |
boolean |
getUserDefinedTest()
Gets the UserDefinedTest attribute of the LDAPSampler object. |
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(String newbaseentry)
Sets the Base Entry DN attribute of the LDAPSampler object. |
void |
setPort(String port)
Sets the Port attribute of the ServerConfig object. |
void |
setRootdn(String newRootdn)
Sets the Rootdn attribute of the LDAPSampler object. |
void |
setServername(String servername)
Sets the Servername attribute of the ServerConfig object. |
void |
setTest(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, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, 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 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 DELETE
public static final String SEARCHBASE
public static final String SEARCHFILTER
public static final String USER_DEFINED
public static final String ARGUMENTS
public static final String BASE_ENTRY_DN
Constructor Detail |
---|
public LDAPSampler()
Method Detail |
---|
public String getUsername()
public String getPassword()
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)
newRootdn
- the new rootdn valuepublic String getRootdn()
public void setTest(String newTest)
newTest
- the new test value(Add,Modify,Delete and search)public String getTest()
public void setUserDefinedTest(boolean value)
value
- the new UserDefinedTest valuepublic boolean getUserDefinedTest()
public void setBaseEntryDN(String newbaseentry)
newbaseentry
- the new Base entry DN valuepublic String getBaseEntryDN()
public void setArguments(Arguments value)
value
- the argumentspublic Arguments getArguments()
public String getLabel()
public SampleResult sample(Entry e)
Sampler
public boolean applies(ConfigTestElement configElement)
AbstractSampler
applies
in interface ConfigMergabilityIndicator
applies
in class AbstractSampler
configElement
- ConfigTestElement
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |