Starting a packet capture test
The packet capture test captures packets received from the network adapter.
To start a packet capture test:
- In Performance testing, expand Packet Capture and click packet capture.
- 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. |
To start /stop a packet capture test while another test is running:
From the run page of the other test, follow the steps below.
- Go to Capture > Client.
- Click Restart, under status.
- Configure the desired settings.
- Click Start to run the packet capture test.
packet capture test case options
Settings | Guidelines |
---|---|
Basic Information | |
Name | Specify the case name, or just use the default. The name appears in the list of test cases. |
Duration | Specify the test duration. The default is 10 minutes. The test stops automatically after the duration you specify. |
Number of Samples | Select the number of samples. The default is 20, which means the web UI will show the last 20 sample data (about 20 seconds) in the test case running page. You can select 20, 60, or 120. |
Network Settings | |
Client Ports |
The graphic depicts the test ports for client-side connections. The client ports simulate the behavior of clients. You must select at least one client port. After you select a port for client, a (check mark) is displayed on the port icon, and a tab for the port is added below the graphic. Use the tabs to toggle the Capture Packets controls for each port. |
Capture Packets | |
Capture Packets | Set packet capture options if you want to capture the traffic of this port. You can capture all packets or specify a number. You can set packet capture filters for host IP/port and protocol.
NOTE: The system allocates temporary disk space for packet captures. The limit is 6,000,000 packets. The packets are saved to a temporary file that you can download from the running test case page. The filename indicates whether it is client or server communication and the interface port number. For example, client_port1.pcap. When a subsequent test case with packet capture enabled uses the same interface port as a previous one, the previous file is overwritten. |
Load | |
Packet Analysis | Select Yes to analyze bandwidth percentage for each protocol. |
Network | |
Network MTU | Maximum Transmission Unit for a data packet. FortiTester does not send out data packets larger than this value. Most DUTs have a limit for packet size. The default is 1500. Not configurable. |