M
M
Maxmyd2018-09-27 13:24:56
Automation
Maxmyd, 2018-09-27 13:24:56

How to implement automatic testing of sending SMS?

Hello.
A certain service has been deployed, which sends SMS at certain intervals under certain conditions. The service with timers and logic is spinning separately, the web service for sending SMS directly is spinning separately. SMS can be sent, say, at 10 and 30 minutes of every hour.
Scenario 2:
1. Sending is done by a direct call to the web service
2. Sending is done by adding an entry to the database table, and there another job simply collects everything with the "not sent" flag and stupidly sends it through the same web service.
Now testing is carried out manually. The tester performs (or does not perform in time) some action on the site, and waits for the SMS to be sent at time T. It is clear that this is a long time.
There are autotests for the very fact of sending SMS. The task is to make sure that the SMS is sent exactly at the hour H. The question is how to implement it correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-09-27
@dimonchik2013

checking logs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question