Open topic with navigation
Setting email notification options
These options control email notifications sent after scripts run. Email notifications include the status of playback sessions (Successful or Failed). If reports are generated, they are attached to the email. See Setting reporting options.
Note: When running scripts or load tests remotely from a command line, the email notification options on the host computer are used.
1. Choose Tools > Options.
The Options dialog box opens.
2. Click the Email tab.
3. Select a Send email notification option to specify when to send results.
- Never never sends an email.
- On Success sends results only if playback completes successfully.
- On Failure sends results only if playback fails.
- Always sends results after every playback session.
4. Enter the SMTP configuration information.
- Enter the Host used to send outgoing mail. Enter an IP address (e.g., 192.168.1.100) or the fully qualified domain name of the mail server (e.g., mailserver.companyname.com).
- Enter the Port number used by the SMTP host. The default port is 25.
- Enter the Username and Password used to connect to mail server. If a username is entered, authentication with the SMTP host is attempted. Leave the username blank if authentication is not required.
- Select Use SSL encryption to use secure sockets layer encryption for the connection. The port number changes to 465 when this option is selected.
5. Enter the sender's email address in the From field.
6. Specify the Recipients.
- Click Add to enter recipient email addresses. Separate multiple addresses with a semicolon or comma.
- Select recipient and click Edit to make any changes.
- Select a recipient and click Remove to remove them. Click Yes when prompted to confirm the removal.
7. Enter the email Subject.
The default subject includes the field code %RUN_TYPE%: %RUN_RESULT% field code, which displays the test type (batch, script, or load test) and result in the sent email. See Run Results Email Field Codes.
8. Enter the Message body.
The default message body includes the %RUN_FILETYPE%: %RUN_FILELIST% field code, which specifies the test type (batch, script, or load test) and a list of filenames. You can also add additional field codes. See Run Results Email Field Codes.
9. Click OK to save the changes.