Config Element in JMeter

Config Element in JMeter allows us to modify the samplers we have added. You can create custom and default variable through Config Element which can modify samplers. The scope of this element is the start of the scope where they are located.

Config Element in JMeter

Below is the list of config element JMeter supports.

  • CSV Data Set Config
  • FTP Request Defaults
  • HTTP Authorization Manager
  • HTTP Cache Manager
  • KeyStore Configuration
  • HTTP Proxy Server
  • HTTP Request Defaults
  • Counter
  • HTTP Header Manager
  • Java Request Defaults
  • HTTP Cookie Manager
  • JDBC Connection Configuration
  • Login Config Element
  • LDAP Request Defaults
  • LDAP Extended Request Defaults
  • TCP Sampler Config
  • User Defined Variables
  • Simple Config Element
  • Random Variable

Let’s understand details of some of the config Elements.

CSV Data set Config:

CSV Data set Config read data from CSV file and put this data to a variable. This variable will be used to run the test in JMeter. Below is the screenshot of the CSV Data Set Config Element.

Config Element in JMeter

HTTP Cache Manager:

If your application requires Caching functionality should beaded to test, then HTTP Cache Manager should be added. This element should be added in same level or higher than the sampler request . Below is the screenshot of the HTTP Cache Manager Element.

Config Element in JMeter

HTTP Cookie Manager:

HTTP Cookies Manager will handle the session. This is achieved by providing the functionality of sending the stored cookies.

HTTP Cookie Manager:

Random Variable:

This config element will generate random values between certain range.

Random Variable

JDBC Connection Configuration:

JDBC Configuration element can connect from application to database. Here you need the database details to configure in this Config Element. To work with this config element you need to have some basic knowledge on SQL Queries.

JDBC Connection Configuration:

Now we have understood the details view of config element in JMeter. IN next section we will discuss on Listener in JMeter

Leave a Reply

Your email address will not be published. Required fields are marked *