Replacement Parameter for XML markup?

Hi all,
I’m wondering if Gatling will support the following.

I’ve got an XML template with a 1-* element, where I want to be able to insert a variable number of these elements, pre-made with values. For example, in the following, I’d want to insert 1 or more elements:

xxx yyy

So I’d like the template to look like this:
${lineData}

and I’d generate via scala whatever XML markup + values should go into the replacement parameter such that it ends up as valid XML.

Is this possible? I haven’t tried anything yet and just wanted to see if anyone knows if it’s even possible before I get going.

Thanks,
David

Have you tried our pebble templating support?

https://gatling.io/docs/current/http/http_request/

That looks like it will work, I’ll give it a try when I get time – thanks!