I have a message service , where i can set time frame to send message lets say between 9 AM to 10 AM , now i can send message using some Rest api services ( internal api ) , but once i send it will be in enqueue , basically i don't know when it will be sent , now i want to automate this validation part ( once i sent message my script should check status each time lets say every 5 min , if sent status success it should end test case if still status not update it should retry to check upto 5 times )
Can any one help me on this .. Thanks in Advance.