Site icon Software Testing Class

Protocol Testing

What is Protocol Testing?

The protocol testing is a cumulative term used by the communication industries or organizations for the testing of different protocols in the domains of VoIP, Wireless, Switching, and Routing, etc. In the protocol testing, we tests the structure of packets which are sent over a network using protocol testing tools. During the test, routers and switches are involved which form the parts of devices or products under test. Routers we can imagine as a bus which is used for the transportation and the routing protocols as the traffic signals on the road.

 

Software Protocols:

Software protocols are the common set of rules and constraints that each computers will obey when communicating with each other over a network. These rules define the data and its format that should be followed by all computers during data transfer through a network.Protocols can be categorized into two categories. They are routed protocols and a routing protocols.

Below is the summary of Computer protocols that fall under the protocol testing.

S No. Protocol Description
1. FTP FTP stands for File Transfer Protocol. This protocol is applicable during the transfer of files between one computer/node to another computer/node over a network.
2. HTTP HTTP stands for Hypertext Transfer Protocol. This protocol is applicable during the transfer of HTML page in encrypted form in order to provide security to the sensitive data.
3. POP3 POP3 stands for Post Office Protocol. This protocol is used to receive emails.
4. SMTP SMTP stands for Simple Mail Transfer Protocol. This protocol is used to send emails.
5. TCP/IP TCP/IP stands for Transmission Control Protocol/ Internet protocol. It is applicable duringsending of information in small packets over the Internet.
6. UDP/ ICMP UDP/ ICMPstands for User Datagram Protocol/Internet Control Message Protocol. It is applicable during sending of small amount of information in data-packets over internet.

 

Scope of Protocol Testing:

Protocol testing has wide scope in the organizations such as CISCO, JUNIPER, etc. which manufactures networking devices such as routers, modems, switches, wireless access points, etc. Protocol testing for these devices involves checking of EIGRP (Enhanced Interior Gateway Routing Protocol) or OSPF (Open Shortest Path First), etc.

 

Protocol Testing Scope in OSI Model:

The popular OSI model has total 7 layer of network communication out of which data link and network layer are very important.

 

Procedure of Protocol Testing:

To conduct protocol testing, we require protocol analyzer and simulator. Together, they are used for scalability, performance, protocol algorithm etc. of the device.

 

Types of Protocol Testing:

Protocol testing involves the following three checks.

Protocol testing is sub-classified into performance and functional testing.

 

Sample Test Cases Design For Protocol Testing:

The following are the sample test cases for the protocol testing of a router.

Test Case ID Test Case Name Test Case Description
TC1 Operating speed of Line To test the device operating speed at 100Mbps, along with the utilization of all the available bandwidth to handle incoming traffic.
TC2 Protocol conversation rate To test and track a TCP conversation between two or more devices for the verification of their correct operating behaviour.
TC3 Negative testing Enter the negative test data such as incorrect key in order to check the user for authentication and the device behaviour.
TC4 Performance of telephone switch Performance analysis of the device during the pool of 500 – 1000 telephone calls and its capability to switch over the calls.
TC5 Spanning Tree: Root Path Cost Variation To test the effect of the topology variation versus the Root Path Cost changes.
TC6 Spanning Tree: Port Blocking To test the spanning tree protocol for the mitigation of cycles in the network, blocking redundant links, etc.
TC7 Each Root Bridge for distinct MSTI To test that each MSTI can have distinct Root Bridge.
TC8 Response time Test to evaluate the response time of a device against the invite request for the session initiation.

 

Protocol Testing Tools:

The following are the protocol testing tools which are widely used by the Network companies.

 

Conclusion:

In this article, we discussed about the protocol testing. We covered protocol testing procedures, sample test cases and the testing tools used to conduct protocol testing. This is unique type of testing, share your experience which help our QA friends to understand more insight of protocol testing.

Exit mobile version