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 Parametrization 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:
Q. 13 What are the types of a processor in JMeter?
Ans: The types of a processor in JMeter are
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
Next: JMeter Interview Question #4
Previous: JMeter Interview Question #2
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 Parametrization 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:
a. CSV Data Set Config
b. User Defined Variables
c. User ParameterTo know more about differences in all these three parameterization components click here.
Q. 13 What are the types of a processor in JMeter?
Ans: The types of a processor in JMeter are
a. Pre-processor: Execute before the parent element
b. Post processor: Execute after the parent elementQ. 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
Next: JMeter Interview Question #4
Previous: JMeter Interview Question #2
No comments :
Post a Comment