---
title: "Login Config Element"
description: "Configure the JMeter Login Config Element configuration elements: properties, defaults, and practical usage notes for building reliable load tests."
url: https://docs.jmeter.ai/components/login-config-element/
lastUpdated: 2026-10-01
source: docs.jmeter.ai
---

# Login Config Element

*Part of the **Configuration Elements** category. Also documented in context in the [full Component Reference](/user-manual/component-reference/#login-config-element).*

![Login Config Element](/images/screenshots/login-config.png)

The Login Config Element lets you add or override username and password settings in samplers that use username and password as part of their setup.

| Name | Required | Description |
| --- | --- | --- |
| Name | No | Descriptive name for this element that is shown in the tree. |
| Username | No | The default username to use. |
| Password | No | The default password to use. (N.B. this is stored unencrypted in the test plan) |

## Related

- [CSV Data Set & Parameterization](/topics/csv-data-set-config-guide/)
- [Thread Calculator](/tools/thread-calculator/)
- [Full Component Reference](/user-manual/component-reference/)
- [Functions and Variables](/user-manual/functions/)
