Fortinet white logo
Fortinet white logo

Administration Guide

Starting a Gmail test

Starting a Gmail test

The Gmail test establishes a TCP connection (three-way handshake), sends one email by Gmail and closes the TCP connection.

To start a Gmail test:
  1. In Performance testing, expand Application and click Gmail.
  2. Click Create New.
  3. Configure the network or select a network template. See Using network configuration templates for how to create a network template.
  4. Select a Certificate Group, if applicable.
  5. Click OK.
  6. Configure the test case options described below.
  7. 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.

Gmail test case options

For details about the common options for application cases, see Application test case common options.

Settings Guidelines
Client Profile
Address The sender’s email address.
Password The sender’s email password.
To The receiver’s email address.
Subject The subject of the mail. The maximum length is 256 bytes.
Body The body of the mail. The maximum length is 512 bytes.

User Agent

Set the value of the user agent in the HTTP header.

Quiet Shutdown Enable to apply safe shutdown procedure to SSL connections by sending SSL alert to the peer.
PSK/SRP Enable to support PSK and SRP ciphers.
PSK/SRP Username Username for PSK and SRP ciphers.
PSK/SRP Password PSK/SRP for PSK and SRP ciphers.
Available SSL Versions Select SSL versions.
TLSv1.3 and other SSL versions are mutually exclusive. This means you can’t select TLSv1.3 at the same time with other SSL versions.
Elliptic Curve Select the Elliptic Curve that the client support for key exchanges.
Only available when you select TLSv1.3.
Session Resumption
  • Disabled (turns off session resumption).
  • Resume Session by Ticket: Select this option to simulate a client presenting a ticket to a TLS server, having originated from that server, for the purpose of resuming a TLS session.
  • Resume Session by Session: Select this option to simulate a user attempting to use the same SSL Session ID, initially negotiated with the server.

This option applies only to TLS v1 and TLS v1.2. It does not apply to TLS v1.3.

Enable Client Certificate

Enable the client autheRntication for HTTPS cases.

Certificate

Select the certificate created in Performance Testing > Objects > Certificates.

Available only when Enable Client Certificate is enabled.

Server Profile
Certificate Select the certificates you have created in Performance Testing > Objects > Certificate Groups. If you have selected a certificate group in the Select case options window, then you are not allowed to select certificate here.
If you have selected ECDHE-ECDSA ciphers for the client, then you must reference an ECC certificate for the server, otherwise the SSL handshake will fail.
Session Resumption
  • Disabled (turns off session resumption).
  • Resume Session by Ticket: Select this option to simulate a client presenting a ticket to a TLS server, having originated from that server, for the purpose of resuming a TLS session.
  • Resume Session by Session: Select this option to simulate a user attempting to use the same SSL Session ID, initially negotiated with the server.

Starting a Gmail test

Starting a Gmail test

The Gmail test establishes a TCP connection (three-way handshake), sends one email by Gmail and closes the TCP connection.

To start a Gmail test:
  1. In Performance testing, expand Application and click Gmail.
  2. Click Create New.
  3. Configure the network or select a network template. See Using network configuration templates for how to create a network template.
  4. Select a Certificate Group, if applicable.
  5. Click OK.
  6. Configure the test case options described below.
  7. 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.

Gmail test case options

For details about the common options for application cases, see Application test case common options.

Settings Guidelines
Client Profile
Address The sender’s email address.
Password The sender’s email password.
To The receiver’s email address.
Subject The subject of the mail. The maximum length is 256 bytes.
Body The body of the mail. The maximum length is 512 bytes.

User Agent

Set the value of the user agent in the HTTP header.

Quiet Shutdown Enable to apply safe shutdown procedure to SSL connections by sending SSL alert to the peer.
PSK/SRP Enable to support PSK and SRP ciphers.
PSK/SRP Username Username for PSK and SRP ciphers.
PSK/SRP Password PSK/SRP for PSK and SRP ciphers.
Available SSL Versions Select SSL versions.
TLSv1.3 and other SSL versions are mutually exclusive. This means you can’t select TLSv1.3 at the same time with other SSL versions.
Elliptic Curve Select the Elliptic Curve that the client support for key exchanges.
Only available when you select TLSv1.3.
Session Resumption
  • Disabled (turns off session resumption).
  • Resume Session by Ticket: Select this option to simulate a client presenting a ticket to a TLS server, having originated from that server, for the purpose of resuming a TLS session.
  • Resume Session by Session: Select this option to simulate a user attempting to use the same SSL Session ID, initially negotiated with the server.

This option applies only to TLS v1 and TLS v1.2. It does not apply to TLS v1.3.

Enable Client Certificate

Enable the client autheRntication for HTTPS cases.

Certificate

Select the certificate created in Performance Testing > Objects > Certificates.

Available only when Enable Client Certificate is enabled.

Server Profile
Certificate Select the certificates you have created in Performance Testing > Objects > Certificate Groups. If you have selected a certificate group in the Select case options window, then you are not allowed to select certificate here.
If you have selected ECDHE-ECDSA ciphers for the client, then you must reference an ECC certificate for the server, otherwise the SSL handshake will fail.
Session Resumption
  • Disabled (turns off session resumption).
  • Resume Session by Ticket: Select this option to simulate a client presenting a ticket to a TLS server, having originated from that server, for the purpose of resuming a TLS session.
  • Resume Session by Session: Select this option to simulate a user attempting to use the same SSL Session ID, initially negotiated with the server.