Generating communication protocol test cases based on network traffic
First Claim
Patent Images
1. A method for generating tests, comprising:
- receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange;
identifying a message structure for a message in the packet capture;
generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange and including the identified message structure; and
generating mutation tests using the scenario.
1 Assignment
0 Petitions
Accused Products
Abstract
A packet capture is received from actual network traffic, the traffic including a multiple protocol message exchange. A scenario may be generated based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange. The scenario is used to generate tests, for example protocol mutation tests.
217 Citations
27 Claims
-
1. A method for generating tests, comprising:
-
receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange; identifying a message structure for a message in the packet capture; generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange and including the identified message structure; and generating mutation tests using the scenario. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for generating tests, comprising:
-
receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange; generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange; generating mutation tests using the scenario; and identifying message flows in the packet capture; and including the message flows in the scenario.
-
-
15. A method for generating tests, comprising:
-
receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange; generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange among multiple hosts; generating mutation tests using the scenario; identifying the multiple hosts in the packet exchange; and including an identification of the hosts in the scenario.
-
-
16. A method for generating tests, comprising:
-
receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange; generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange; and generating mutation tests using the scenario; wherein the mutation tests are stateful. - View Dependent Claims (17)
-
-
18. An article of manufacture including a computer readable medium having stored thereon instructions configured to be executed by a processor to carry out a method comprising:
-
receiving a packet capture from actual network traffic, the traffic including a multiple protocol message exchange and identifying a message structure for a message in the packet capture; generating a scenario based on an analysis of the received packet capture, the scenario modeling the multiple protocol message exchange and including the identified message structure; and generating mutation tests using the scenario.
-
-
19. A system for generating mutation tests derived from actual network traffic, comprising:
-
storage configured to store a packet capture from actual network traffic, the traffic including a multiple protocol message exchange and identifying a message structure for a message in the packet capture; a scenario generator in communication with the storage, and configured to generate a scenario based on an analysis of the packet capture, the scenario modeling the multiple protocol message exchange and including the identified message structure; and a test generator configured to generate mutation tests using the scenario. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification