Regular Expression Tutorial for Apache JMeter Tests

A regular expression is a special text string for describing a search pattern. Regular expressions have a reputation for being tough, but that all depends on how you approach them. You can start from expressions as simple as this: \d which helps you identify a character that matches any digit from 0 to 9, to something complex, like: ^(\(\d{3}\)|^\d{3}[.-]?)?\d{3}[.-]?\d{4}$ While testing web applications, you need to extract information from HTML, JSON or XML response body or validate fields. You can always use CSS Selectors or JSON/XML Extractors. Besides those using regular expressions in JMeter is very powerful. JMeter’s Regular Expression [...]

By | 2018-11-12T14:27:52+00:00 November 12th, 2018|Tags: , , , |