Pages

Friday, 21 July 2017

JMeter - Interview Question #4

Q. 16 What is the use of the configuration elements?
Ans: To set up defaults values and variables for later use, default config element added under the Test Plan. At the start of the scope, these elements are processed before any samplers in the same scope.

Q. 17 What is Test Fragment?
Ans: Test fragment is also a type of element like Thread Group element. The only difference is test fragment is not implemented unless it is referenced by either a Module controller or an Include controller. Get more detail on Test Fragment here.

Q. 18 What do you know about assertions?
Ans: The actual task of assertions is to validate the response. It checks certain values in the response coming from the server.

Q. 19 What is the Timer in JMeter?
Ans. Timers are used for halting the test execution of a thread for a certain predefined time. These timers are used for simulating the real user think time. The different types of timers available in JMeter are:
a. Constant Timer
b. Gaussian Random Timer
c. Uniform Random Timer
d. Constant Throughput Timer
e. Synchronizing Timer
f. Beanshell timer
g. Throughput Shaping Timer
h. JSR223 Timer
i. Poisson Random Timer 
Q. 20 What are the listeners in JMeter?
Ans: Listeners are used for storing the execution results of load testing in different forms like table, graph, tree or in any other presentable format so that it can be presented to the client. 

Next: JMeter Interview Question #5

Previous: JMeter Interview Question #3

No comments:

Post a Comment