Bug 63178

Summary: CSS Selector Extractor : Improve performance of JODD (JoddExtractor) based implementation
Product: JMeter - Now in Github Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 5.0   
Target Milestone: JMETER_5.1.1   
Hardware: All   
OS: All   

Description Philippe Mouawad 2019-02-14 21:59:22 UTC
We should use CssSelly which parses CSS Selector expression:
https://github.com/oblac/jodd/blob/master/jodd-lagarto/src/test/java/jodd/csselly/CSSellyTest.java

We would then use :

https://github.com/oblac/jodd/blob/master/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L63

And a caffeine CacheLoader to cache the parsed CSS
Comment 1 Philippe Mouawad 2019-03-02 20:03:08 UTC
Author: pmouawad
Date: Sat Mar  2 20:02:41 2019
New Revision: 1854669

URL: http://svn.apache.org/viewvc?rev=1854669&view=rev
Log:
Bug 63178 - CSS Selector Extractor : Improve performance of JODD (JoddExtractor) based implementation
Bugzilla Id: 63178

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/components/org/apache/jmeter/extractor/JoddExtractor.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:16 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5013