Answer Posted / 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 View All Answers
What is test fragment?
How you can perform spike testing in jmeter?
What are pre-processor elements? List some of the pre-processor elements?
Explain what is samplers and thread groups?
What is distributed load testing & how to achieve it?
What is a timer in jmeter?
What is jmeter?
What are the jmeter supported protocols?
Explain the syntax of jmeter variables and functions.
Explain how you can reduce the resource requirement in jmeter?
Explain the difference between gaussian and poisson timers.
What are the different ways of data parameterization in jmeter?
What are the different types of listeners?
Explain how jmeter works?
What is a workbench and why is it required?