jmeter- postprocessor describes using two
Today, we talked more
- JSR223 PostProcessor
- Debug PostProcessor
- JDBC PostProcessor
- Result Status Action Handler
- XPath Extractor
- BeanShell PostProcessor
JSR223 PostProcessor
JSR223 PreProcessor usage and the like, may refer to 9. Jmeter- preprocessor
Debug PostProcessor
Is used in script debugging, see the combination of the number of results we can see the sampler of relevant variables, system-related properties, Jmeter related variables and attributes.
Debug PostProcessor examples
Results are as follows:
Usage and Debug Sampler similar, with the general script debugging.
JDBC PostProcessor
Is a JDBC Request, will be covered later. Being the first omitted here
Result Status Action Handler
Figure intended to know, do not make too many repeat
Result Status Action Handler instance
First we visit Baidu, deliberately wrong address, then select Result Status Action Handler stop the test immediately, so that the next request will not be sent. Therefore, only one request to see the results tree.
XPath Extractor
XPath if done selenium automation should know everything. XPath is a language that can be used to traverse the elements and attributes in an XML document. XPath Extractor official use XPath to find elements in the XML.
Examples of XPath Extractor
We first look at the weather page, as follows:
If we want to locate the link to Beijing, how should it? XPath can write
It should be note, check the Use Tidy
//div[@class="w_city city_guonei"]//a/@href
so our XPath Extractor should be filled as follows:
operation result
BeanShell PostProcessor
BeanShell PreProcessor usage and the like, may refer to 9. Jmeter- preprocessor
Jane Wang address book software testing
software testing Wang blog address
Welcome attention to micro-channel public number: Wang software testing. Software testing exchange group: 809 111 560
Reprinted Please note that the source, thank you