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

Mention the execution order of test elements?

770


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

620


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

699


What are post-processor elements?

582


What are the important plugins supported in jmeter?

657


What is the execution order of test elements?

623


What are the benefits provided by jmeter for performance testing?

621


What are pre-processor elements? List some of the pre-processor elements?

555


Explain what are pre-processor elements? List some of the pre-processor elements?

601


What are the different types of listeners?

624


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

528


Explain the flow of test script recorder.

651


What is the role of timer in jmeter?

593


Explain what is test fragment?

616


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

626