Get Knowledge from Video instead of Content:

Friday, 21 July 2017

JMeter - Interview Question #2

Q. 6 Why Regular expression is used in JMeter?
Ans: Regular Expression is used to find out the dynamic value returned by the server like session ID, order number etc. and then pass that value in the next requests. Based on the pattern, a regular expression is used to search and manipulate text. You can learn regular expression by clicking here.  

Q. 7 If you do not know how to write regular expression then how can you capture the dynamic values in the JMeter script?
Ans: In JMeter 4.0, a new element called "Boundary Extractor" has been introduced where we need to provide left and right text (boundary) of dynamic value. It has the same concept as LoadRunner. 

Q. 8. What is the difference between Boundary Extractor and Regular Expression Extractor?
Ans: Both are used for capturing the dynamic values but regular expression extractor uses regular expression token whereas boundary extractor uses the left and right boundaries. To learn more click here.

Q. 9 What is a thread group in JMeter?
Ans. A Thread Group is an element of the JMeter test plan that represents a pool of virtual users performing a set of operations and helps to create the expected scenario.

Q. 10 What are the different types of Thread Group in JMeter?
Ans: Following are the thread groups. Click on the name to get more information about related thread group:
a. Normal Thread Group
b. Ultimate Thread Group
c. stepUp Thread Group
d. Concurrency Thread Group  
e. tearDown Thread Group
f. Arrivals Thread Group
g. Free-Form Arrivals Thread Group
Next: JMeter Interview Question #3

Previous: JMeter Interview Question #1

No comments :

Post a Comment