Following is the set of JMeter Interview Questions #3.
Q. 11 What is the purpose of Sampler?
Ans: Samplers are used to emulate the web page. Each sampler belongs to an individual request which hit to the server during the test execution. These samplers result to find the attributes like elapsed time, data size, etc. of a particular request. Samplers allow JMeter to send specific types of requests to the server, through different types of samplers. Some of the useful samplers are HTTP request, FTP request, JDBC request and so on.
Q. 12 What are the different ways of Data Parameterization in JMeter?
Ans: Data Parametrization makes the scripts reusable where the values need not be hardcoded for the same request with different parameters. Below is the data parametrization that is supported in JMeter:
- CSV Data Set Config
- User Defined Variables
- User Parameter
Q. 13 What are the types of a processor in JMeter?
Ans: The types of a processor in JMeter are
- Pre-processor: Execute before the parent element
- Post-processor: Execute after the parent element
Q. 14 What are the maximum recommended threads on a single system?
Ans: It depends on the hardware configuration like the processor, JVM, allocated memory -Xmx, etc. of the machine on which JMeter (or load generator) lie. Other factors which impact the thread count are the number of components in the test plan i.e. the number of config elements or processors and it also depends on whether the test executed in GUI/Non-GUI Mode.
Q. 15 What is the execution order of Test Elements?
Ans: The test plans elements execute in the given order:
You may be interested: