Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Email test execution report after execution is complete

sansachie
sansachie Posts: 26
edited October 2017 in SOAtest

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

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 228 ✭✭✭
    edited October 2017

    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_email

    Ireneusz Szmigiel

  • jakubiak
    jakubiak Posts: 813 admin

    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

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭

    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.