Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Regular Expression Extractor in JMeter

Category: JMeter

The use of the regular expression is to extract the data from the responses in JMeter. It is also used in capturing dynamic value from the response.

The special characters above are −

( and ) − these enclose the portion of the match string to be returned

. − match any character

+ − one or more times

? − stop when first match succeeds

Template: $1$ to refers to group 1, $2$ to refers to group 2, etc. $0$ refers to whatever the entire expression matches.
Match No: 1 for first match, 2 for second match, 0 for random.

Leave a Reply

Your email address will not be published. Required fields are marked *