Config elements are used to configure or modify the sampler requests made to the server. These elements are added at the same or higher level of the samplers that we want to configure.
How to add an Config elements-
step 1:Right Click on either of Test Plan/Thread Group/Logic Controller
step 2:Hover over Add choose Config Element and Click on the required Config Element
for reference you can see the following screenshot.
The config elements are counter,csv data set config,FTP request default,HTTP header manager ,HTTP cookie manager,Login config element,random variable,user defined variable,HTTP header request defaults , JDBC request defaults etc.
CSV Data Set Config
The CSV Data Set Config is used to read data from CSV file, put the data into variable(s) and then use the variable(s) in the sampler requests.
HTTP Cache Manager
The HTTP Cache manager is used in test scripts to add the Caching functionalities of web applications. This element is just required to be added at same level or higher than the sampler request where caching functionality is required.
HTTP Cookie Manager
The HTTP Cookie manager is required to for session handling by providing functionality of storing and sending of cookies.
User Defined Variables
As the name suggests, the User Defined Variable config element is used to create variables with a value (key-value pairs) that are used across the test script.
Random Variable
The random variable config element is used to generate random numeric values within a range of specified minimum and maximum values.
Counter
The counter config element is used to create a variable that gets incremented by a specified value in each iteration within a range of minimum and maximum values.
JDBC Connection Configuration
JDBC Connection Configuration is used with JDBC request sampler to create JDBC connection settings.
FTP Request Defaults
The FTP request defaults are used to create default settings while testing FTP servers.
DNS Cache Manager
The DNS Cache Manager is used while testing applications behind the load-balancers.
HTTP Authorization Manager
The HTTP Authorization Manager is used for testing applications requiring multiple logins for ensuring authorization.
HTTP Request Defaults
The HTTP Request Defaults config element is used for setting default values for HTTP requests.
HTTP Header Manager
The HTTP Header Manager is used to override the HTTP request headers.
Java Request Defaults
The Java request defaults config elements is used to specify default values for Java Request sampler.
Keystore Configuration
The Keystore Configuration config element is used to configure the loading of keystores.
Login Config Element
The logic Config element is used to create default credentials for the samplers using username and password in their setup
LDAP Request Defaults
The LDAP request defaults are used to create default settings while testing LDAP servers.
LDAP Extended Request Defaults
The LDAP extended request defaults are used to create default settings for LDAP Extended Request samplers.
TCP Sampler Config
The TCP Sampler Config is used for creating default settings for TCP Sampler.
Simple Config Element
The simple config element is used to create key-value pairs that can be used across the test script.
No comments:
Post a Comment