Skip to the content.

TCP protocol test case

To test the TCP plugin, we need to get some trace files for testing TCP protocol

Get .pcap file

To get a pcap file to test offline, follow the process:

Using this trace file to test TCP plugin

Test case

Each test case will correspond with a trace file.

What do we need to monitor

Test case possible:

How to test a trace file

-> Expect to see all correct value of all registered attributes

-> Expect to see all attributes of TCP protocol of every TCP packet i.e tcp.p_payload, tcp.p_data,….

-> Expect to have the file which was transferred by TCP protocol. Especially for this test, some type of file should be tested: text, .pdf, image, audio, bin, compressed, video.