Gatling pace usage

I am new to Gatling, Can someone please advise me if Gatling pace can be used to refresh the token periodically in the virtual user?

pace
You could want to control how frequently an action is executed, to target iterations per time type volumes. Gatling supports a dedicated type of pause: pace, which adjusts its wait time depending on the elapsed time since the virtual user last reached this action. E.g.:

forever(
pace(5)
.exec(
// will be run every 5 seconds, irrespective of what pause time is used
pause(1, 4)
)
)

No. Pace blocks the flow of the virtual user in a loop.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.