I have a workflow that generates around a 3000+ URLs with payloads to be called. There is a Gateway limit on the Endpoint with only 100 requests accepted per minute. So far a throttle tool with the Download have worked.
But issue that with larger number of requests the OAuth token expires in about 30 mins. 3000+ requests will take longer than that. I already have created a iterative macro that takes one URL at a time and skips the rest for the next loop. If a 401 status is returned then it regenerates the Auth token and reruns the same URL.
But this has a limit of iterations it can run so I am planning on using a batch macro instead. The problem with that is how do I make sure that only only 100 calls are made in a minute.
How do I introduce throttling in a batch/iterative macro?