MailSlurp logo
9:41
MailSlurp
iMessageToday 9:32 AM
Your MailSlurp verification code is 482913.
Code received.
+
iMessage

Catch SMS signup bugs before your users do

Give your tests real phone numbers. MailSlurp receives the SMS and lets your code read the OTP, so you can test signup, login and recovery without reaching for a handset.

Trusted by top companies worldwide

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic
  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic

SMS dashboard

See the message your test received

Open the dashboard to inspect a phone number, read its received messages and follow its message events. When a test fails, you can look at the actual SMS instead of guessing what arrived.

MailSlurp webapp phone detail page showing SMS tabs and received SMS message rows
9:41
MailSlurp
iMessageToday 9:32 AM
+
iMessage

Assign a number to each SMS test

Give each running test its own assigned number or lease one from a phone pool. That keeps parallel tests from picking up each other's codes, so you can check the right signup or login.

Take the code all the way to a successful login

Wait for the SMS, extract the code and enter it in your app. Check that verification succeeds, then test what happens when the code arrives late, expires or gets entered twice.

Put your signup, login and recovery flows to the test

A received code is only part of the job. Follow it through your application and check that the person signing up, logging in or recovering an account can finish.

Test email and SMS together

Check SMS codes, fallback emails, magic links and MFA in the same test suite.

Open OTP testing guide

Get numbers for your tests

Use programmable numbers for QA, staging and regional checks without keeping a drawer full of test SIMs.

Open phone number SMS service

Test verification challenges

Check signup, login, MFA and recovery, including attempt limits and the wait between retries.

Open phone verification API

Receive and parse OTP codes

Read the delivered message, extract its code and check that your app accepts it for the right account.

Open SMS API guide

Cover authentication flows

Extend your tests to MFA setup, account recovery, payment confirmation and fallback emails.

Open OTP testing solution

Automate SMS OTP in Playwright

Let Playwright request a code, read it through MailSlurp and enter it in the browser, just as your user would.

Open Playwright OTP guide

Integrate MailSlurp Seamlessly

Integrate with any framework

Official plugins and SDKs for all major programming languages, frameworks, and test platforms. All functionality available via API or dashboard.

Flexible integration patterns

CI/CD Native

MailSlurp fits right into your existing development, testing, and CI/CD workflows. Deploy and iterate with confidence and actionable feedback.

SMS OTP testing workflows at global scale

Mobile networks

20+

Use real network behavior for verification checks.

Verification coverage

OTP + MFA

Cover signup, login, account recovery, and MFA journeys.

Developer APIs

SDKs

Create numbers, wait for SMS, and extract OTPs from code.