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

What are the different ways of data parameterization in jmeter?

598


What is the use of co-relation in jmeter?

572


How you can capture the script of the authentication window in jmeter?

635


Where you can use functions and variables?

572


What are samplers & thread groups?

547


What are configuration elements?

645


What are pre-processor elements?

560


What is assertion in jmeter?

634


What is samplers and thread groups?

554


What are pre-processor & post-processor elements?

549


What does “contains” and “matches” indicate in the regular expression?

484


In jmeter is it necessary to call embedded resources explicitly?

607


What are the protocols supported by jmeter?

641


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?

515


Explain how you can capture the script of the authentication window in jmeter?

565