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
How do you ensure re-usability in your jmeter scripts?
Explain what is test fragment?
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 can it be achieved?
What are the differences between jmeter & loadrunner?
What are the types of a processor in jmeter?
What is the role of timer in jmeter?
Explain how you can reduce the resource requirement in jmeter?
Explain where you can use functions and variables?
What are the major differences between jmeter and load runner.
Is it necessary to call embedded resources explicitly in jmeter?
Explain how you can capture the script of the authentication window in jmeter?
How to reduce the resource requirement in jmeter?
What are the important plugins supported in jmeter?