This is model class for the LdapConfigGui. This will hold all the LDAP
config value.
Method from org.apache.jmeter.protocol.ldap.config.LdapConfig Detail: |
public Arguments getArguments() {
return (Arguments) getProperty(LDAPSampler.ARGUMENTS).getObjectValue();
}
Gets the Arguments attribute of the LdapConfig object. |
public String getLabel() {
return ("ldap://" + "this.getServername()" + "/" + this.getRootdn());
}
Returns a formatted string label describing this sampler. |
public String getRootdn() {
return getPropertyAsString(LDAPSampler.ROOTDN);
}
Gets the Rootdn attribute of the LdapConfig object. |
public String getTest() {
return getPropertyAsString(LDAPSampler.TEST);
}
Gets the test attribute of the LdapConfig object. |
public boolean getUserDefinedTest() {
return getPropertyAsBoolean(LDAPSampler.USER_DEFINED);
}
Gets the UserDefinedTest attribute of the LdapConfig object. |
public void setArguments(Arguments value) {
setProperty(new TestElementProperty(LDAPSampler.ARGUMENTS, value));
}
Sets the Arguments attribute of the LdapConfig object.
This will collect values from the table for user defined test
case. |
public void setRootdn(String newRootdn) {
this.setProperty(LDAPSampler.ROOTDN,newRootdn);
}
Sets the Rootdn attribute of the LdapConfig object. |
public void setTest(String newTest) {
this.setProperty(LDAPSampler.TEST,newTest);
}
Sets the Test attribute of the LdapConfig object. |
public void setUserDefinedTest(boolean value) {
setProperty(new BooleanProperty(LDAPSampler.USER_DEFINED, value));
}
Sets the UserDefinedTest attribute of the LdapConfig object. |