JMeter Interview Questions #3

JMeter Interview Question 03

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:

  1. CSV Data Set Config
  2. User Defined Variables
  3. User Parameter

Read More …


Q. 13 What are the types of a processor in JMeter?

Ans: The types of a processor in JMeter are

  1. Pre-processor: Execute before the parent element
  2. 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:

Test Plan

Configuration elements

Thread Group

Pre-processors

Timers

Samplers

Post-processors

Assertions

Listeners


You may be interested:


Leave a Reply

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