Email test execution report after execution is complete
How can the automated mail with SOATest execution report be triggered from parasoftSOA test to recipients after execution of scripts is completed in parasoftSOA test
Comments
-
Hi sansachie
yes, you can get such email.
If you are running soatestcli then you have to include following options in local settings file:
report.active_rules=false
report.archive=false
report.associations=false
report.authors_details=true
report.contexts_details=false
report.custom.extension=html
report.developer_errors=true
report.developer_reports=true
report.failed_tests_only=false
report.format=html
report.generate_htmls=true
report.location_details=false
report.mail.domain=host.com
report.mail.enabled=true
report.mail.from=from_SOAtest
report.mail.on.error.only=false
report.mail.password=715d7ff3706073606bfe5e6366
report.mail.port=25
report.mail.security=STARTTLS
report.mail.server=my_smtp.host.com
report.mail.subject=${tool_name} Report - ${config_name}
report.mail.username=username_who_will_send_email
report.metrics_details=true
report.setup.problems=bottom
report.suppressed_msgs=false
report.tcdetails=false
report.test_suites_only=true
session.tag=${config_name}Save local setting file and use it during execution of soatestcli with option -localsettings
You have to customize it to reflect your environment, so this part needs to be changed.
report.mail.password=715d7ff3706073606bfe5e6366
report.mail.server=my_smtp.host.com
report.mail.security=STARTTLS
report.mail.username=username_who_will_send_emailIreneusz Szmigiel
0 -
You also need the report.mail.include setting - you can set it to a comma-separate list of email addresses to which to send the report. See https://docs.parasoft.com/display/SOAVIRT9103/Configuring+Localsettings
1 -
Use "report.mail.cc" to specify list of emails for manager reports. SOAtest generates manager reports which are comprehensive. However, it also generates individual reports containing failures based on test/task authorship settings. I've always used "report.mail.cc" to control who gets the manager reports.
1