Hi,
I was hoping I could use the XPath function to extract multiple
attribute values from the same element and set them as HTTP parameters
using this syntax:
Param1=${__XPath(myFile.xml, //record/@firstName)}
Param2=${__XPath(myFile.xml, //record/@lastName)}
Here's a snippet of the XML:
<records>
<record firstName="abc" lastName="def" />
<record firstName="ghi" lastName="jkl"/>
</records>
Unfortunately, I get "abc" for Param1 and Param2 when the thread group
runs. Is this a limitation of the function or am I misunderstanding
something? How can I extract "abc" and "def" for Param1 and Param2
respectively from the same thread group?
I'm running JMeter 2.1
Thanks,
Clinton
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]