Automated test generation for multi-interface enterprise virtualization management environment
First Claim
1. A system for automated testing of a virtualization management system, the system comprising:
- a memory; and
a processor configured to;
determine a number of interfaces supported by the virtualization management system;
generate a test case comprising instances of commands executable by the virtualization management system;
send the test case for execution by the virtualization management system via each of the interfaces of the virtualization management system;
generate a response file for each unique command in the test case, wherein the response file includes an entry corresponding to a result of executing each instance of the unique command via each interface of the virtualization management system;
compare results of execution, by the virtualization management system via each interface, of a first instance of a command in the test case, wherein the interfaces of the virtualization management system comprise a first interface through a last interface;
in response to the results of the first instance of the command via each interface being identical such that the results of the first instance of the command are identical for the first interface though the last interface, append the results to each response file corresponding to the first instance of the command; and
in response to the results of the first instance of the command via each interface not being identical, report an error.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments for automated testing of a virtualization management system are described. According to one aspect, a method includes generating a test case including a plurality of instances of commands and sending the test case to a plurality of interfaces supported by the virtualization management system. The method also includes generating a response file corresponding to each command in the test case. The method also includes comparing results from each interface to an instance of a command and in response to the results from each interface being identical, storing, the results in the response file corresponding to the command. The method also includes reporting an error in response to the results from each interface of the virtualization management system not being identical. The present document further describes examples of other aspects such as systems, computer products.
-
Citations
12 Claims
-
1. A system for automated testing of a virtualization management system, the system comprising:
-
a memory; and a processor configured to; determine a number of interfaces supported by the virtualization management system; generate a test case comprising instances of commands executable by the virtualization management system; send the test case for execution by the virtualization management system via each of the interfaces of the virtualization management system; generate a response file for each unique command in the test case, wherein the response file includes an entry corresponding to a result of executing each instance of the unique command via each interface of the virtualization management system; compare results of execution, by the virtualization management system via each interface, of a first instance of a command in the test case, wherein the interfaces of the virtualization management system comprise a first interface through a last interface; in response to the results of the first instance of the command via each interface being identical such that the results of the first instance of the command are identical for the first interface though the last interface, append the results to each response file corresponding to the first instance of the command; and in response to the results of the first instance of the command via each interface not being identical, report an error. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer product for automated testing of a virtualization management system, the computer product comprising computer readable storage medium, the computer readable storage medium comprising computer executable instructions, wherein the computer readable storage medium comprises instructions to:
-
determine a number of interfaces supported by the virtualization management system; generate a test case comprising instances of commands executable by the virtualization management system; send the test case for execution by the virtualization management system via each of the interfaces of the virtualization management system; generate a response file for each unique command in the test case, wherein the response file includes an entry corresponding to a result of executing each instance of the unique command via each interface of the virtualization management system; compare results of execution, by the virtualization management system via each interface, of a first instance of a command in the test case, wherein the interfaces of the virtualization management system comprise a first interface through a last interface; in response to the results of the first instance of the command via each interface being identical such that the results of the first instance of the command are identical for the first interface through the last interface, append the results to each response file corresponding to the first instance of the command; and in response to the results of the first instance of the command via each interface not being identical, report an error. - View Dependent Claims (9, 10, 11, 12)
-
Specification