Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of regular expression in jmeter?

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


Please Help Members By Posting Answers For Below Questions

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?

574


Why is it recommended to run jmeter in gui mode?

641


What is a timer in jmeter?

673


What are the differences between jmeter & loadrunner?

719


List the tyoes of assertion in jmeter?

601


Explain the flow of test script recorder.

657


What is distributed testing?

623


Explain the syntax of jmeter variables and functions.

697


Explain where you can use functions and variables?

604


How to do master-slave configuration in jmeter?

650


Whether the test plans built using jmeter are os dependent?

753


What are the different ways of data parametrization in jmeter?

690


What is distributed load testing & how to achieve it?

627


What does “contain” and “matches” indicates in the regular expression?

631


What are pre-processor & post-processor elements?

603