-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

SoapUI Cookbook
By :

This recipe is a quick follow-on example to show how to use the Email TestStep plugin to send an e-mail.
If you've got access to an SMTP
mail server, all you'll need for this recipe is SoapUI and the Email TestStep plugin. Otherwise, you can use a dummy SMTP
server. A nice Java-based one is FakeSMTP
(fakeSMTP-1.12.jar
in the chapter 10
samples):
Download FakeSMTP from https://nilhcem.github.io/FakeSMTP/, and run with java –jar fakeSMTP-1.12.jar
.
Linux/Mac OS
You will need to start this with the root
permissions if you want to bind to port 25, for example, sudo java –jar fakeSMTP-1.12.jar.
First, we'll add a new Email
TestStep to a TestCase and configure it to send a test email to a FakeSMTP
server that is running locally. Then, run TestCase
and see the e-mail received. Perform the following steps:
Either grab EmailTestStepProject
from the chapter 10
samples or follow the steps from the previous recipe to get your...