Email and SMS testing with ReadyAPI
Use the MailSlurp API within Ready API and SOAPUI studio
MailSlurp integrates directly into ReadyAPI using our [OpenAPI definition](https://api.mailslurp.com/v2/api-docs/). You can import this definition into ReadyAPI, then create and control real email accounts and phone numbers from API tests.
Typical ReadyAPI workflow
- Import the MailSlurp API definition into ReadyAPI.
- Configure an API key in project or environment variables.
- Create an inbox/phone resource for your test run.
- Trigger application actions that send email or SMS.
- Fetch or wait for messages and assert payload content.
Good practices
- Keep API keys in ReadyAPI environments, not hardcoded test steps.
- Reuse shared project-level request templates for inbox creation and cleanup.
- Use explicit timeouts and polling intervals when waiting for asynchronous delivery.