Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2017-09-29
BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a testing method and device for a virtual machine, which is used to solve the problem in the prior art that the testing of the set performance index data for the virtual machine cannot be provided

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine testing method and device
  • Virtual machine testing method and device
  • Virtual machine testing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a virtual machine testing method and device. The method comprises the steps that according to first to-be-measured performance indexes, a test scene corresponding to each first to-be-tested performance index is determined from a pre-established test scene library, wherein each test scene comprises one or more test programs; one or more test programs of each test scene on a first virtual machine run respectively; data corresponding to each first to-be-tested performance index of the first virtual machine is determined according to the running parameters of each test scenes. By means of the method and device, the set performance index data for the virtual machine can be provided.

Description

technical field [0001] The present application relates to testing technology, and in particular, to a testing method and device for a virtual machine. Background technique [0002] JVM (Java Virtual Machine, Java Virtual Machine) is a hypothetical computer that can run object-oriented programming language Java code. As long as the interpreter is ported to a specific computer according to the JVM specification, any compiled Java code can be guaranteed to run on that system. The Java virtual machine is an imaginary machine that is implemented through software simulation on an actual computer. The Java virtual machine has its own imaginary hardware, such as processors, stacks, registers, etc., and also has a corresponding instruction system. [0003] At present, there are many application scenarios of the Java virtual machine. For example, the Android operating system provides the operating environment of the Java virtual machine, so that multiple applications in the Android ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F9/455
CPCG06F9/45504G06F11/3668
Inventor 陶震
Owner BANMA ZHIXING NETWORK HONGKONG CO LTD