org.apache.jmeter.config

## Class LoginConfig

- java.lang.Object
- - org.apache.jmeter.testelement.AbstractTestElement
  - - org.apache.jmeter.config.ConfigTestElement
    - - org.apache.jmeter.config.LoginConfig

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, ConfigElement, Searchable, TestElement

      public class LoginConfig
      extends ConfigTestElement
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.apache.jmeter.config.ConfigTestElement

      `PASSWORD, USERNAME`

    - ### Fields inherited from interface org.apache.jmeter.testelement.TestElement

      `COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoginConfig()` Constructor for the LoginConfig object.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getPassword()` Gets the Password attribute of the LoginConfig object.
    `java.lang.String` | `getUsername()` Gets the Username attribute of the LoginConfig object.
    `void` | `setPassword(java.lang.String password)` Sets the Password attribute of the LoginConfig object.
    `void` | `setUsername(java.lang.String username)` Sets the Username attribute of the LoginConfig object.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class org.apache.jmeter.config.ConfigTestElement

      `addConfigElement, addTestElement, expectsModification`

    - ### Methods inherited from class org.apache.jmeter.testelement.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, traverseProperty`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.jmeter.config.ConfigElement

      `clone`

    - ### Methods inherited from interface org.apache.jmeter.testelement.TestElement

      `removed`

- - ### Constructor Detail

    - #### LoginConfig

          public LoginConfig()

      Constructor for the LoginConfig object.

  - ### Method Detail

    - #### setUsername

          public void setUsername(java.lang.String username)

      Sets the Username attribute of the LoginConfig object.
      Parameters:
        `username` - the new Username value

    - #### setPassword

          public void setPassword(java.lang.String password)

      Sets the Password attribute of the LoginConfig object.
      Parameters:
        `password` - the new Password value

    - #### getUsername

          public java.lang.String getUsername()

      Gets the Username attribute of the LoginConfig object.
      Returns:
        the Username value

    - #### getPassword

          public java.lang.String getPassword()

      Gets the Password attribute of the LoginConfig object.
      Returns:
        the Password value

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.