EL Functions currentDate not working

The pattern should be a string accessible by EL
Either add quote before and after your pattern (don’t forget to escape quote as you are inside a string) or create an attribute with your pattern and call it here.

@Hans Please provide a full reproducer.

3.4.1 works just fine for me:

import io.gatling.core.Predef._
import io.gatling.http.Predef._

class DateElWorkload extends Simulation {

val scn = scenario(“scenario”)
.exec(http(“home”).get(“https://gatling.io/”)
.queryParam(“date”, “${currentDate(yyyy-MM-dd)}”)
)

setUp(
scn.inject(atOnceUsers(1))
).protocols(http.disableWarmUp)
}