org.apache.jmeter.functions
Class XPath
- Function
The function represented by this class allows data to be read from XML files.
Syntax is similar to the CVSRead function. The function allows the test to
line-thru the nodes in the XML file - one node per each test. E.g. inserting
the following in the test scripts :
${_XPath(c:/BOF/abcd.xml,/xpath/)} // match the (first) node
${_XPath(c:/BOF/abcd.xml,/xpath/)} // Go to next match of '/xpath/' expression
NOTE: A single instance of each different file/expression combination
is opened and used for all threads.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.