Ask a Question

Reading emails from SMTP server outlook

SOLVED
snigam
New Contributor

Reading emails from SMTP server outlook

Do we have a way or the test step in the ReadyAPI that read an email from the SMTP server and verifies its content?

4 REPLIES 4
KarelHusa
Regular Contributor

There is no such test step.

You would need to create a custom Groovy script to fetch and check the email.

 

Karel@apimate.eu
https://apimate.eu

Thank you.

Is there any sample script I can refer to?

KarelHusa
Regular Contributor

You can have a look into SoapUI Cookbook: https://subscription.packtpub.com/book/web-development/9781784394219/4/ch04lvl1sec39/testing-for-e-m... or browse for another Java/Groovy solution. 

Karel@apimate.eu
https://apimate.eu

WebmailUP wrote:

There is no such test step.

You would need to create a custom Groovy script to fetch and check the email.


Yes, I agree with you.

cancel
Showing results for 
Search instead for 
Did you mean: