gatling post body with text

I have a request that accepts text in the body a combination of lots of text and the date. When using gatling how do I parameterize the date, so that I can use feeders to keep posting with a new date

I am not sure I understand you correctly, but what I do is the following. First I use:

.exec(session => {

val currentDatetime = Calendar.getInstance()

val sdf = new SimpleDateFormat(“yyyyMMddHHmmssSSS”)

sdf.setTimeZone(TimeZone.getTimeZone(“Europe/Amsterdam”))

session.set(“variable_name”, sdf.format(currentDatetime.getTime))

})

After that you can use the date time as variable. You can also add the virtual user id to make it even more unique.