Xencodes

How-to · 4 min read

SMS verification numbers for app testing and QA

If your product sends SMS codes, you need to see what a real user in another country sees. Virtual numbers let a tester receive those messages without buying a SIM for every market.

What you can check

  • Whether the code arrives, and how quickly, in different countries.
  • How your form handles country codes and number formats.
  • What the message looks like when it reaches a real handset network.
  • Whether resend timers and expiry behave as designed.

Good practice

Use numbers only against products you own or have permission to test. Keep the activation page open while the test runs so you can read each message, and record the time it took. Because each number is for one activation, plan one purchase per test run.

For automated test suites, a dedicated test number from your SMS provider is usually a better long-term fit; virtual numbers are well suited to manual checks and spot testing in new markets.

A test plan that covers the basics

Write down each step of your SMS flow and the behaviour you expect, then run it against numbers from several countries. At minimum, check that the form accepts a correct number and rejects an invalid one, that the message arrives, that the code works once and not twice, that it expires on time, that a resend arrives and invalidates the previous code, and that too many attempts are rate limited.

Things that differ by country

  • Number length and formatting, including leading zeros and spaces.
  • Sender names: some countries restrict or rewrite alphanumeric sender IDs.
  • Message encoding: non-Latin characters can change message length.
  • Delivery time: routes and carriers behave differently.

Record what you see

Keep a simple log with the country, the time you requested the code, the time it arrived and anything unusual in how it looked. A pattern, for example one country that is consistently slow, tells you where to look at your SMS provider's routing.

Remember that each number is for one activation. Plan one purchase per test and buy another for the next run.

Frequently asked questions

Try it for a service

Browse by country

More guides

All guides

Numbers are for receiving verification codes on accounts you own. Terms.

Get a virtual number

Choose a service and country and pay only for codes that arrive.

Get a number