CN109101385A - A kind of automation method for testing pressure and system based on cloud computing - Google Patents

A kind of automation method for testing pressure and system based on cloud computing Download PDF

Info

Publication number
CN109101385A
CN109101385A CN201810935070.4A CN201810935070A CN109101385A CN 109101385 A CN109101385 A CN 109101385A CN 201810935070 A CN201810935070 A CN 201810935070A CN 109101385 A CN109101385 A CN 109101385A
Authority
CN
China
Prior art keywords
host
test
cloud
cloud host
testing
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.)
Pending
Application number
CN201810935070.4A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810935070.4A priority Critical patent/CN109101385A/en
Publication of CN109101385A publication Critical patent/CN109101385A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The present invention provides a kind of automation method for testing pressure and system based on cloud computing, and method includes the following steps: that S1. creates platform to be measured on cloud host;S2. test cell is created on host;S3. host sends test cell to cloud host, and initializes cloud host;S4. cloud host-initiated test cell is tested automatically;S5. cloud host obtains test result;S6. test result is returned to host by cloud host.System includes platform creation module, test cell creation module, test distribution module, test starting module, test result acquisition module and test result return module to be measured.The present invention realizes the concurrently execution disk pressure test of automation and effectively collects test result, it is worked normally to examine cloud computing product to be measured whether to meet under disk high pressure, it also realizes and cloud host is initialized, test quality can be effectively improved, the investment of unnecessary tester is reduced.

Description

A kind of automation method for testing pressure and system based on cloud computing
Technical field
The invention belongs to cloud computing pressure test fields, and in particular to a kind of automation pressure test side based on cloud computing Method and system.
Background technique
For cloud computing software product, under the premise of guaranteeing that basic function is available, the reliability of storage performance is to product Influence is also most important, therefore while assurance function test, to carry out the pressure test of disk, more to prevent at elevated pressures Product can not work normally.And the data pressure scene of tester's hand simulation user is relied on merely, with testing product Whether normal operation, it too takes time and effort.Although the current disk pressure test tool Iometer, Iozone for having open source, Bonnie++ etc., but it needs tester to build test environment by hand and execute order one by one and specify parameter manually, and It manually checks test result in real time, too takes time and effort.
This is the deficiencies in the prior art, therefore, in view of the above-mentioned drawbacks in the prior art, is provided a kind of based on cloud computing Method for testing pressure and system are automated, is necessary.
Summary of the invention
It is an object of the present invention to manually taken time and effort for above-mentioned current cloud computing software product pressure test Defect provides a kind of automation method for testing pressure and system based on cloud computing, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of automation method for testing pressure based on cloud computing, includes the following steps:
S1. platform to be measured is created on cloud host;
S2. test cell is created on host;
S3. host sends test cell to cloud host, and initializes cloud host;
S4. cloud host-initiated test cell is tested automatically;
S5. cloud host obtains test result;
S6. test result is returned to host by cloud host.
Further, test cell includes pressure test unit and testing monitoring unit.
Further, S2. creates pressure test unit and testing monitoring unit on host;
S3. host sends pressure test unit and testing monitoring unit to cloud host, and initializes cloud host;
S4. cloud host-initiated pressure test unit carries out pressure test automatically, while starting testing monitoring unit automatically to test As a result it is recorded.
Further, in step S4 pressure test unit by carrying out pressure survey automatically in cloud host batch read-write operation Examination.
Further, testing monitoring unit automatically records cloud host disk resource using information and system fortune in step S4 Row information.
Further, it includes installation toolkit and update software source that cloud host is initialized in step S3.
Further, the cloud host number is several.
Further, S1. creates platform to be measured on each cloud host;
S2. test cell is created on host;
S3. host sends test cell to each cloud host, and initializes each cloud host;
S4. each cloud host-initiated test cell is tested automatically;
S5. each cloud host obtains test result;
S6. test result is returned to host by all cloud hosts.
The present invention gives following technical solution:
A kind of automation pressure testing system based on cloud computing, including
Platform creation module to be measured, for creating platform to be measured on cloud host;
Test cell creation module, for creating test cell on host;
Distribution module is tested, for sending test cell to cloud host by host, and initializes cloud host;
Test starting module, for being tested automatically by cloud host-initiated test cell;
Test result obtains module, for obtaining test result by cloud host;
Test result return module, for test result to be returned to host by cloud host.
Further, test cell includes pressure test unit and testing monitoring unit.
The beneficial effects of the present invention are:
The present invention realizes the concurrently execution disk pressure test of automation and effectively collects test result, so that cloud computing be examined to wait for Whether survey product meets works normally under disk high pressure, also realizes and initializes to cloud host, can effectively improve test Quality reduces the investment of unnecessary tester.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is cloud host and host schematic diagram of the invention;
Fig. 3 is system schematic of the invention;
Wherein, 1- platform creation module to be measured;2- test cell creation module;3- tests distribution module;4- test starting module; 5- test result obtains module;6- test result return module;7- host;8- the first cloud host;9- the second cloud host;10- Third cloud host.
Specific embodiment:
To enable the purpose of the present invention, feature, advantage more obvious and understandable, it is embodied below in conjunction with the present invention Attached drawing in example, is clearly and completely described the technical solution in the present invention.
Embodiment 1:
As shown in Figure 1, the present invention provides a kind of automation method for testing pressure based on cloud computing, include the following steps:
S1. platform to be measured is created on cloud host;
S2. test cell is created on host;
S3. host sends test cell to cloud host, and initializes cloud host;
S4. cloud host-initiated test cell is tested automatically;
S5. cloud host obtains test result;
S6. test result is returned to host by cloud host.
Embodiment 2:
A kind of automation method for testing pressure based on cloud computing, includes the following steps:
S1. platform to be measured is created on cloud host;
S2. pressure test unit and testing monitoring unit are created on host;
S3. host sends pressure test unit and testing monitoring unit to cloud host, and initializes cloud host;
S4. cloud host-initiated pressure test unit carries out pressure test automatically, while starting testing monitoring unit automatically to test As a result it is recorded;
S5. cloud host obtains test result;
S6. test result is returned to host by cloud host.
Embodiment 3:
The present invention provides a kind of automation method for testing pressure based on cloud computing, includes the following steps:
S1. platform to be measured is created on cloud host;
S2. test cell is created on host;
S3. host sends test cell to cloud host, and initializes cloud host;Initialization cloud host include installation toolkit and Update software source;
S4. cloud host-initiated pressure test unit batch read-write operation carries out pressure test automatically, while starting test monitoring list Member automatically records cloud host disk resource using information and system operation information;
S5. cloud host obtains test result;
S6. test result is returned to host by cloud host.
Embodiment 4:
A kind of automation method for testing pressure based on cloud computing, includes the following steps:
S1. platform to be measured is created on each cloud host;
S2. pressure test unit and testing monitoring unit are created on host;
S3. host sends pressure test unit and testing monitoring unit to each cloud host, and initializes each cloud host;
S4. each cloud host-initiated pressure test unit carries out pressure test automatically, while it is automatically right to start testing monitoring unit Test result is recorded;
S5. each cloud host obtains test result;
S6. test result is returned to host by each cloud host.
As shown in Fig. 2, S1. is using a kind of automation method for testing pressure based on cloud computing of above-described embodiment 4 Platform to be measured is created on one cloud host 8, the second cloud host 9 and third cloud host 10;
S2. it creates on host 7 as the pressure test script of pressure test unit and as the test of testing monitoring unit Monitoring script;
S3. host 7 sent respectively to the first cloud host 8, the second cloud host 9 and third cloud host 10 pressure test script and Test monitoring script;
S4. the first cloud host 8, the second cloud host 9 and third cloud host 10 are respectively started pressure test script and carry out pressure survey Examination, while starting test monitoring script and test result is recorded automatically;
S5. the first cloud host 8, the second cloud host 9 and third cloud host 10 obtain test result respectively;
S6. test result is returned to host 7 respectively by the first cloud host 8, the second cloud host 9 and third cloud host 10.
Embodiment 5:
As shown in figure 3, a kind of automation pressure testing system based on cloud computing, including
Platform creation module 1 to be measured, for creating platform to be measured on cloud host;
Test cell creation module 2, for creating test cell on host;Test cell includes pressure test unit and survey Try monitoring unit;
Distribution module 3 is tested, for sending test cell to cloud host by host, and initializes cloud host;
Test starting module 4, for being tested automatically by cloud host-initiated test cell;
Test result obtains module 5, for obtaining test result by cloud host;
Test result return module 6, for test result to be returned to host by cloud host.
The embodiment of the present invention be it is illustrative and not restrictive, above-described embodiment be only to aid in understanding the present invention, because The present invention is not limited to the embodiments described in specific embodiment for this, all by those skilled in the art's technology according to the present invention Other specific embodiments that scheme obtains, also belong to the scope of protection of the invention.

Claims (10)

1. a kind of automation method for testing pressure based on cloud computing, which comprises the steps of:
S1. platform to be measured is created on cloud host;
S2. test cell is created on host;
S3. host sends test cell to cloud host, and initializes cloud host;
S4. cloud host-initiated test cell is tested automatically;
S5. cloud host obtains test result;
S6. test result is returned to host by cloud host.
2. a kind of automation method for testing pressure based on cloud computing as described in claim 1, which is characterized in that
Test cell includes pressure test unit and testing monitoring unit.
3. a kind of automation method for testing pressure based on cloud computing as claimed in claim 2, which is characterized in that
S2. pressure test unit and testing monitoring unit are created on host;
S3. host sends pressure test unit and testing monitoring unit to cloud host, and initializes cloud host;
S4. cloud host-initiated pressure test unit carries out pressure test automatically, while starting testing monitoring unit automatically to test As a result it is recorded.
4. a kind of automation method for testing pressure based on cloud computing as claimed in claim 3, which is characterized in that
Pressure test unit by carrying out pressure test in cloud host batch read-write operation automatically in step S4.
5. a kind of automation method for testing pressure based on cloud computing as claimed in claim 3, which is characterized in that
Testing monitoring unit automatically records cloud host disk resource using information and system operation information in step S4.
6. a kind of automation method for testing pressure based on cloud computing as described in claim 1, which is characterized in that
It includes installation toolkit and update software source that cloud host is initialized in step S3.
7. a kind of automation method for testing pressure based on cloud computing as described in claim 1, which is characterized in that
The cloud host number is several.
8. a kind of automation method for testing pressure based on cloud computing as claimed in claim 7, which is characterized in that
S1. platform to be measured is created on each cloud host;
S2. test cell is created on host;
S3. host sends test cell to each cloud host, and initializes each cloud host;
S4. each cloud host-initiated test cell is tested automatically;
S5. each cloud host obtains test result;
S6. test result is returned to host by all cloud hosts.
9. a kind of automation pressure testing system based on cloud computing, which is characterized in that including
Platform creation module (1) to be measured, for creating platform to be measured on cloud host;
Test cell creation module (2), for creating test cell on host;
It tests distribution module (3), for sending test cell to cloud host by host, and initializes cloud host;
Test starting module (4), for being tested automatically by cloud host-initiated test cell;
Test result obtains module (5), for obtaining test result by cloud host;
Test result return module (6), for test result to be returned to host by cloud host.
10. a kind of automation pressure testing system based on cloud computing as claimed in claim 9, which is characterized in that test is single Member includes pressure test unit and testing monitoring unit.
CN201810935070.4A 2018-08-16 2018-08-16 A kind of automation method for testing pressure and system based on cloud computing Pending CN109101385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810935070.4A CN109101385A (en) 2018-08-16 2018-08-16 A kind of automation method for testing pressure and system based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810935070.4A CN109101385A (en) 2018-08-16 2018-08-16 A kind of automation method for testing pressure and system based on cloud computing

Publications (1)

Publication Number Publication Date
CN109101385A true CN109101385A (en) 2018-12-28

Family

ID=64849903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810935070.4A Pending CN109101385A (en) 2018-08-16 2018-08-16 A kind of automation method for testing pressure and system based on cloud computing

Country Status (1)

Country Link
CN (1) CN109101385A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311624A (en) * 2020-10-26 2021-02-02 北京金山云网络技术有限公司 Cloud host testing method and device, storage medium and electronic equipment
CN112306837A (en) * 2020-11-10 2021-02-02 光大兴陇信托有限责任公司 Cloud pressure testing method and platform, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461856A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Performance test method, device and system based on cloud computing platform
US20160357652A1 (en) * 2010-03-17 2016-12-08 Zerto Ltd. Multiple points in time disk images for disaster recovery
CN107526661A (en) * 2017-08-21 2017-12-29 郑州云海信息技术有限公司 A kind of method of testing and system of magnetic disk of virtual machine performance
CN107908512A (en) * 2017-11-14 2018-04-13 郑州云海信息技术有限公司 The test method and test device of a kind of disk performance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160357652A1 (en) * 2010-03-17 2016-12-08 Zerto Ltd. Multiple points in time disk images for disaster recovery
CN104461856A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Performance test method, device and system based on cloud computing platform
CN107526661A (en) * 2017-08-21 2017-12-29 郑州云海信息技术有限公司 A kind of method of testing and system of magnetic disk of virtual machine performance
CN107908512A (en) * 2017-11-14 2018-04-13 郑州云海信息技术有限公司 The test method and test device of a kind of disk performance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311624A (en) * 2020-10-26 2021-02-02 北京金山云网络技术有限公司 Cloud host testing method and device, storage medium and electronic equipment
CN112311624B (en) * 2020-10-26 2022-08-16 北京金山云网络技术有限公司 Cloud host testing method and device, storage medium and electronic equipment
CN112306837A (en) * 2020-11-10 2021-02-02 光大兴陇信托有限责任公司 Cloud pressure testing method and platform, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN101093462B (en) Automatization method for testing schooling pressure on database application
CN107797919A (en) The method and computing device of a kind of automatic test
CN111258830B (en) Server power consumption comparison test system and method
CN104317684A (en) Method for synchronously and automatically testing bandwidths and transmission rates of multiple USB interfaces
CN109101385A (en) A kind of automation method for testing pressure and system based on cloud computing
CN107257303A (en) A kind of method for carrying out automatic detection to network interface card in server system restarting process
CN113961413A (en) Server power consumption testing method and device
CN107068199B (en) Performance test method of SSD (solid State disk)
CN107977318B (en) Energy consumption and performance test method for Android application program
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
CN111400154A (en) Performance test method and related device for solid state disk
CN109885438A (en) A kind of FPGA method for testing reliability, system, terminal and storage medium
Scanniello An investigation of object-oriented and code-size metrics as dead code predictors
CN107515803A (en) A kind of storing performance testing method and device
CN108038031A (en) A kind of method and device for monitoring hard disk presence in real time
CN108959003A (en) A kind of realization multi-memory method for testing pressure, system, equipment and computer readable storage medium
CN108089965A (en) A kind of computer parallel type method for testing pressure
CN109783292A (en) A kind of inspection method and system of server info
CN114661586A (en) Embedded computer software testing method
CN108717388A (en) A kind of memory diagnosis test method that can be positioned in real time under DOS environment
CN106326054A (en) Automatic test system and method of mainboard PCI external device
CN113791980A (en) Test case conversion analysis method, device, equipment and storage medium
CN109388829B (en) Electronic product service life measuring and calculating method
CN206192772U (en) X ray CT chromatogram scanning bending test's loading device
CN111478824A (en) Network card power consumption testing method, device and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181228

RJ01 Rejection of invention patent application after publication