Unanswered question

Running an action every x minutes?

Another simple scenario.

Need to run test for 30 minutes.
But need to generate new tokens to use every 10 minutes.

How do i say in a user path only run a transaction/action every 10 minutes?

Cant see anything obvious was looking at pacing but that seems more around delays to slow tests down.

Thanks

David

David M.
David M.

David M.

Level
0
4 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

you should look at fork, you can spin up a parallel thread running along side your test. In the parallel thread, you could have a loop and a 10min delay and a request to get the latest token, you just need to pass the variable from the thread to the main branch