ReadyAPI-how to make a teststep wait to run after fetching token
In a project I need to get a token first, and then run the teststep.
I have declared the token in the Auth Manager on parent testcase and pointed to all child testcases to 'Inherit from parent'. The token is retrieved correctly.
I also have automated the check on that token for existence. so if it isn't usable anymore, a new token should be asked by the Tokenizer automatically.
Now, I have testcases that have a high latency for the moment, a bug that is known and that they are fixing, but I would like the teststep to wait for e.g. 30 seconds to run and make sure the token is active.
I have inserted a "Delay" object in the testsuites, but I was actually wondering if this is really doing what it should?
Does anybody has an idea please?
Thanks in advance!