Virtual machine testing method and device
A testing method and virtual machine technology, applied in the field of testing, can solve problems such as testing that cannot provide virtual machine setting performance index data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 2 It is a flow chart of the virtual machine testing method in Embodiment 1 of the present application.
[0025] In the embodiment of the present application, the performance index data of a virtual machine may be tested. like figure 2 As shown, the testing method of the virtual machine in Embodiment 1 of the present application includes the following steps:
[0026] S201, creating a test scenario library in advance; the scenario library includes a plurality of test scenarios, and each test scenario corresponds to each performance index; each test scenario includes one or more test programs.
[0027] During specific implementation, the test scenarios corresponding to these performance indicators can be determined according to the performance indicators of a plurality of predetermined virtual machines; and then one or more A test program; specifically, the test program may be a test program written in advance by a developer or a tester.
[0028] Specifically,...
Embodiment 2
[0075] image 3 It is a flow chart of the virtual machine testing method in Embodiment 2 of the present application.
[0076] like image 3 As shown, the testing method of the virtual machine in Embodiment 2 of the present application includes the following steps:
[0077] S301, creating a test scenario library in advance; each test scenario in the scenario library corresponds to each performance index; each test scenario includes one or more test procedures;
[0078] In specific implementation, the specific implementation of step 301 can refer to the implementation of step 201 in the first embodiment of the present application, and the repeated description will not be repeated.
[0079] S302, acquire test environment parameters, the test environment parameters include the hardware parameters of the terminal running the first virtual machine, and any one of the following parameters of the terminal: operating system user layer parameters, operating system kernel layer paramet...
Embodiment 3
[0102] Figure 4 It is a schematic structural diagram of a testing device for a virtual machine shown in Embodiment 3 of the present application.
[0103] like Figure 4 As shown, according to the virtual machine test device 400 shown in the third embodiment of the present application, it includes: a test scenario determination module 401, which is used to determine each first test scenario from the pre-created test scenario library according to the first performance index to be tested. The test scenario corresponding to the test performance index; wherein, each test scenario includes one or more test programs respectively; the running module 402 is used to run one or more test programs of each test scenario on the first virtual machine respectively; the performance determination module 403. Determine data corresponding to each first performance indicator to be tested of the first virtual machine according to the operating parameters of each test scenario.
[0104] In specif...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


