Starting a TCP Protocol SMTP test
FortiTester tests performance of a target device under SMTP traffic by simulating a volume of clients to generate SMTP traffic.
To start a TCP SMTP test:
- In Performance Testing, expand Protocol > TCP and click SMTP.
- Click Create New.
- Configure the network or select a network template. See Using network configuration templates for how to create a network template.
- Select a Certificate Group, if applicable.
- Click OK.
- Configure the test case options described below.
- Click Start to run the test case.
FortiTester saves the configuration automatically so you can run the test again later. You can also click Save to save the test case without running it.
Tip 1: You can copy an existing case and change its settings to create a new case. In the case list, click Clone to clone the configuration. Only the case name is different from the original case. Tip 2: You can add or edit a comment when the test is running. This comment can be used to search for the test result in the Results page. This is useful especially when the test runs for a long time. |
TCP SMTP test case options
For details about the common options for protocol cases, see Protocol Test Case common options.
Settings | Guidelines |
---|---|
Load | |
SMTP Email Address |
The email sender address. The default is “tester@mailserver.com”. The wildcard character (#) is used to generate a random address. For example: |
SMTP Email To |
The email receiver address. The default is “receiver@mailserver.com”. The wildcard character (#) is used to generate a random address. For example: This option supports up to 32 recipients. |
Enable Authentication | Enable to use password when sending SMTP email. |
SMTP Email Password | The password of email sender. The default is “tester@fts”. |
Enable Attachment | Enable to add attachment in the email. |
Attachment File Object | Select the file template you have created in Cases > Performance Testing > Objects > Files, then enter how many files you want to include in the attachment. For example, if you enter 3, the first three files in the file template will be included. Only available when the Enable Attachment is selected. |
Random |
Send a random attachment name and content. |
Randomize File Name and Content |
Enable or disable the sending of a random file name and response body based on the user-uploaded file. |