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 are the different ways of data parameterization in jmeter?
What is the use of co-relation in jmeter?
How you can capture the script of the authentication window in jmeter?
Where you can use functions and variables?
What are samplers & thread groups?
What are configuration elements?
What are pre-processor elements?
What is assertion in jmeter?
What is samplers and thread groups?
What are pre-processor & post-processor elements?
What does “contains” and “matches” indicate in the regular expression?
In jmeter is it necessary to call embedded resources explicitly?
What are the protocols supported by jmeter?
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?
Explain how you can capture the script of the authentication window in jmeter?