What is the use of regular expression in jmeter?



What is the use of regular expression in jmeter?..

Answer / darshan36

With regular expression we can pass username or password "Dynamically".
Expression is (.+?)
Example- Consider a login credentials has username as Admin and password as Super. If in case the credentials are hard-coded with the above values and if credentials are changed than the entire script will fail. In order to avoid we use username =(.+?) and password=(.+?)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache JMeter Interview Questions

What is the use of regular expression in jmeter?

1 Answers  


What are the important plugins supported in jmeter?

0 Answers  


What are the different ways of data parameterization in jmeter?

0 Answers  


What are the types of processors in jmeter?

0 Answers  


What are the major differences between jmeter and load runner.

0 Answers  






What are samplers & thread groups?

0 Answers  


How do you manage sessions and cookies in jmeter?

0 Answers  


What is distributed testing?

0 Answers  


What are regular expressions in jmeter?

0 Answers  


What are the types of controllers in jmeter?

0 Answers  


Explain what is jmeter?

0 Answers  


Is it necessary to call embedded resources explicitly in jmeter?

0 Answers  


Categories