Automated test generation for multi-interface enterprise virtualization management environment
First Claim
1. A computer-implemented method for automated testing of a virtualization management system, the method comprising:
- generating, by a test server, a test case comprising instances of commands executable by the virtualization management system;
sending, by the test server, the test case to each interface of interfaces supported by the virtualization management system, the interfaces comprising a command line interface, a graphical user interface, and an application programming interface, each of which communicates with the virtualization management system;
generating, by the test server, a response file corresponding to each of the instances of commands in the test case;
executing, using the command line interface, the graphical user interface, and the application programming interface, a first instance of a command in the test case by the virtualization management system;
comparing, by the test server, results of the execution for each of the command line interface, the graphical user interface, and the application programming interface of the first instance of the command in the test case in order to determine whether the results are identical for the command line interface, the graphical user interface, and the application programming interface;
in response to the results from each of the command line interface, the graphical user interface, and the application programming interface of the virtualization management system being identical, storing the results from the virtualization management system in the response file corresponding to the first instance of the command;
determining, by the test server, that an error occurred among the command line interface, the graphical user interface, and the application programming interface in response to the results from each of the interfaces of the virtualization management system not being identical; and
the response file corresponding to the first interface of the command includes an entry corresponding to the result of executing each of the instances of the commands via each interface of the virtualization management system.
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.
26 Citations
7 Claims
-
1. A computer-implemented method for automated testing of a virtualization management system, the method comprising:
-
generating, by a test server, a test case comprising instances of commands executable by the virtualization management system; sending, by the test server, the test case to each interface of interfaces supported by the virtualization management system, the interfaces comprising a command line interface, a graphical user interface, and an application programming interface, each of which communicates with the virtualization management system; generating, by the test server, a response file corresponding to each of the instances of commands in the test case; executing, using the command line interface, the graphical user interface, and the application programming interface, a first instance of a command in the test case by the virtualization management system; comparing, by the test server, results of the execution for each of the command line interface, the graphical user interface, and the application programming interface of the first instance of the command in the test case in order to determine whether the results are identical for the command line interface, the graphical user interface, and the application programming interface; in response to the results from each of the command line interface, the graphical user interface, and the application programming interface of the virtualization management system being identical, storing the results from the virtualization management system in the response file corresponding to the first instance of the command; determining, by the test server, that an error occurred among the command line interface, the graphical user interface, and the application programming interface in response to the results from each of the interfaces of the virtualization management system not being identical; and the response file corresponding to the first interface of the command includes an entry corresponding to the result of executing each of the instances of the commands via each interface of the virtualization management system. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification