Summary: | Enhance XPATH Extractor to support multiple field extraction | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | chirag <chirag.sanghavi> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
chirag
2012-10-05 15:50:02 UTC
The XPATH extractor already sets multiple variables if there are multiple matches. It's not clear what you are requesting. what I mean is if we can have ability to provide multiple Xpath and assign them to different variables using one single XPATH extractor. e.g. Variable OrderNo = /Order/Header/OrderNo Variable OrderType = /Order/Header/OrderType My apologies, I've changed the status of this issue incorrectly. Going back to the originally status NEEDINFO I have similar requirement so rather than adding multiple XPath Extractor component to get multiple variable values, within a single Xpath Extractor, there should be way to add multiple reference variable and their corresponding XPath. If you want to use a single Xpath Extractor and multiple query strings then its possible just give a reference variable name for eg- myVar and in the query string put all the queries in order separated by '|' (pipe) symbol so as per sequence you can get the values as myVar_1, myVar_2 and so on. Hope it resolves if any doubt please let me know. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2944 |