Hello Team

I need to achieve the below scenario , and i am not able to figure out how
to achieve the combination of while loop with the timer.
Any guidance on the same / or way using which i can achieve the same ?

-- Set callAPIVariable to True
-- Set Timer to 0 Seconds
while(callAPIVariable and Timer is less than 30 seconds)
-- call the API
-- extract the response
-- If  --> the response is "Still waiting to finish" then do nothing , this
will repeat the loop
-- Else --> Validate the response  ---> set callAPIVariable to false


Thanks
Pratik

Reply via email to