Bug 48511

Summary: add parent,child,all selection to regex extractor panel
Product: JMeter Reporter: lukas blail <lukas.blail>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: source code with parent child selector

Description lukas blail 2010-01-08 06:32:25 UTC
Created attachment 24820 [details]
source code with parent child selector

We need append parent-child-all selection to extractor panel. 
We implement this function into ver. 2.3.4. see attachment.
Comment 1 Sebb 2010-01-30 15:25:52 UTC
Thanks for the suggestion; fixed in:

URL: http://svn.apache.org/viewvc?rev=904916&view=rev
Log:
Bug 48511 - add parent,child,all selection to regex extractor panel

Added:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractScopedTestElement.java   (with props)
Modified:
   jakarta/jmeter/trunk/docs/images/screenshots/regex_extractor.png
   jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/RegexExtractor.java
   jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/RegexExtractorGui.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/processor/gui/AbstractPostProcessorGui.java
   jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
   jakarta/jmeter/trunk/xdocs/changes.xml
   jakarta/jmeter/trunk/xdocs/images/screenshots/regex_extractor.png
   jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

There was a bug in the patch - the while() loop in the proccesMatcher method did not work - and for efficiency I changed the enclosing for() loop to iterate over samples, so the text was only extracted if necessary, but the approach was good.