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
Post a Comment