# JMeter Settings

When a JMeter script is executed, execution is done with some predefined configurations. You can use Advanced Settings Panel to override those configurations, which will change the default values set within `jmeter.properties` file. Furthermore, you can also define variables and change their values using these settings.

<figure><img src="/files/HfsgGRYCtYvDxEW3NA28" alt=""><figcaption></figcaption></figure>

## Variable Referencing

You can create references to your variables within your JMeter script. This allows you to easily manage your variables within the script, without needing re-upload the script everytime you want to make changes.

**1)**&#x59;ou can enter the reference name on the left column (var1), and enter the value on the right column (aaa):

<figure><img src="/files/XPrF2Z6ngVb0T8DwptwN" alt=""><figcaption></figcaption></figure>

**2)** Then you can capture the reference by using the annotation `${__P(var1)}`:

![](/files/E51rX1zPiJCXlHWJxI2r)

**3)** The given value in the right column will be used within the script.

Example result in the report page: ![](/files/jFwcffXURp1v1f7qAEYT)

{% hint style="info" %}
**Example Use Case:** Setting the target URL address as a variable (for test environment for example), and then changing that URL address by using Advanced Settings Panel.
{% endhint %}

{% hint style="info" %}
🙌🏻**Example:** If you want to change that JTL to save response headers, you need to set *JMeter.save.saveservice.responseHeaders* to true
{% endhint %}

You can also add additional command line parameters to your execution.&#x20;

Every JMeter script creates a JTL file after its execution. That JTL files content is defined by JMeter.properties file and Loadium always executes the default one. You can change the JTL file’s content by using this option.

{% hint style="warning" %}
**Note:** Those values must be carefully selected as they might corrupt the test and its results.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.loadium.com/test-settings/jmeter-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
