Forum Discussion

huurm900's avatar
Occasional Contributor
8 years ago

Loop over JDBC request until assertation is Valid



I do a asynchroon soap call. It is going in a STP log. So the SOAP gives me an OK :)

But then the system picks it up. Then I call a JDBC to check if it is in there is a record in the database.

But somtimes I am to fast even if I have a 60 sec wait in it. Can I loop over the assertation until it is oke?

Of give it 10 trys of 10 seconds? I am using javascript and not groovy.




5 Replies