I need to test that a series of sites are up and running and that they can send and receive email.

Step one: send email from example1@example.com

Step two: expect response email emailServerOne@example.com within a given amount of time.

  • 2
    Check out this answer: sqa.stackexchange.com/questions/3825/outlook-mail-testing/… – Sam Woods Jan 25 '13 at 18:48
  • @SamWoods What would you think the feasibility of automating this under a CI server like Jenkins would be? – Zach Reichert Jan 25 '13 at 18:58
  • 1
    It depends on what you are trying to accomplish. Do the e-mails need to be sent from a certain domain, or could you use a free e-mail such as gmail like in the answer I linked to? Can you give a bit more context about the scenario you want to automate? What is the goal of the automation? – Sam Woods Jan 25 '13 at 19:35
  • @SamWoods Yes I am considering using an account like gmail to send the automated emails. I don't need to to be from a specific domain. I am trying to send automated emails (several times a day) to 15+ instances of a web application, then after a to be determined period of time expect a response email. Basically testing that the applications can send and receive emails multiple times a day. On a failure I would need a notification (email, text, ...) – Zach Reichert Jan 25 '13 at 21:13
  • If you are just testing the capabilities of the software and not any public domains, I would suggest you run locally some small mailer and smtp server, and use those from the test script for sending and receiving the emails. – Edu Jan 25 '13 at 21:22

If those are the only requirements then a simple (well, not so simple but not very complex) script in Perl, Python or your favorite scripting language will achieve the same results for free with greater flexibility.

| improve this answer | |

You should take a look at Febooti. It is an open-source program that can create/send emails. I was using it prior to send an email with test results every morning once my test suites were finished.

Good Luck!

| improve this answer | |

Parasoft SOAtest would be able to handle this. It would enable you to send emails and apply a time based assertion on receiving the response. On a failure it could then email you with an alert. http://www.parasoft.com/jsp/products/soatest.jsp

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.