Class LoginConfig
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.config.ConfigTestElement
org.apache.jmeter.config.LoginConfig
- All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
- See Also:
-
Field Summary
Fields inherited from class ConfigTestElement
PASSWORD, USERNAMEFields inherited from interface TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Password attribute of the LoginConfig object.Gets the Username attribute of the LoginConfig object.voidsetPassword(String password) Sets the Password attribute of the LoginConfig object.voidsetUsername(String username) Sets the Username attribute of the LoginConfig object.toString()Methods inherited from class ConfigTestElement
addConfigElement, addTestElement, expectsModificationMethods inherited from class AbstractTestElement
addPropertiesValues, addProperty, addProperty, 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, traversePropertyMethods inherited from interface ConfigElement
clone
-
Constructor Details
-
LoginConfig
public LoginConfig()Constructor for the LoginConfig object.
-
-
Method Details
-
setUsername
Sets the Username attribute of the LoginConfig object.- Parameters:
username- the new Username value
-
setPassword
Sets the Password attribute of the LoginConfig object.- Parameters:
password- the new Password value
-
getUsername
Gets the Username attribute of the LoginConfig object.- Returns:
- the Username value
-
getPassword
Gets the Password attribute of the LoginConfig object.- Returns:
- the Password value
-
toString
-