Pages

Monday 30 January 2017

JMeter - Config Element - "Login Config"

The simple definition of "Login Config" component is the element which is used as a global component to add or override the credential in the following Samplers added to the test plan. This element is specially used for authentication. You can mention username and password in the login-config element and that can be replaced in the sampler.

How to add "Login Config" element?
You can follow steps to add Login Config element:
1. Select "Test Plan" node
2. Right click on "Test Plan" node
3. Mouse hovers "Add"
4. Mouse hovers "Config Element"
5. Click "Login Config" 


How to remove "Login Config" element?
You can follow steps:
1. Select "Login Config" node
2. Right click on "Login Config" node
3. Click "Remove" (Mouse) or "Delete" button from the keyboard
4. Click "Yes"

What are the attributes of "Login Config" element?
"Login Config" has attributes:
  • Name: To provide element name
  • Comments: To provide arbitrary comments (if any)
  • Username: The username which needs to be added or override.
  • Password: The default password to log in. Please note it stores unencrypted password and passes the same to the test plan.
Next Topic:
Apache JMeter - "Random Variable" Element

Previous Topic:
Apache JMeter - "LDAP Request Defaults" Element

Related Topics:

No comments:

Post a Comment