CN107302475A - The method of testing and device of a kind of Based on Distributed storage cluster - Google Patents

The method of testing and device of a kind of Based on Distributed storage cluster Download PDF

Info

Publication number
CN107302475A
CN107302475A CN201710546467.XA CN201710546467A CN107302475A CN 107302475 A CN107302475 A CN 107302475A CN 201710546467 A CN201710546467 A CN 201710546467A CN 107302475 A CN107302475 A CN 107302475A
Authority
CN
China
Prior art keywords
test
script
information
virtual machine
machine node
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
CN201710546467.XA
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 CN201710546467.XA priority Critical patent/CN107302475A/en
Publication of CN107302475A publication Critical patent/CN107302475A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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
    • 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
    • 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/4557Distribution of virtual machine instances; Migration and load balancing
    • 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/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method of testing of Based on Distributed storage cluster and device, task queue is read by the perform script for running the Automated condtrol node built in advance, pending mission bit stream is obtained;Virtual machine node needed for being chosen from task engine pond;According to cluster configuration information, based on virtual machine node, execution builds distributed type assemblies script, builds distributed type assemblies;According to test script information, the test script of script bank is obtained by virtual machine node;According to test case information, test script is performed in virtual machine node, test result is drawn.The application is built by the automation of distributed type assemblies, the automation of functional test, realizes the automatic test of distributed storage cluster;And test execution efficiency is higher, the test point that manual testing easily ignores can be covered, Test coverage degree is higher, and then make it that testing efficiency and test quality are higher.

Description

The method of testing and device of a kind of Based on Distributed storage cluster
Technical field
The present invention relates to technical field of measurement and test, the method for testing and dress of more particularly to a kind of Based on Distributed storage cluster Put.
Background technology
At present, the mass data produced by the big data computing epoch is generally unstructured data, and the number of levels of data With exponential type trend growth.
To meet the storage demand of mass data, distributed memory system arises at the historic moment.The function of distributed memory system The problem of mass data storage and server application can be solved, storage is re-incorporated INTO in server by it, by traditional server Occupation mode is reactivated, and General Server also serves as data storage role while calculating role is served as.
But, distributed memory system is extending transversely, and the network that rely on complexity between multiple servers simultaneously is opened up Flutter, form storage cluster.Distributed memory system provides reading and writing data and rule function by related algorithm.Therefore, it is distributed The test of storage cluster needs to consider multi-party factor, and then causes difficulty larger, and in the prior art also not for distribution The method of testing of storage cluster.
The content of the invention
It is an object of the invention to provide a kind of method of testing of Based on Distributed storage cluster and device, it is therefore intended that solves The problem of existing distributed storage cluster test is difficult to.
In order to solve the above technical problems, the present invention provides a kind of method of testing of Based on Distributed storage cluster, this method Including:
The perform script for running the Automated condtrol node built in advance reads task queue, obtains pending mission bit stream, The pending mission bit stream is to include the letter of mission bit stream, cluster configuration information, test script information and test case information Breath;
Virtual machine node needed for being chosen from task engine pond;
According to the cluster configuration information, based on the virtual machine node, distributed type assemblies script is built in execution, is built point Cloth cluster;
According to the test script information, the test script of script bank is obtained by the virtual machine node;
According to the test case information, the test script is performed in the virtual machine node, test result is drawn.
Alternatively, the test script is performed in the virtual machine node, is obtained according to the test case information described Going out after test result also includes:
Test information in the test result and test process, generates test log.
Alternatively, in the test information in the test result and test process, after generation test log Also include:
The test log is analyzed, test report is generated;
To preset sending method, the test report is automatically sent to preset address.
Alternatively, the test script is performed in the virtual machine node, is obtained according to the test case information described Going out after test result also includes:
The distributed type assemblies are cleared up, the virtual machine node is discharged.
Alternatively, the build process of the Automated condtrol node is specially:
Ssh-key is created, and sets ssh to exempt from confidential information;
Configure the script bank, yum sources and the task queue;
By each virtual machine node information write into Databasce in the task engine pond;
Obtain the automatic test configuration file write in advance.
In addition, present invention also offers a kind of test device of Based on Distributed storage cluster, the device includes:
Pending mission bit stream acquisition module, the perform script for the Automated condtrol node built in advance for running, which is read, appoints Business queue, obtains pending mission bit stream, the pending mission bit stream is to include mission bit stream, cluster configuration information, test The information of script information and test case information;
Node selection module, the virtual machine node needed for for being chosen from task engine pond;
Cluster building module, for according to the cluster configuration information, based on the virtual machine node, distribution to be built in execution Formula cluster script, builds distributed type assemblies;
Test script acquisition module, for according to the test script information, script to be obtained by the virtual machine node The test script in storehouse;
Test module, for according to the test case information, performing the test script in the virtual machine node, obtaining Go out test result.
Alternatively, in addition to:
Daily record generation module, for the test information in the test result and test process, generates test log.
Alternatively, in addition to:
Test report generation module, for analyzing the test log, generates test report;
Automatic sending module, for preset sending method, the test report to be automatically sent into preset address.
Alternatively, in addition to:
Cleaning modul, for clearing up the distributed type assemblies, discharges the virtual machine node.
Alternatively, in addition to:
Creation module, for creating ssh-key, and sets ssh to exempt from confidential information;
Configuration module, for configuring the script bank, yum sources and the task queue;
Writing module, for by each virtual machine node information write into Databasce in the task engine pond;
Configuration file acquisition module, the automatic test configuration file write in advance for obtaining.
The method of testing and device of a kind of Based on Distributed storage cluster provided by the present invention, are built in advance by operation The perform script of Automated condtrol node reads task queue, obtains pending mission bit stream, and above-mentioned pending mission bit stream is Include the information of mission bit stream, cluster configuration information, test script information and test case information;Needed for being chosen from task engine pond Virtual machine node;According to cluster configuration information, based on virtual machine node, execution builds distributed type assemblies script, builds distribution Formula cluster;According to test script information, the test script of script bank is obtained by virtual machine node;According to test case information, Test script is performed in virtual machine node, test result is drawn.The application is built by the automation of distributed type assemblies, and function is surveyed The automation of examination, realizes the automatic test of distributed storage cluster;And test execution efficiency is higher, artificial survey can be covered The test point easily ignored is tried, Test coverage degree is higher, and then make it that testing efficiency and test quality are higher.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of embodiment of the method for testing of Based on Distributed storage cluster provided in an embodiment of the present invention Schematic flow sheet;
Fig. 2 is the schematic diagram of the automated testing method of Based on Distributed storage cluster provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the test device of Based on Distributed storage cluster provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 has for a kind of of the method for testing of Based on Distributed storage cluster provided in an embodiment of the present invention The schematic flow sheet of body embodiment, this method comprises the following steps:
Step 101:The perform script for running the Automated condtrol node built in advance reads task queue, obtains pending Business information, the pending mission bit stream is to include mission bit stream, cluster configuration information, test script information and test case letter The information of breath.
It is appreciated that above-mentioned pending mission bit stream can at least include mission bit stream, cluster configuration information, test script Information and test case information, it can specifically be committed to the task configuration file of the test assignment in task queue by reading Obtain, and the task configuration file can be the automatic test profile write using markup language.Certainly, it is above-mentioned pending Mission bit stream can also include other information, be not limited thereto.
Above-mentioned mission bit stream can be specially the relevant information of test assignment, for example, task ID;Above-mentioned cluster configuration information Can be specially the relevant informations such as distributed type assemblies configuration file store path, the distributed type assemblies configuration file can be advance The configuration file generated according to cluster configuration information;Above-mentioned test script information can be specially script bank address information and test Script address information etc.;Above-mentioned test case information can be specially storage address information of test case etc..
Above-mentioned Automated condtrol node can be put up in advance, be may not be and put up in advance, at this point it is possible to first Automated condtrol node is put up, then performs corresponding test assignment.
Therefore in some embodiments of the invention, the build process of above-mentioned Automated condtrol node can be specially:Create Ssh-key, and set ssh to exempt from confidential information;Configure the script bank, yum sources and the task queue;By the task engine pond Each virtual machine node information write into Databasce;Obtain the automatic test configuration file write in advance.
Before Automated condtrol node is built, task engine pond, i.e. task engine pond can be created first to use virtual machine mode Include multiple virtual machine nodes for being used to perform test assignment;And for each task engine install needed for operating system, the operation System can be the underlying Operating System of software under testing bag;Ssh can be configured between each task engine operating system to visit without password Ask.
Then Automated condtrol node is created, sets ssh to exempt from confidential information, i.e. Automated condtrol node and task engine pond Each virtual machine node equally configures ssh without cryptographic acess;Task queue is set in Automated condtrol node, script bank is built (git/svn) and yum sources, be stored with rpm bags on the yum sources;Then, each task machine information in task engine pond is write light In magnitude database;The automatic test configuration file write using markup language is received, wherein, automatic test configuration file The relevant informations such as the task node quantity, the test script store path that pre-set can be included;Finally, can be by required test Task is committed to task queue.
Step 102:Virtual machine node needed for being chosen from task engine pond.
It is appreciated that above-mentioned task engine pond there can be multiple tasks machine node i.e. virtual machine node, perform once test and appoint During business, virtual machine node number can be selected as needed, for example, the virtual machine node number needed for certain test assignment is 3, and the virtual machine node number of current idle same type operating system is more than 3, at this point it is possible to arbitrarily choose 3 virtually Machine node;And when the virtual machine node of idle same type operating system is less than 3, then waited until 3 virtual machines Node.
Step 103:According to the cluster configuration information, based on the virtual machine node, distributed type assemblies pin is built in execution This, builds distributed type assemblies.
Select after required virtual machine node, can be according to cluster configuration information, by the multiple virtual machine sections selected Point is built into a distributed type assemblies.
Step 104:According to the test script information, the test script of script bank is obtained by the virtual machine node.
Above-mentioned test script information can include script bank address information and test script address information, now, based on institute Script bank, is first copied to locally, the script by the virtual machine node in the distributed type assemblies built according to script bank address information Storehouse address information can be embodied in catalogue, and test script address information is relative to the subdirectory of catalogue, then according to survey Script address information remote is tried to script bank, corresponding test script is read from script bank to virtual machine node.
Step 105:According to the test case information, the test script is performed in the virtual machine node, survey is drawn Test result.
Virtual machine node in distributed storage cluster is got after corresponding test script, can be in the virtual machine node Test script acquired in upper execution.Specifically, can be according to test case storage address after the corresponding test script of execution Etc. relevant information, test case is read, and runs the test case, and then draws test result.
Above-mentioned test script can be specially shell scripts, or other types of script, be not limited thereto.
After test result is drawn, corresponding test log can be generated, so that follow-up being checked and analyzing.Therefore in this hair In some bright embodiments, the test script is performed in the virtual machine node according to the test case information above-mentioned, Drawing can also include after test result:Test information in the test result and test process, generates test day Will.
Above-mentioned test information can refer to the relevant informations such as script quantity and the execution time in test process, according to test As a result the phases such as test result, script quantity and execution time can be included with test information generation test log, i.e. test log Close information.
It is appreciated that each functional test script has its corresponding test log.And generate after test log, virtual machine Test log can be uploaded under the specified path of specified node by node, be easy to the reading of follow-up daily record.
To cause test result intuitively visible, test log can be analyzed, generation test includes, therefore in the present invention Some embodiments in, in the above-mentioned test information in the test result and test process, after generation test log It can also include:The test log is analyzed, test report is generated;To preset sending method, the test report is sent out automatically Deliver to preset address.
Specifically, the test log under specified path can be read by log analysis script, it is analyzed, generated Test report.The test report can specifically show as test table, and some test items set in advance, example can be included in the table Such as, script number of executions, the quantity that runs succeeded and failure quantity etc..
Above-mentioned default sending method can be specially mail, or the other forms such as short message, be not limited thereto.On The addresses of items of mail of tester, mobile phone address etc. can be specifically referred to by stating preset address.
As can be seen that by the automated analysis of daily record, automation generation test report can cause test result clear Intuitively, and cause tester understand corresponding test case in time, it is also possible to improve certain testing efficiency.
For reasonable employment system resource, and the progress for being easy to follow-up system configuration to work, it can be completed in once test Afterwards, discharge respective resources, it is to avoid resource it is long-term occupied.Therefore in some embodiments of the invention, described in above-mentioned basis Test case information, the test script is performed in the virtual machine node, and drawing can also include after test result:Cleaning The distributed type assemblies, discharge the virtual machine node.
It is appreciated that after the completion of once testing, the reading, test report generation and money of test log can be carried out simultaneously Source discharges.And in test crash, can also carry out corresponding resource release.
To make the scheme of the embodiment of the present invention more directly perceived, it is introduced below in conjunction with Fig. 2, Fig. 2 is the embodiment of the present invention The schematic diagram of the automated testing method of the Based on Distributed storage cluster of offer.
As shown in Fig. 2 submitting after test assignment to task queue, the task in task queue is performed, from including N number of task Task engine 1, task engine 2 and task engine 3 are chosen in the task engine pond of machine and is built into a cluster, and the acquisition rpm bags from yum sources On clustered node, then task engine 1 obtains required test script from test script library, and task engine 1 is performed and obtained The test script taken, test is completed to upload test log, and test report can be generated by then analyzing test log, and this is tested Report is sent automatically with lettergram mode.
The method of testing for the Based on Distributed storage cluster that the present embodiment is provided, by running the automation control built in advance The perform script of node processed reads task queue, obtains pending mission bit stream, above-mentioned pending mission bit stream is to include task Information, cluster configuration information, the information of test script information and test case information;Virtual machine needed for being chosen from task engine pond Node;According to cluster configuration information, based on virtual machine node, execution builds distributed type assemblies script, builds distributed type assemblies;Root According to test script information, the test script of script bank is obtained by virtual machine node;According to test case information, in virtual machine section Point performs test script, draws test result.This method is built by the automation of distributed type assemblies, functional test it is automatic Change, realize the automatic test of distributed storage cluster;And test execution efficiency is higher, manual testing can be covered and easily neglected Test point slightly, Test coverage degree is higher, and then make it that testing efficiency and test quality are higher.
A kind of test device of Based on Distributed storage cluster provided in an embodiment of the present invention is introduced below, hereafter A kind of test device of Based on Distributed storage cluster of description and a kind of above-described survey of Based on Distributed storage cluster Method for testing can be mutually to should refer to.
Fig. 3 is refer to, Fig. 3 shows for the structure of the test device of Based on Distributed storage cluster provided in an embodiment of the present invention It is intended to, the device includes:
Pending mission bit stream acquisition module 31, the perform script for the Automated condtrol node built in advance for running is read Task queue, obtains pending mission bit stream, above-mentioned pending mission bit stream is to include mission bit stream, cluster configuration information, survey Try the information of script information and test case information;
Node selection module 32, the virtual machine node needed for for being chosen from task engine pond;
Cluster building module 33, for according to cluster configuration information, based on virtual machine node, distributed type assemblies to be built in execution Script, builds distributed type assemblies;
Test script acquisition module 34, for according to test script information, the survey of script bank to be obtained by virtual machine node Training sheet;
Test module 35, for according to test case information, test script to be performed in virtual machine node, draws test knot Really.
In some embodiments of the invention, said apparatus can also include:
Daily record generation module, for the test information in test result and test process, generates test log.
In some embodiments of the invention, said apparatus can also include:
Test report generation module, for analyzing test log, generates test report;
Automatic sending module, for preset sending method, test report to be automatically sent into preset address.
In some embodiments of the invention, said apparatus can also include:
Cleaning modul, for clearing up distributed type assemblies, discharges virtual machine node.
In some embodiments of the invention, said apparatus can also include:
Creation module, for creating ssh-key, and sets ssh to exempt from confidential information;
Configuration module, for configuration script storehouse, yum sources and task queue;
Writing module, for by each virtual machine node information write into Databasce in task engine pond;
Configuration file acquisition module, the automatic test configuration file write in advance for obtaining.
The test device of the Based on Distributed storage cluster that the present embodiment is provided, the device by distributed type assemblies from Dynamicization is built, the automation of functional test, realizes the automatic test of distributed storage cluster;And test execution efficiency compared with Height, can cover the test point that manual testing easily ignores, and Test coverage degree is higher, and then cause testing efficiency and test quality It is higher.
The embodiment of each in specification is described by the way of progressive, and what each embodiment was stressed is and other realities Apply the difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration .
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RPM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The method of testing and device to Based on Distributed storage cluster provided by the present invention are described in detail above. Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is to use Understand the method and its core concept of the present invention in help.It should be pointed out that for those skilled in the art, Under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these improve and modified Fall into the protection domain of the claims in the present invention.

Claims (10)

1. a kind of method of testing of Based on Distributed storage cluster, it is characterised in that including:
The perform script for running the Automated condtrol node built in advance reads task queue, obtains pending mission bit stream, described Pending mission bit stream is to include the information of mission bit stream, cluster configuration information, test script information and test case information;
Virtual machine node needed for being chosen from task engine pond;
According to the cluster configuration information, based on the virtual machine node, execution builds distributed type assemblies script, builds distribution Cluster;
According to the test script information, the test script of script bank is obtained by the virtual machine node;
According to the test case information, the test script is performed in the virtual machine node, test result is drawn.
2. method of testing according to claim 1, it is characterised in that described according to the test case information, in institute State virtual machine node and perform the test script, drawing also includes after test result:
Test information in the test result and test process, generates test log.
3. method of testing according to claim 2, it is characterised in that described according to the test result and test process In test information, generation test log after also include:
The test log is analyzed, test report is generated;
To preset sending method, the test report is automatically sent to preset address.
4. method of testing according to claim 1, it is characterised in that described according to the test case information, in institute State virtual machine node and perform the test script, drawing also includes after test result:
The distributed type assemblies are cleared up, the virtual machine node is discharged.
5. the method for testing according to any one of Claims 1-4, it is characterised in that the Automated condtrol node is taken The process of building is specially:
Ssh-key is created, and sets ssh to exempt from confidential information;
Configure the script bank, yum sources and the task queue;
By each virtual machine node information write into Databasce in the task engine pond;
Obtain the automatic test configuration file write in advance.
6. a kind of test device of Based on Distributed storage cluster, it is characterised in that including:
Pending mission bit stream acquisition module, the perform script for the Automated condtrol node built in advance for running reads task team Row, obtain pending mission bit stream, the pending mission bit stream is to include mission bit stream, cluster configuration information, test script The information of information and test case information;
Node selection module, the virtual machine node needed for for being chosen from task engine pond;
Cluster building module, for according to the cluster configuration information, based on the virtual machine node, distributed collection to be built in execution Group's script, builds distributed type assemblies;
Test script acquisition module, for according to the test script information, script bank to be obtained by the virtual machine node Test script;
Test module, for according to the test case information, performing the test script in the virtual machine node, drawing survey Test result.
7. test device according to claim 6, it is characterised in that also include:
Daily record generation module, for the test information in the test result and test process, generates test log.
8. test device according to claim 7, it is characterised in that also include:
Test report generation module, for analyzing the test log, generates test report;
Automatic sending module, for preset sending method, the test report to be automatically sent into preset address.
9. test device according to claim 6, it is characterised in that also include:
Cleaning modul, for clearing up the distributed type assemblies, discharges the virtual machine node.
10. the test device according to any one of claim 6 to 9, it is characterised in that also include:
Creation module, for creating ssh-key, and sets ssh to exempt from confidential information;
Configuration module, for configuring the script bank, yum sources and the task queue;
Writing module, for by each virtual machine node information write into Databasce in the task engine pond;
Configuration file acquisition module, the automatic test configuration file write in advance for obtaining.
CN201710546467.XA 2017-07-06 2017-07-06 The method of testing and device of a kind of Based on Distributed storage cluster Pending CN107302475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710546467.XA CN107302475A (en) 2017-07-06 2017-07-06 The method of testing and device of a kind of Based on Distributed storage cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710546467.XA CN107302475A (en) 2017-07-06 2017-07-06 The method of testing and device of a kind of Based on Distributed storage cluster

Publications (1)

Publication Number Publication Date
CN107302475A true CN107302475A (en) 2017-10-27

Family

ID=60136256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710546467.XA Pending CN107302475A (en) 2017-07-06 2017-07-06 The method of testing and device of a kind of Based on Distributed storage cluster

Country Status (1)

Country Link
CN (1) CN107302475A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153634A (en) * 2017-12-26 2018-06-12 郑州云海信息技术有限公司 Distributed storage cluster test method and device
CN108763042A (en) * 2018-05-24 2018-11-06 广东睿江云计算股份有限公司 A kind of Cloud Server performance data acquisition method and device based on python
CN109189326A (en) * 2018-07-25 2019-01-11 华为技术有限公司 The management method and device of distributed type assemblies
CN109213645A (en) * 2018-08-23 2019-01-15 郑州云海信息技术有限公司 A kind of method and apparatus of distributed memory system performance test
CN109240879A (en) * 2018-08-21 2019-01-18 郑州云海信息技术有限公司 A kind of distributed memory system QOS characteristic test method and device
CN109359013A (en) * 2018-10-24 2019-02-19 郑州云海信息技术有限公司 A kind of Host Administration characteristic test method, device, equipment and storage medium
CN109408316A (en) * 2018-11-13 2019-03-01 郑州云海信息技术有限公司 A kind of file polymerization property test method and device
CN109408314A (en) * 2018-11-09 2019-03-01 郑州云海信息技术有限公司 A kind of catalogue quota automated testing method based on mass memory
CN109508294A (en) * 2018-11-13 2019-03-22 郑州云海信息技术有限公司 A kind of file is from simplifying characteristic test method and device
CN109522181A (en) * 2018-10-22 2019-03-26 郑州云海信息技术有限公司 A kind of performance test methods of distributed memory system, device and equipment
CN109542767A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Automated testing method, device, computer equipment and storage medium based on block chain
CN109597764A (en) * 2018-12-10 2019-04-09 浪潮(北京)电子信息产业有限公司 A kind of test method and relevant apparatus of catalogue quota
CN109873731A (en) * 2017-12-05 2019-06-11 北京京东尚科信息技术有限公司 Test method, device and system
CN109981419A (en) * 2019-04-11 2019-07-05 苏州浪潮智能科技有限公司 Test method, device, system, equipment and the storage medium of load balancing characteristic
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN110058920A (en) * 2019-03-04 2019-07-26 平安科技(深圳)有限公司 Virtual machine performance detection method and device, electronic equipment, storage medium
CN110351156A (en) * 2018-04-03 2019-10-18 大唐移动通信设备有限公司 A kind of test method and device
CN110928688A (en) * 2019-11-29 2020-03-27 电子科技大学 Distributed crawler task scheduling system and method
CN111026656A (en) * 2019-11-29 2020-04-17 浪潮商用机器有限公司 Automatic testing system, method, equipment and storage medium for distributed storage
CN111367792A (en) * 2020-02-24 2020-07-03 天津满运软件科技有限公司 Test method, test device, storage medium and electronic equipment
CN111400117A (en) * 2020-03-12 2020-07-10 山东汇贸电子口岸有限公司 Method for automatically testing Ceph cluster
CN111475350A (en) * 2020-03-10 2020-07-31 苏州浪潮智能科技有限公司 Method, system and equipment for testing configuration of remote copy function under MCS
WO2020177381A1 (en) * 2019-03-06 2020-09-10 平安科技(深圳)有限公司 Method and device for server testing, computer equipment, and storage medium
CN111694671A (en) * 2020-06-12 2020-09-22 北京金山云网络技术有限公司 Big data component management method, device, server, electronic equipment and system
CN112131195A (en) * 2020-08-18 2020-12-25 深圳市风云实业有限公司 Aging test cluster type management method
CN112953776A (en) * 2021-03-01 2021-06-11 北京小米松果电子有限公司 Data verification method, device and storage medium
CN113411226A (en) * 2020-03-16 2021-09-17 北京奇虎科技有限公司 Router distributed automatic test method, system, storage medium and computer equipment thereof
CN114489995A (en) * 2022-02-15 2022-05-13 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN115617686A (en) * 2022-10-31 2023-01-17 北京志凌海纳科技有限公司 Super-fusion cluster testing method and device, computer equipment and storage medium
CN117331836A (en) * 2023-10-16 2024-01-02 中教畅享(北京)科技有限公司 Evaluation method based on code syntax tree analysis

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789392A (en) * 2012-06-21 2012-11-21 中国电力科学研究院 Method for constructing power system distributed platform
CN102799519A (en) * 2012-06-07 2012-11-28 浪潮电子信息产业股份有限公司 Automatic test method for cluster file system
CN103297285A (en) * 2012-02-23 2013-09-11 百度在线网络技术(北京)有限公司 Distributed cluster performance test system, method and device
US20160274999A1 (en) * 2014-05-20 2016-09-22 Samsung Electronics Co., Ltd. Distributed test and profiler framework
CN106055486A (en) * 2016-08-19 2016-10-26 浪潮(北京)电子信息产业有限公司 Automatic operation maintenance method and platform of distributed file system
CN106534291A (en) * 2016-11-04 2017-03-22 广东电网有限责任公司电力科学研究院 Voltage monitoring method based on big data processing
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297285A (en) * 2012-02-23 2013-09-11 百度在线网络技术(北京)有限公司 Distributed cluster performance test system, method and device
CN102799519A (en) * 2012-06-07 2012-11-28 浪潮电子信息产业股份有限公司 Automatic test method for cluster file system
CN102789392A (en) * 2012-06-21 2012-11-21 中国电力科学研究院 Method for constructing power system distributed platform
US20160274999A1 (en) * 2014-05-20 2016-09-22 Samsung Electronics Co., Ltd. Distributed test and profiler framework
CN106055486A (en) * 2016-08-19 2016-10-26 浪潮(北京)电子信息产业有限公司 Automatic operation maintenance method and platform of distributed file system
CN106534291A (en) * 2016-11-04 2017-03-22 广东电网有限责任公司电力科学研究院 Voltage monitoring method based on big data processing
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873731A (en) * 2017-12-05 2019-06-11 北京京东尚科信息技术有限公司 Test method, device and system
CN108153634A (en) * 2017-12-26 2018-06-12 郑州云海信息技术有限公司 Distributed storage cluster test method and device
CN110351156A (en) * 2018-04-03 2019-10-18 大唐移动通信设备有限公司 A kind of test method and device
CN108763042A (en) * 2018-05-24 2018-11-06 广东睿江云计算股份有限公司 A kind of Cloud Server performance data acquisition method and device based on python
CN109189326A (en) * 2018-07-25 2019-01-11 华为技术有限公司 The management method and device of distributed type assemblies
CN109240879A (en) * 2018-08-21 2019-01-18 郑州云海信息技术有限公司 A kind of distributed memory system QOS characteristic test method and device
CN109213645A (en) * 2018-08-23 2019-01-15 郑州云海信息技术有限公司 A kind of method and apparatus of distributed memory system performance test
CN109522181B (en) * 2018-10-22 2021-11-09 郑州云海信息技术有限公司 Performance test method, device and equipment of distributed storage system
CN109522181A (en) * 2018-10-22 2019-03-26 郑州云海信息技术有限公司 A kind of performance test methods of distributed memory system, device and equipment
CN109359013A (en) * 2018-10-24 2019-02-19 郑州云海信息技术有限公司 A kind of Host Administration characteristic test method, device, equipment and storage medium
CN109542767A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Automated testing method, device, computer equipment and storage medium based on block chain
CN109542767B (en) * 2018-10-25 2023-04-11 平安科技(深圳)有限公司 Automatic testing method and device based on block chain, computer equipment and storage medium
CN109408314A (en) * 2018-11-09 2019-03-01 郑州云海信息技术有限公司 A kind of catalogue quota automated testing method based on mass memory
CN109508294A (en) * 2018-11-13 2019-03-22 郑州云海信息技术有限公司 A kind of file is from simplifying characteristic test method and device
CN109408316A (en) * 2018-11-13 2019-03-01 郑州云海信息技术有限公司 A kind of file polymerization property test method and device
CN109597764A (en) * 2018-12-10 2019-04-09 浪潮(北京)电子信息产业有限公司 A kind of test method and relevant apparatus of catalogue quota
CN110058920B (en) * 2019-03-04 2023-01-31 平安科技(深圳)有限公司 Virtual machine performance detection method and device, electronic equipment and storage medium
CN110058920A (en) * 2019-03-04 2019-07-26 平安科技(深圳)有限公司 Virtual machine performance detection method and device, electronic equipment, storage medium
WO2020177381A1 (en) * 2019-03-06 2020-09-10 平安科技(深圳)有限公司 Method and device for server testing, computer equipment, and storage medium
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN109981419A (en) * 2019-04-11 2019-07-05 苏州浪潮智能科技有限公司 Test method, device, system, equipment and the storage medium of load balancing characteristic
CN110928688A (en) * 2019-11-29 2020-03-27 电子科技大学 Distributed crawler task scheduling system and method
CN111026656A (en) * 2019-11-29 2020-04-17 浪潮商用机器有限公司 Automatic testing system, method, equipment and storage medium for distributed storage
CN111367792A (en) * 2020-02-24 2020-07-03 天津满运软件科技有限公司 Test method, test device, storage medium and electronic equipment
CN111475350A (en) * 2020-03-10 2020-07-31 苏州浪潮智能科技有限公司 Method, system and equipment for testing configuration of remote copy function under MCS
CN111400117A (en) * 2020-03-12 2020-07-10 山东汇贸电子口岸有限公司 Method for automatically testing Ceph cluster
CN111400117B (en) * 2020-03-12 2023-07-11 山东汇贸电子口岸有限公司 Method for automatically testing Ceph cluster
CN113411226A (en) * 2020-03-16 2021-09-17 北京奇虎科技有限公司 Router distributed automatic test method, system, storage medium and computer equipment thereof
CN111694671A (en) * 2020-06-12 2020-09-22 北京金山云网络技术有限公司 Big data component management method, device, server, electronic equipment and system
CN111694671B (en) * 2020-06-12 2023-09-01 北京金山云网络技术有限公司 Big data component management method, device, server, electronic equipment and system
CN112131195A (en) * 2020-08-18 2020-12-25 深圳市风云实业有限公司 Aging test cluster type management method
CN112131195B (en) * 2020-08-18 2024-04-16 深圳市风云实业有限公司 Cluster type management method for aging test
CN112953776A (en) * 2021-03-01 2021-06-11 北京小米松果电子有限公司 Data verification method, device and storage medium
CN114489995B (en) * 2022-02-15 2022-09-30 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN114489995A (en) * 2022-02-15 2022-05-13 北京永信至诚科技股份有限公司 Distributed scheduling processing method and system
CN115617686A (en) * 2022-10-31 2023-01-17 北京志凌海纳科技有限公司 Super-fusion cluster testing method and device, computer equipment and storage medium
CN117331836A (en) * 2023-10-16 2024-01-02 中教畅享(北京)科技有限公司 Evaluation method based on code syntax tree analysis

Similar Documents

Publication Publication Date Title
CN107302475A (en) The method of testing and device of a kind of Based on Distributed storage cluster
US9405665B1 (en) Application testing based on user input captured during a trial period and priority scheme analysis
US20200319996A1 (en) System and method of handling complex experiments in a distributed system
US9098364B2 (en) Migration services for systems
US10275345B2 (en) Application experiment system
CN108039975A (en) Container cluster management system and its application process
US9996582B2 (en) Query tuning in the cloud
US20140081615A1 (en) Virtual systems testing
CN107590075A (en) A kind of method for testing software and device
CN108182058A (en) A kind of software development methodology and cloud development platform based on cloud platform
CN109274782A (en) A kind of method and device acquiring website data
CN107608897A (en) The method of testing and system of a kind of distributed type assemblies
US20150066573A1 (en) System and method for providing a process player for use with a business process design environment
US20190245745A1 (en) Automated creation of test tenants for data center technical issue detection
CN105553732B (en) A kind of distributed network analogy method and system
CN107896173A (en) Automated testing method, test equipment, automatization test system and storage medium
CN107807869A (en) A kind of test system and method for testing
US11010286B1 (en) Software testing with machine learning models
CN105103125B (en) The acquisition methods and NFV devices of clock interrupt signal
An et al. Model-driven generative framework for automated omg dds performance testing in the cloud
US10171341B2 (en) Software defined storage stack problem diagnosis and optimization
US9990274B2 (en) Testing integrated business systems
CN114003508A (en) Software testing tool cluster management method and system based on cloud platform
US9680701B2 (en) Differentiating image files in a networked computing environment
US7743244B2 (en) Computer system model generation with tracking of actual computer system configuration

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

Application publication date: 20171027