I’m quite new to Gatling and have been searching for a good example on how to use variables.
I’m trying to create a test script where it would be nice to have some dynamic elements.
One variable I need is an ID consisting of numbers, for example “1234567890”
The other variable is a timestamp, the current time milliseconds (I think its System.getCurrentTimeMillis)
The variales will be posted as part of a path (which is a part of a .during loop)
The path will look something like this: http://path/to/my/webbapp/${ID}/${timestamp}
Does anyone have an example of how to do this. I only get error that the ID or time is not defined.