Bug 55840 - Enhancement For XPathExtractor
Summary: Enhancement For XPathExtractor
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.10
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Keywords: PatchAvailable
Depends on:
Reported: 2013-12-03 18:19 UTC by paulpoirier
Modified: 2018-06-03 19:38 UTC (History)
1 user (show)

Java class of XPathExtractor.java with code change (13.57 KB, text/x-java)
2013-12-03 18:19 UTC, paulpoirier

Note You need to log in before you can comment on or make changes to this bug.
Description paulpoirier 2013-12-03 18:19:42 UTC
Created attachment 31089 [details]
Java class of XPathExtractor.java with code change

Looking for ability  to retrieve Comma separated list of Value using XPathExtractor.   Current option are the following 
refName - set to first (or only) match; if no match, then set to default
refName_matchNr - set to number of matches (may be 0)
refName_n - n=1,2,3 etc. Set to the 1st, 2nd 3rd match etc.

I am looking for 
refName_csv - would return all values in csv format.

Possible code change from XPath Extractor is included as attachment
Comment 1 Philippe Mouawad 2018-06-03 19:38:06 UTC
Extractors have a philosophy which is now quite known to users.

Implementing your enhancement would:
- impact this behaviour
- Add more variables in context loading with more memory

So I am afraid we won't be able to add this.

Thanks anyway for suggestion