CN107766248A - A kind of method of fast verification cloud computing IAAS platform building situations - Google Patents

A kind of method of fast verification cloud computing IAAS platform building situations Download PDF

Info

Publication number
CN107766248A
CN107766248A CN201710996911.8A CN201710996911A CN107766248A CN 107766248 A CN107766248 A CN 107766248A CN 201710996911 A CN201710996911 A CN 201710996911A CN 107766248 A CN107766248 A CN 107766248A
Authority
CN
China
Prior art keywords
fast verification
platform
test
cloud computing
verification platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710996911.8A
Other languages
Chinese (zh)
Inventor
莫佩红
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201710996911.8A priority Critical patent/CN107766248A/en
Publication of CN107766248A publication Critical patent/CN107766248A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Abstract

The present invention relates to cloud computing IAAS platform technologys field, particularly relates to a kind of method of fast verification cloud computing IAAS platform building situations.The present invention makes the mirror image of fast verification platform first;Prepare the test case of fast verification;Fast verification platform is built, imports test case;Packing fast verification platform, outgoing mirror picture;After the completion of cloud computing IAAS platform buildings, the example of fast verification platform is created by mirror image;Start fast verification platform, configure the information of IAAS platforms;Automatic test is carried out by fast verification platform;Test result is checked, if test result is not by according to test result analysis and after solving the problems, such as, repeating automatic test, if test result is by terminating to verify.The present invention solves the problems, such as the integrality after IAAS platform buildings and functional availability automatic Verification.

Description

A kind of method of fast verification cloud computing IAAS platform building situations
Technical field
The present invention relates to cloud computing IAAS platform technologys field, particularly relates to a kind of fast verification cloud computing IAAS platforms and takes The method for building situation.
Background technology
Verification method after traditional cloud computing IAAS platform buildings, personnel are usually disposed according to using experience, are being put down Manual testing is carried out on platform.Typically because platform service amount is big, main flow test is only carried out.Either tester is accredited to client Scene carries out DCO.
The drawbacks of following be present in the above method:
Repeat, the test job amount of machinery, expend most deployment time and human cost.
Deployment personnel are tested according to using experience, carelessness and the mistake of implementation procedure be present.
Multiple projects are implemented simultaneously, tester's deficiency, accredit and carry out test and become to realize.
The content of the invention
Present invention solves the technical problem that it is to provide a kind of method of fast verification cloud computing IAAS platform building situations; After the completion of solving cloud computing IAAS platform buildings, the problem of the integrality and functional availability of verification platform.
The present invention solve above-mentioned technical problem technical scheme be:
Described method comprises the following steps:
Step 1, the mirror image of fast verification platform is made;
Step 2, the test case of fast verification is prepared;
Step 3, fast verification platform is built, imports test case;
Step 4, packing fast verification platform, outgoing mirror picture;
Step 5, after the completion of cloud computing IAAS platform buildings, the example of fast verification platform is created by mirror image;
Step 6, start fast verification platform, configure the information of IAAS platforms;
Step 7, automatic test is carried out by fast verification platform;
Step 8, if test result is not by according to test result analysis and after solving the problems, such as, repeating automation Test, if test result is by terminating to verify.
Described fast verification platform, it is responsible for performing the platform of automatic test, can is independent development, suitable for can The automatic test platform of continuation test.Can also apply third-party testing instrument or automated test frame, such as: JMETER, QTP, Ant+Selenium+Testng+Jenkins etc..Put down herein using the automatic test of independent development Platform.
The described example that fast verification platform is created by mirror image, refer to by way of mirror image establishment, create one Individual example --- virtual machine server, because the mirror image of fast verification platform has been built in reference, fast verification platform can also copy to In example.
The startup fast verification platform, the information of IAAS platforms is configured, refers in fast verification platform, configures cloud The recalls informations such as the IP of IAAS platforms, engineering catalogue, port, user are calculated, for calling the interface of cloud computing IAAS platforms to enter Row test.
The present invention program's has the beneficial effect that:
1st, automatic test is carried out by fast verification platform, reduces the manual testing's workload for repeating machinery, liberate people Power, reduce the lower deployment cost of cloud computing IAAS platforms.
2nd, test process automation, test coverage, measuring accuracy can be improved, lowers the carelessness in implementation procedure and mistake By mistake, the degree of belief of the result is increased.
3rd, reusability, the mirror image of packing fast verification platform output, can be simultaneously provided in multiple project implementations and use, Realize the multiplexing effect of fast verification method.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the flow chart of the inventive method;
Embodiment
As shown in figure 1, the flow of the present invention is as follows:
(1) mirror image of fast verification platform, is made;
(2) test case of fast verification, is prepared;
The template of test case is as follows:
Explanation:
test_task_key:Test assignment title
tc_name:Test case title
cmd_name:Interface name
input_params:Parameter name
input_values:Parameter value
order_index:Use-case execution sequence
wait_time:Stand-by period before use-case performs
expected:Expected result
max_repeat_time:Use-case performs and retries maximum times after failing
api_type:Interface type
description:Use case description
jsonClient:Test lead, it is used to connect IAAS platforms herein
jsonClientUser:End subscriber is tested, is used to connect IAAS platforms herein
(3) fast verification platform, is built, imports test case;
(4) packing fast verification platform, outgoing mirror picture;
1) example is closed
2) by virsh dumpxml example IDs, check that the snapshot path of instance system disk is as follows:
Perform and qcow2 is converted into raw mirror images to give an order, you can obtain mirror image newly.
qemu-img convert-p-O qcow2/instances/disk/username/instanceId/ instanceId_snap/AutoTest.qcow2
(5) after the completion of cloud computing IAAS platform buildings, the example of fast verification platform is created by mirror image;
1) mirror image is prepared, by mirror-image copies to instance system disk file directory/instances/disk/username/i- AutoTestVM/cp/AutoTest.qcow2/instances/disk/username/i-AutoTestVM/i- AutoTestVM_snap
2) document libvirt.xml, it is put into path/instances/disk/username/i-AutoTestVM/
3) example is created
[root@localhost i-AutoTestVM]#virsh create libvirt.xml
Domain i-AutoTestVM created from libvirt.xml
(6) start fast verification platform, configure the information of IAAS platforms;
Configure the following information of cloud computing IAAS platforms:IP, engineering catalogue, port, user, for calling cloud computing IAAS to put down Platform interface.
(7) automatic test is carried out by fast verification platform;
After the completion of tested cloud computing IAAS platform informations configuration, start to perform automatic test.
Step is as follows:
Fill in test assignment title:AutoTest
Test assignment performs the time:Perform at once
Whether test case performs stops when making a mistake:It is no
The IP address at tested end:Input the IP address of cloud computing IAAS platforms
The user at tested end:Input the user of cloud computing IAAS platforms
This fast verification is selected to need the use-case task performed:AutoTest_001, AutoTest_002, AutoTest_003, AutoTest_004, AutoTest_005, AutoTest_006, AutoTest_007, AutoTest_ 008, support multiple use-case tasks concurrently to perform.
Click starts to perform, and checks testing progress.
(8) test result, is checked.If test result is not by according to test result analysis and after solving the problems, such as, repeating Automatic test is performed, if test result is by terminating to verify.
1) enter result summary, check test result overview.
Realize as follows:
Executor Always use number of cases By using number of cases Unsuccessfully use number of cases Percent of pass Maximum response time Best-case Response Time Average response time
admin 1056 1034 22 97.92% 14304ms 0ms 325ms
Description of contents:
Executor:The current login account of fast verification platform, perform the user of epicycle test
Always use number of cases:Number of cases is always used in epicycle test
By using number of cases:Statistical test result uses number of cases for what is passed through
Unsuccessfully use number of cases:Statistical test result uses number of cases for failure
Percent of pass:By using number of cases/use-case sum
Maximum response time:Interface issues a request to the maximum time for receiving return
Best-case Response Time:Interface issues a request to the minimum time for receiving return
Average response time:Response time sum/use-case sum
2) enter detailed results, check test result details.
Realize as follows:
Use-case title Use case description API Output Pass through Number of attempt Perform the time Response time
testcase001 Start CreateInstance {"success":true} Y 1 2017-09-18 11:01:06.0 31ms
Description of contents:
Use-case title:Test case title
Use case description:Use-case explanation
API:The interface name of calling
Output:Interface return information
Pass through:Y/ passes through N/ failures
Number of attempt:After use-case performs failure, the number of execution is reattempted
Perform the time:The use-case starts the time performed
Response time:Interface issues a request to the time for receiving return.

Claims (5)

  1. A kind of 1. method of fast verification cloud computing IAAS platform building situations, it is characterised in that described method includes as follows Step:
    Step 1, the mirror image of fast verification platform is made;
    Step 2, the test case of fast verification is prepared;
    Step 3, fast verification platform is built, imports test case;
    Step 4, packing fast verification platform, outgoing mirror picture;
    Step 5, after the completion of cloud computing IAAS platform buildings, the example of fast verification platform is created by mirror image;
    Step 6, start fast verification platform, configure the information of IAAS platforms;
    Step 7, automatic test is carried out by fast verification platform;
    Step 8, if test result not by, according to test result analysis and after solving the problems, such as, repeat automatic test, If test result is by terminating to verify.
  2. 2. according to the method for claim 1, it is characterised in that:
    Described fast verification platform, the automatic test platform of sustainability test is applied to, be responsible for performing automation survey Examination, including:JMETER, QTP, Ant+Selenium+Testng+Jenkins.
  3. 3. according to the method for claim 1, it is characterised in that:Described example is created by way of mirror image establishment Virtual machine server.
  4. 4. according to the method for claim 2, it is characterised in that:Described example is created by way of mirror image establishment Virtual machine server.
  5. 5. according to the method described in any one of Claims 1-4, it is characterised in that:In fast verification platform, cloud computing is configured The recalls informations such as the IP of IAAS platforms, engineering catalogue, port, user, for calling the interface of cloud computing IAAS platforms to be surveyed Examination.
CN201710996911.8A 2017-10-20 2017-10-20 A kind of method of fast verification cloud computing IAAS platform building situations Withdrawn CN107766248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710996911.8A CN107766248A (en) 2017-10-20 2017-10-20 A kind of method of fast verification cloud computing IAAS platform building situations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710996911.8A CN107766248A (en) 2017-10-20 2017-10-20 A kind of method of fast verification cloud computing IAAS platform building situations

Publications (1)

Publication Number Publication Date
CN107766248A true CN107766248A (en) 2018-03-06

Family

ID=61268581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710996911.8A Withdrawn CN107766248A (en) 2017-10-20 2017-10-20 A kind of method of fast verification cloud computing IAAS platform building situations

Country Status (1)

Country Link
CN (1) CN107766248A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298604A (en) * 2014-11-06 2015-01-21 哈尔滨工业大学 Testing system and testing method for robustness of cloud service
US20150058619A1 (en) * 2011-08-09 2015-02-26 CloudPassage, Inc. Systems and methods for implementing computer security
CN105357067A (en) * 2015-10-14 2016-02-24 广州杰赛科技股份有限公司 Test method and system for cloud platform
CN107026754A (en) * 2017-03-04 2017-08-08 郑州云海信息技术有限公司 A kind of automation O&M method and device of single node PaaS platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150058619A1 (en) * 2011-08-09 2015-02-26 CloudPassage, Inc. Systems and methods for implementing computer security
CN104298604A (en) * 2014-11-06 2015-01-21 哈尔滨工业大学 Testing system and testing method for robustness of cloud service
CN105357067A (en) * 2015-10-14 2016-02-24 广州杰赛科技股份有限公司 Test method and system for cloud platform
CN107026754A (en) * 2017-03-04 2017-08-08 郑州云海信息技术有限公司 A kind of automation O&M method and device of single node PaaS platform

Similar Documents

Publication Publication Date Title
CN109034188B (en) Method and device for acquiring machine learning model, equipment and storage medium
CN108804215B (en) Task processing method and device and electronic equipment
CN105302722B (en) CTS automatic testing method and device
CN106326088B (en) Method and device for realizing construction of test object and device for realizing service configuration test
EP2615554B1 (en) Test case arrangement and execution
US20210303368A1 (en) Operator management apparatus, operator management method, and operator management computer program
WO2019104916A1 (en) Development role creation method, device and equipment for test case, and storage medium
CN103281410A (en) Broadcast television network intelligent obstacle pretreatment method and system
CN110134612A (en) UI test data generating method, device, equipment and readable storage medium storing program for executing
KR100931559B1 (en) Testing method and its apparatus of the substation automation system based report
US8938490B2 (en) System and method for accessing mainframe system automation from a process automation application
CN110377347A (en) A kind of automatic inspection method and system of Redfish setting BIOS option
CN104850491A (en) Software test method, equipment and system
US9823999B2 (en) Program lifecycle testing
CN105868100A (en) Android system-based automatic test method and device
CN107766248A (en) A kind of method of fast verification cloud computing IAAS platform building situations
CN105573905A (en) Software compatibility testing method and system
CN112231209A (en) Parameter acquisition method and device, computer equipment and storage medium
CN116298340A (en) Product defect detection method and system based on task scheduling
CN107291611A (en) Call the test system and method for third-party testing instrument
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN112948195B (en) Interface testing method, device, electronic equipment and storage medium
CN107231268B (en) Method and device for testing website performance
CN111722997B (en) Abnormality detection method for automated test and computer-readable storage medium
CN109547289B (en) Method, storage device and system for intelligently scheduling visitor flow

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180306

WW01 Invention patent application withdrawn after publication