Fortinet white logo
Fortinet white logo

Administration Guide

Starting a TCP connection test

Starting a TCP connection test

FortiTester tests TCP concurrent connection performance by generating a specified volume of two-way TCP traffic flow via specified ports.

To start a TCP connection test:
  1. In Performance testing, expand TCP and click connection.
  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.

TCP connection test case options

For details about the common options for TCP cases, see TCP Test Case common options.

Settings Guidelines
Network Settings
If you have selected a network config template, the network settings automatically inherit the configurations in the template. See Using network configuration templates for the description of network settings.
Client Profile
Send Size Specify the buffer size to send out from the client side. The default is 800 bytes. The valid range is from 1 to 100,000.
Receive Size Specify the buffer size to receive from the server side. The default is 1,000 bytes. The valid range is from 1 to 100,000.
Client Close Mode Select the connection close method: 3Way_Fin or Reset.
Source Port Range Specify a client port range. The valid range is 10,000 to 65,535, which is also the default.
IP Change Algorithm/Port Change Algorithm Select a change algorithm: Increment or Random. This setting determines how the system changes source/destination IP addresses and ports to simulate multiple client requests. The Increment option uses the next IP address or port in the range, for example: 10.11.12.1 -> 10.11.12.2; port 10000 -> 10001. The Random option selects an IP address or port in the range randomly.

Starting a TCP connection test

Starting a TCP connection test

FortiTester tests TCP concurrent connection performance by generating a specified volume of two-way TCP traffic flow via specified ports.

To start a TCP connection test:
  1. In Performance testing, expand TCP and click connection.
  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.

TCP connection test case options

For details about the common options for TCP cases, see TCP Test Case common options.

Settings Guidelines
Network Settings
If you have selected a network config template, the network settings automatically inherit the configurations in the template. See Using network configuration templates for the description of network settings.
Client Profile
Send Size Specify the buffer size to send out from the client side. The default is 800 bytes. The valid range is from 1 to 100,000.
Receive Size Specify the buffer size to receive from the server side. The default is 1,000 bytes. The valid range is from 1 to 100,000.
Client Close Mode Select the connection close method: 3Way_Fin or Reset.
Source Port Range Specify a client port range. The valid range is 10,000 to 65,535, which is also the default.
IP Change Algorithm/Port Change Algorithm Select a change algorithm: Increment or Random. This setting determines how the system changes source/destination IP addresses and ports to simulate multiple client requests. The Increment option uses the next IP address or port in the range, for example: 10.11.12.1 -> 10.11.12.2; port 10000 -> 10001. The Random option selects an IP address or port in the range randomly.