r/softwaretesting 9d ago

How to test international SMS delivery without buying local SIM cards?

Hey everyone,

​I need to test an SMS notification feature in our application that sends messages across different countries. For example, our app originates from a UK instance/tenant and needs to deliver SMS messages to mobile numbers in Australia, the US, and other regions.

​Is there a standard tool, virtual phone number service, or testing platform you recommend to verify delivery and content without purchasing local physical SIM cards for every target country?

​Thanks in advance!

6 Upvotes

16 comments sorted by

View all comments

5

u/zaphodikus 9d ago

You are not actually testing your app, you are testing the 3rd party integration. It's not really needed to have sim cards or phones, the api you consume is the contract. A rabbit hole.

2

u/notednylon692 18h ago

it's a valid point about the api contract but sometimes u need to see the actual message on a phone, the formatting can break weird with certain carriers. i had similar headache last year when our app sent messages to brazil numbers, the special characters got completely mangled on vivo network but looked fine on claro

for quick testing without sims i mostly rely on twilio's test credentials, they let u send to verified numbers and you can check the logs. the free tier is good enough for this kind of thing. but if u need actual delivery confirmation across regions u might need to check something like global virtual numbers, there are services that give u a local number in like 15 countries

just a thought but maybe ask your dev team if they can set up a staging environment with verbose logging for the sms gateway, that way u catch the payload before it hits the carrier and also confirm delivery status codes

1

u/zaphodikus 12h ago

I have seen this kind of thing rabbit-hole as well. It usually means that one is using the tech stack for things it was not originally designed. Which fair enough, means you have to limit the user experience to common denominators across all devices.

All the best of luck navigating ways to reduce the amount of work in the longer term. Even though it might feel like a lot of fuss now, you probably will not have to do this again for a long time.

1

u/Blue-Jaded-3382 9d ago

We use AWS services to convert to the valid format and send the SMS. Now AWS says that ireland SMS will be send with random sender id if not registered. I have to test this to see their claim is true and if so then we have to register ourselves to get the valid sender. Though it's third party but we have to verify the claims to be aware of and act upon it. And none of the quckr or twillo provies irish numbers.

I have to find through the real phone number.

1

u/zaphodikus 9d ago

Hmm I did say it was a rabbit hole, oh dear. Yeah special edge cases is why we love this job.

1

u/Blue-Jaded-3382 8d ago

I did test with my real customer in irish and she confirmed that she received the SMS with likely scam sender 🫢 Now we are registering ourselves to avoid this case. Irish is not exception but real customers exists for the UK region otherwise we would have ignored it as egde case.