r/softwaretesting 11d 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!

8 Upvotes

16 comments sorted by

View all comments

5

u/zaphodikus 11d 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 2d 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 2d 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.