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
Can jmeter measure the performance of a complete application? For example, you have multiple screens in your mobile app. Can jmeter measure the time taken to flip the screens?
Why is it recommended to run jmeter in gui mode?
What is a timer in jmeter?
What are the differences between jmeter & loadrunner?
List the tyoes of assertion in jmeter?
Explain the flow of test script recorder.
What is distributed testing?
Explain the syntax of jmeter variables and functions.
Explain where you can use functions and variables?
How to do master-slave configuration in jmeter?
Whether the test plans built using jmeter are os dependent?
What are the different ways of data parametrization in jmeter?
What is distributed load testing & how to achieve it?
What does “contain” and “matches” indicates in the regular expression?
What are pre-processor & post-processor elements?