JMeter Settings
Brief guide for JMeter Settings while creating JMeter Tests
Last updated
Brief guide for JMeter Settings while creating JMeter Tests
Last updated
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.
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)You can enter the reference name on the left column (var1), and enter the value on the right column (aaa):
2) Then you can capture the reference by using the annotation ${__P(var1)}
:
3) The given value in the right column will be used within the script.
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.
ππ»Example: If you want to change that JTL to save response headers, you need to set JMeter.save.saveservice.responseHeaders to true
You can also add additional command line parameters to your execution.
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.
Note: Those values must be carefully selected as they might corrupt the test and its results.
Example result in the report page: