Package org.apache.jmeter.extractor
Class JSoupExtractor
java.lang.Object
org.apache.jmeter.extractor.JSoupExtractor
- All Implemented Interfaces:
Serializable
,Extractor
JSoup based CSS/JQuery extractor
see http://jsoup.org/cookbook/extracting-data/selector-syntax
- Since:
- 2.9
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JSoupExtractor
public JSoupExtractor()
-
-
Method Details
-
extract
public int extract(String expression, String attribute, int matchNumber, String inputString, List<String> result, int found, String cacheKey) - Specified by:
extract
in interfaceExtractor
- Parameters:
expression
- Expression used for extraction of nodesattribute
- Attribute name to returnmatchNumber
- Match numberinputString
- Page or excerptresult
- List of resultsfound
- current matches foundcacheKey
- If not null, the implementation is encouraged to cache parsing result and use this key as part of cache key- Returns:
- match found updated
- See Also:
-