Bug 51885

Summary: Allow a JMeter Variable as input to XPathExtractor
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.5.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Fix to the issue
Fix to issue Part 2

Description Philippe Mouawad 2011-09-23 14:51:32 UTC
Hello,
For some feature I need to use in XPathExtractor a variable that has been set by a PostProcessor (as it is possible with RegexpExtractor)

I implemented the enhancement.
Hope you can take it into account soon.
Regards
Philippe Mouawad
Comment 1 Philippe Mouawad 2011-09-23 14:53:02 UTC
Created attachment 27580 [details]
Fix to the issue

Here is the patch.
Regards
Philippe Mouawad
Comment 2 Sebb 2011-09-23 15:30:51 UTC
Thanks, applied:


URL: http://svn.apache.org/viewvc?rev=1174835&view=rev
Log:
Bug 51885 - Allow a JMeter Variable as input to XPathExtractor

Modified:
   jakarta/jmeter/trunk/docs/images/screenshots/xpath_extractor.png
   jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/gui/XPathExtractorGui.java
   jakarta/jmeter/trunk/xdocs/changes.xml
   jakarta/jmeter/trunk/xdocs/images/screenshots/xpath_extractor.png
   jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 3 Philippe Mouawad 2011-09-26 07:34:31 UTC
Created attachment 27586 [details]
Fix to issue Part 2

Hello Sebb,
Comparing my code with Trunk I saw I had missed a part in my patch submission.
Indeed I allow variable but I don't use it in XPathExtractor.

Here is it.
Sorry for mistake.
Regards
Philippe Mouawad
Comment 4 Sebb 2011-09-26 11:19:44 UTC
OK, applied:

URL: http://svn.apache.org/viewvc?rev=1175800&view=rev
Log:
Bug 51885 - Allow a JMeter Variable as input to XPathExtractor
part 2 of fix

Modified:
   jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/XPathExtractor.java