Bug 48511 - add parent,child,all selection to regex extractor panel
add parent,child,all selection to regex extractor panel
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.3.4
PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-01-08 06:32 UTC by lukas blail
Modified: 2010-01-30 15:25 UTC (History)
0 users



Attachments
source code with parent child selector (21.46 KB, application/octet-stream)
2010-01-08 06:32 UTC, lukas blail
Details

Note You need to log in before you can comment on or make changes to this bug.
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.