Bug 51885 - Allow a JMeter Variable as input to XPathExtractor
Allow a JMeter Variable as input to XPathExtractor
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.5.1
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-09-23 14:51 UTC by Philippe Mouawad
Modified: 2011-09-26 11:19 UTC (History)
1 user (show)



Attachments
Fix to the issue (1.06 KB, patch)
2011-09-23 14:53 UTC, Philippe Mouawad
Details | Diff
Fix to issue Part 2 (3.45 KB, patch)
2011-09-26 07:34 UTC, Philippe Mouawad
Details | Diff

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