You pass {tile_init} to new RenderQueries, this is invalid. You probably mean “tile_init”.
Then, there’s no way your println works as you expect it, because the EL expression won’t be resolved here.
You are mixing build-time execution semantics with run-time semantics, something that takes a while to get straight.
Your first parameter is a flat 2, which is the pause time. That will work okay, since it is not dependant on the contents of the session.
Second parameter is supposed to be the value of the session parameter. It doesn’t work that way. Your object is built exactly once, during scenario construction time.
Third parameter and 4th parameter have the same problem.
What you need to do is just pass things around via the session and the feeder, and just assume the correct session variable names in your class.
val tourOnTheMap = repeat( “${numActions}” ) { // no promises that this will work, I am not testing it,
exec(
http( "Tile = ${tile_init} - " + time ) // the time part is not coming from the feeder, so that works
.get( “/styles/${num_actions}” )
)
.pause( time )
}
But I notice that you use num_actions, but not actions.