split - In Gatling generate POST body dynamically based on a string input -


i new gatling , scala. trying dynamically generate xml file used body of request. content of xml file depends on string value obtained environment variable or properties file.

    val applicationnames = "math,science,english" 

the template xml should like

    <applications>         <application_id>math</application_id>         <application_id>science</application_id>         <application_id>english</application_id>     </applications> 

i tried string split, list , csv feeder. nothing seems work. appreciated.thanks in advance


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -