Configuring send emails or email alerts in DevTest
search cancel

Configuring send emails or email alerts in DevTest

book

Article ID: 37751

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

This is a tech tip on configuring DevTest to send emails once a CVS Monitor is ran or send alerts when tests fail.

Environment

All supported DevTest platforms

Cause

Information

Resolution

* Send Emails when tests are scheduled to run in CVS Monitor in DevTest

To set the email notification, need to update the local.properties file. Change the mail server configuration and enter the mail host as shown in the following example. 

#If you use performance monitoring alerts, this is the "from" email address of those alerts 
#The property below is the email server we will attempt to route emails with (SMTP server) 
lisa.alert.email.defHosts=localhost
 

To Address can be added when deploying the test to CVS Monitor as in the below screenshot.

You must restart DevTest Components for change in local.properties to be in effect.

* Send Email Alerts when Tests are failed in DevTest

The email alerts can be set in Staging documents for the Test events. Please refer to section "Staging Document Editor - Metrics Tab" in DevTest version you are running.  Alerts can set for the defaults events shown in the Staging document as in below screenshot or more event(s) can be added and then alert can be set.

Click on Set Alert button for the specific event and it should open the Alert window as in below screenshot and it need to be filled with the appropriate email and server information.

NOTE: You need to click on the Enable Alert and Authenticate for form fields to be enabled. Also, for the Alert email, don't need to configure any properties in local.properties.

 

Additional Information

 Please refer to section "Email Notification Settings" in DevTest version you are running.