public class LDAPExtSampler
extends org.apache.jmeter.samplers.AbstractSampler
implements org.apache.jmeter.testelement.TestStateListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADD |
static java.lang.String |
ARGUMENTS |
static java.lang.String |
ATTRIBS |
static java.lang.String |
BASE_ENTRY_DN |
static java.lang.String |
BIND |
static java.lang.String |
COMPARE |
static java.lang.String |
COMPAREDN |
static java.lang.String |
COMPAREFILT |
static java.lang.String |
CONNTO |
static java.lang.String |
COUNTLIM |
static java.lang.String |
DELETE |
static java.lang.String |
DEREF |
static java.lang.String |
LDAPARGUMENTS |
static java.lang.String |
MODDDN |
static java.lang.String |
MODIFY |
static java.lang.String |
NEWDN |
static java.lang.String |
PARSEFLAG |
static java.lang.String |
PORT |
static java.lang.String |
RENAME |
static java.lang.String |
RETOBJ |
static java.lang.String |
ROOTDN |
static java.lang.String |
SBIND |
static java.lang.String |
SCOPE |
static java.lang.String |
SEARCH |
static java.lang.String |
SEARCHBASE |
static java.lang.String |
SEARCHFILTER |
static java.lang.String |
SECURE |
static java.lang.String |
SERVERNAME |
static java.lang.String |
TEST |
static java.lang.String |
TIMELIM |
static java.lang.String |
UNBIND |
static java.lang.String |
USERDN |
static java.lang.String |
USERPW |
| Constructor and Description |
|---|
LDAPExtSampler()
!
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(org.apache.jmeter.config.ConfigTestElement configElement) |
org.apache.jmeter.config.Arguments |
getArguments()
Gets the Arguments attribute of the LdapConfig object
|
java.lang.String |
getAttrs()
Gets the attributes of the LDAPSampler object
|
java.lang.String |
getBaseEntryDN()
Gets the BaseEntryDN attribute of the LDAPSampler object
|
java.lang.String |
getConnTimeOut() |
java.lang.String |
getCountlim()
Gets the size limit attribute of the LDAPSampler object
|
long |
getCountlimAsLong() |
java.lang.String |
getLabel()
Returns a formatted string label describing this sampler Example output:
|
LDAPArguments |
getLDAPArguments()
Gets the LDAPArguments attribute of the LdapConfig 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 |
getScope()
Gets the search scope attribute of the LDAPSampler object
|
int |
getScopeAsInt() |
java.lang.String |
getServername()
Gets the servername attribute of the LDAPSampler object
|
java.lang.String |
getTest()
Gets the test attribute of the LDAPSampler object
|
java.lang.String |
getTimelim()
Gets the time limit attribute of the LDAPSampler object
|
int |
getTimelimAsInt() |
java.lang.String |
getUserDN()
Gets the username attribute of the LDAP object
|
java.lang.String |
getUserPw()
Gets the password attribute of the LDAP object
|
boolean |
isDeref()
Gets the deref attribute of the LDAPSampler object
|
boolean |
isParseFlag() |
boolean |
isRetobj()
Gets the return objects attribute of the LDAPSampler object
|
boolean |
isSecure() |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
void |
setArguments(org.apache.jmeter.config.Arguments value)
Sets the Arguments attribute of the LdapConfig object This will collect
values from the table for user defined test case
|
void |
setAttrs(java.lang.String newAttrs)
Sets the attributes of the LdapConfig object
|
void |
setBaseEntryDN(java.lang.String newbaseentry)
Sets the Base Entry DN attribute of the LDAPSampler object
|
void |
setConnTimeOut(java.lang.String connto) |
void |
setCountlim(java.lang.String newClim)
Sets the size limit attribute of the LDAPSampler object
|
void |
setDeref(java.lang.String newDref)
Sets the deref 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 |
setParseFlag(java.lang.String parseFlag) |
void |
setPort(java.lang.String port)
Sets the Port attribute of the ServerConfig object
|
void |
setRetobj(java.lang.String newRobj)
Sets the return objects attribute of the LDAPSampler object
|
void |
setRootdn(java.lang.String newRootdn)
Sets the Rootdn attribute of the LDAPSampler object
|
void |
setScope(java.lang.String newScope)
Sets the search scope attribute of the LDAPSampler object
|
void |
setSecure(java.lang.String sec) |
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 |
setTimelim(java.lang.String newTlim)
Sets the time limit attribute of the LDAPSampler object
|
void |
setUserDN(java.lang.String newUserDN)
Sets the username attribute of the LDAP object
|
void |
setUserPw(java.lang.String newUserPw)
Sets the password attribute of the LDAP object
|
void |
testEnded() |
void |
testEnded(java.lang.String host) |
void |
testStarted() |
void |
testStarted(java.lang.String host) |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traversepublic static final java.lang.String SERVERNAME
public static final java.lang.String PORT
public static final java.lang.String SECURE
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 BIND
public static final java.lang.String UNBIND
public static final java.lang.String DELETE
public static final java.lang.String SEARCH
public static final java.lang.String SEARCHBASE
public static final java.lang.String SEARCHFILTER
public static final java.lang.String ARGUMENTS
public static final java.lang.String LDAPARGUMENTS
public static final java.lang.String BASE_ENTRY_DN
public static final java.lang.String SCOPE
public static final java.lang.String COUNTLIM
public static final java.lang.String TIMELIM
public static final java.lang.String ATTRIBS
public static final java.lang.String RETOBJ
public static final java.lang.String DEREF
public static final java.lang.String USERDN
public static final java.lang.String USERPW
public static final java.lang.String SBIND
public static final java.lang.String COMPARE
public static final java.lang.String CONNTO
public static final java.lang.String COMPAREDN
public static final java.lang.String COMPAREFILT
public static final java.lang.String PARSEFLAG
public static final java.lang.String RENAME
public static final java.lang.String MODDDN
public static final java.lang.String NEWDN
public void setConnTimeOut(java.lang.String connto)
public java.lang.String getConnTimeOut()
public void setSecure(java.lang.String sec)
public boolean isSecure()
public boolean isParseFlag()
public void setParseFlag(java.lang.String parseFlag)
public java.lang.String getUserDN()
public void setUserDN(java.lang.String newUserDN)
newUserDN - distinguished name of the userpublic java.lang.String getUserPw()
public void setUserPw(java.lang.String newUserPw)
newUserPw - password of the userpublic 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 java.lang.String getScope()
public int getScopeAsInt()
public void setScope(java.lang.String newScope)
newScope - The new scope valuepublic java.lang.String getCountlim()
public long getCountlimAsLong()
public void setCountlim(java.lang.String newClim)
newClim - The new size limit valuepublic java.lang.String getTimelim()
public int getTimelimAsInt()
public void setTimelim(java.lang.String newTlim)
newTlim - The new time limit valuepublic boolean isRetobj()
public void setRetobj(java.lang.String newRobj)
newRobj - whether the objects should be returnedpublic boolean isDeref()
public void setDeref(java.lang.String newDref)
newDref - The new deref valuepublic void setTest(java.lang.String newTest)
newTest - The new test value(Add,Modify,Delete and search)public java.lang.String getTest()
public void setAttrs(java.lang.String newAttrs)
newAttrs - The new attributes valuepublic java.lang.String getAttrs()
public void setBaseEntryDN(java.lang.String newbaseentry)
newbaseentry - The new Base entry DN valuepublic java.lang.String getBaseEntryDN()
public void setArguments(org.apache.jmeter.config.Arguments value)
value - The argumentspublic org.apache.jmeter.config.Arguments getArguments()
public void setLDAPArguments(LDAPArguments value)
value - The argumentspublic LDAPArguments getLDAPArguments()
public java.lang.String getLabel()
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample in interface org.apache.jmeter.samplers.Samplerpublic void testStarted()
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded()
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic void testStarted(java.lang.String host)
testStarted in interface org.apache.jmeter.testelement.TestStateListenerpublic void testEnded(java.lang.String host)
testEnded in interface org.apache.jmeter.testelement.TestStateListenerpublic boolean applies(org.apache.jmeter.config.ConfigTestElement configElement)
applies in interface org.apache.jmeter.engine.util.ConfigMergabilityIndicatorapplies in class org.apache.jmeter.samplers.AbstractSamplerAbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.