jmeter- regular expression extractor

(1) a regular expression () to extract the data, may be one, or may be plural, the plurality of extracted time, the intermediate may be used [. \ S \ S] + ? Represent any character intermediate . If the regular expression used jmeter variable, the variable format according jmeter normal call to call, such as: data-id = "\\ $ {getAwardId}"> [\ S \ s] + <input type = "checkbox"? value = "(. +?) "
(2) Template: $ 1 $ contents corresponding to the first bracket, $ $ 2 in the parentheses corresponding to the second ..., but $ $ 0 corresponding to all of the content, extracted data will be used later traversal. You can use multiple templates, formats: $ 1 $, $ 2 $, $ 3 $ ...
(3) matching digits: positive, then: 1 represents a match to the data in the first group in the second data set to 2 indicates a match, 0 represents a group of data within a random match and -1 for all the matching group data. You can match the template data corresponding to a plurality of format: 3,3

Guess you like

Origin www.cnblogs.com/applezxy/p/10932438.html