I'm looking for an alternative to CSV as input data and I think xml is the right format for me. How could I make that work?
I feel I'm 70% there already with this answer. It stores the whole xml in a var 'content'. That's not what I need, but I would like to build on that example. I need the xml tags to be converted to a var, with its value (if any) as content.
What I need help with is: How can I convert every xml tag that was read, into an addressable jmeter var so I can use it as if I had read it using the CSV Data Set config element?
And I'll need to structure an xml containing all my testcases and their data in a way that make sense.
Example:
<testcases>
<case>
<name>tc1</name>
<host>some.host.com</host>
<command>uptime</command>
</case>
</testcases>