CN110213127A - A kind of automatization test system and method for fusion virtualization multitask - Google Patents

A kind of automatization test system and method for fusion virtualization multitask Download PDF

Info

Publication number
CN110213127A
CN110213127A CN201910451317.XA CN201910451317A CN110213127A CN 110213127 A CN110213127 A CN 110213127A CN 201910451317 A CN201910451317 A CN 201910451317A CN 110213127 A CN110213127 A CN 110213127A
Authority
CN
China
Prior art keywords
test
server
script
virtualization
multitask
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.)
Granted
Application number
CN201910451317.XA
Other languages
Chinese (zh)
Other versions
CN110213127B (en
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910451317.XA priority Critical patent/CN110213127B/en
Publication of CN110213127A publication Critical patent/CN110213127A/en
Application granted granted Critical
Publication of CN110213127B publication Critical patent/CN110213127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provide it is a kind of fusion virtualization multitask automatization test system and method include script server, test machine and server end;The script server, test machine are communicatively coupled with server end respectively;The script server is communicatively coupled with test machine;The script server, for storing test script and providing the service function of script test assignment;Test machine, for receiving the instruction execution automatic test script of script server;The server end executes automatic test service by sending remote command for establishing multinomial virtual task and distributing virtual resource to each task.

Description

A kind of automatization test system and method for fusion virtualization multitask
Technical field
The present invention relates to server automated the field of test technology, and in particular to a kind of to merge the automatic of virtualization multitask Change test macro and method.
Background technique
Automatic test is relatively saving manpower a kind of at present, improves testing efficiency and reduces the means of operation error.It will The software and hardware environmental structure that automation needs is completed, and remaining work only needs that tester table is waited to be automatically performed script Operation and collection test data, but with the proviso that getting out the soft or hard environment that test needs, this goes wrong in the process all may be used Follow-up test failure or data can be caused error occur.
At present automation process there are the problem of, automatic test task is more, single primary server platform to resource and appoint The distribution of business is laborious, and it is the progress for influencing whether other test assignments that a certain item automatic test, which goes wrong, at present certainly Dynamicization test is carried out serially mostly, relatively urgent to time requirement and the more scene of test assignment is more difficult It is excessive to the demand of primary server to deal with, the excessive use that more primary servers cause resource can not be provided under multitask.
Summary of the invention
It is carried out mostly serially for current automatic test, and test assignment relatively more urgent to time requirement More scene is relatively difficult to deal with excessive to the demand of primary server, and more primary servers can not be provided under multitask and are made At resource excessive use the problem of, the present invention provide it is a kind of fusion virtualization multitask automatization test system and method.
The technical scheme is that
In a first aspect, technical solution of the present invention provides a kind of automatization test system of fusion virtualization multitask, including Script server, test machine and server end;
The script server, test machine are communicatively coupled with server end respectively;
The script server is communicatively coupled with test machine;
The script server, for storing test script and providing the service function of script test assignment;
Test machine, for receiving the instruction execution automatic test script of script server;
The server end passes through transmission for establishing multinomial virtual task and distributing virtual resource to each task Remote command executes automatic test service.
Preferably, the server end includes primary server and VM virtualization program module;
Primary server is executed for providing the remote command of test script and testing tool in DTU script execution process Remote analog operation;
VM virtualization program module, for primary server original triangular web to be divided into several independent independences by VM virtualization The subsystem of function, each subsystem can provide automatic test service, realize the execution and task connection point of multitask The function of opening.
Preferably, which further includes ftp server, the ftp server with by VM virtualization be divided into it is several The subsystem of independent standalone feature is communicatively coupled.
Preferably, server end further includes network address translation;
Network address translation, the subsystem of independent standalone feature for each to be divided by VM virtualization with it is to be measured Tester table, ftp server and script server communicated.
Second aspect, technical solution of the present invention also provide a kind of automated testing method of fusion virtualization multitask, packet Include following steps:
Test machine sends test request to script server;
Script server receives request and test script is downloaded to test machine according to the solicited message received;
Test machine executes test according to test list and communicates in the process of implementation with the test list of server end implementation Carry out implementation progress confirmation.
Preferably, before the step of test machine sends test request to script server, comprising:
Test machine issues environment setting downloading request to ftp server;
FTP can provide different system environment file and test environmental variance according to different test requests;
After the completion of the environment file downloading in FTP is finished and built, execute step: test machine is sent to script server Test request.
Preferably, before the step of test machine issues environment setting downloading request to ftp server further include:
Build test environment, comprising: the network and BMC of test machine are configured, test machine respectively with script server, Primary server and ftp server in consolidated network and are able to maintain communication;
Primary server establishes multinomial virtual task and distributes virtual resource to each task.
Preferably, this method further include: after test machine executes test list, primary server is issued on data summarization Data are packaged and uploaded to server end for being analyzed to identify by the execution of biography, each test machine.
Preferably, this method further include:
When data are uploaded onto the server end, automation judgement is carried out according to each in test list test result, really Recognize result PASS/FAIL.
Preferably, the test item of the test list includes bandwidth test, delay test, RMT test and readwrite tests.
It is implanted into virtualization in main automated server system, each test function of automation is separated Come, form subsystem independent one by one and that service can be separately provided, in this way once having automatic test mission requirements, each son Independent operating is non-interference between system, provides the execution of multinomial automatic test simultaneously with highest efficiency.
As can be seen from the above technical solutions, the invention has the following advantages that integrated testability process does not need manual intervention, After the completion of machine communicates and test list is built, all tests are carried out automation.Stability, performance and pressure test are general The long-term test of 48-72H is needed, if this process is executed by manpower, about 10% will cause to the whole development progress of project Delay.Efficiency exactly is provided in order to discharge manpower by the automation, it can other parallel works while automatic test Make task.
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 have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation Beneficial effect be also obvious.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow of the automated testing method of fusion virtualization multitask of the embodiment of the present invention Figure.
Fig. 2 is a kind of schematic block diagram of the device of the automatic test of fusion virtualization multitask of the embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention Range.
Embodiment one
As shown in Fig. 2, technical solution of the present invention provides a kind of automatization test system of fusion virtualization multitask, including Script server 11, test machine 33 and server end 22;
The script server 11, test machine are communicatively coupled with server end 22 respectively;
The script server 11 is communicatively coupled with test machine 33;
The script server 11, for storing test script and providing the service function of script test assignment;
Test machine 33, for receiving the instruction execution automatic test script of script server 11;
The server end 22 passes through hair for establishing multinomial virtual task and distributing virtual resource to each task Remote command is sent to execute automatic test service.
In order to realize the subsystem for the independent standalone feature that server end original triangular web is divided into needs by VM virtualization System, each subsystem can provide automatic test service, realize that the execution of multitask and task contact separated function institute The server end stated includes primary server and VM virtualization program module;
Primary server 44 is executed for providing the remote command of test script and testing tool in DTU script execution process Remote analog operation;
VM virtualization program module, for primary server original triangular web to be divided into several independent independences by VM virtualization The subsystem of function, each subsystem can provide automatic test service, realize the execution and task connection point of multitask The function of opening.
It should be noted that the system further includes ftp server 66, described in order to which test process further automates Ftp server 66 and be communicatively coupled by the subsystem of several independent standalone features that VM virtualization is divided into, for test Machine 33 and primary server 44 provide testing tool, and when test machine, which executes, to be automated when script, the testing tool needed all can be from It is downloaded in ftp server.
In order to guarantee that each subsystem can be carried out with test machine, ftp server and script server to be tested is needed Communication and order execute, and server end 22 further includes network address translation 55;
Network address translation 55, the subsystem of independent standalone feature for each to be divided by VM virtualization with to Tester table 33, ftp server 66 and the script server 11 of survey are communicated.
When needing to be implemented automatic test, selection needs script to be tested, then by test machine 33, primary server 44, FTP IP and the SSH progress of server 66 are port interconnected, realize communication interconnection, mutually access between board.In main automated server system Virtualization is implanted into system, each test function of automation is separated, it is independent to form independent one by one and energy The subsystem of service is provided, in this way once there are automatic test mission requirements, independent operating is non-interference between each subsystem, with most High efficiency provides the execution of multinomial automatic test simultaneously.
Embodiment two
As shown in Figure 1, current embodiment require that the performance of 3 sections of memories of test, performance test content include the read-write of data, band Wide, delay and RMT test, three sections of memory tests are needed while being carried out, after the completion of test need that test data is submitted to report;Specifically The automated testing method for realizing the fusion virtualization multitask of the above process, includes the following steps:
S1: build test environment, comprising: the network and BMC of test machine are configured, test machine respectively with subscription services Device, primary server and ftp server are in consolidated network and are able to maintain communication;
Build three test machines in the present embodiment, install be stored in test machine in three sections respectively, to the network of test machine and BMC is configured, and guarantees test function respectively with script server, primary server and ftp server in consolidated network and energy Mutually keep communication, in this process guarantee test function respectively with script server, primary server and ftp server energy phase The straightforward procedure of mutual communication is exactly phase mutual energy ping logical.Here the effect of network is test machine respectively never in above-mentioned server Available data are downloaded, the effect of BMC is the IPMI instruction for the sending for getting server, executes data acquisition, fast shutdown, machine Platform parameter setting etc.;
S2: primary server establishes multinomial virtual task and distributes virtual resource to each task;It should be noted that test After the completion of machine is built, primary server distributes virtual resource to each task, guarantees each test independent operating, and interference is not present, Specifically, there are a task distribution systems in primary server, input the network IP and BMC of each test machine in systems Address, and specify and need test item, thus a test list can be formed to each test machine.
S3: test machine issues environment setting downloading request to ftp server;
S4:FTP can provide different system environment file and test environmental variance according to different test requests;It is simple next Say be exactly test memory just memory need system environments be supplied to test machine, testing hard disk just mentions the environment of hard disk For downloading, guarantee the reliable and stable of test environment;
S5: after the completion of the environment file downloading in FTP is finished and built, test machine sends test to script server and asks It asks;
S6: script server receives request and test script is downloaded to test machine according to the solicited message received;? It is exactly to download to the dedicated script for needing to test bandwidth, delay, RMT and read-write in test machine;
S7: test machine executes test according to test list and implements to lead to the test list of server end in the process of implementation Letter carries out implementation progress confirmation, and when mistake occur or terminating, server end will provide log information, helps Resolving probiems.
S8: after test machine executes test list, primary server issues the execution that data summarization uploads, each test Data are packaged and uploaded to server end for being analyzed to identify by machine.
S9: when data are uploaded onto the server end, carrying out automation judgement according to each in test list test result, Confirm result PASS/FAIL.
It is implanted into virtualization in main automated server system, each test function of automation is separated Come, form subsystem independent one by one and that service can be separately provided, in this way once having automatic test mission requirements, each son Independent operating is non-interference between system, provides the execution of multinomial automatic test simultaneously with highest efficiency.
Integrated testability process does not need manual intervention, and after the completion of machine communicates and test list is built, all tests are all Execute automation.Stability, performance and pressure test generally require the long-term test of 48-72H, if this process is held by manpower Row, will cause about 10% delay to the whole development progress of project.It is exactly to discharge manpower and provide by the automation Efficiency, can other parallel tasks while automatic test.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims It is quasi-.

Claims (10)

1. it is a kind of fusion virtualization multitask automatization test system, which is characterized in that including script server, test machine and Server end;
The script server, test machine are communicatively coupled with server end respectively;
The script server is communicatively coupled with test machine;
The script server, for storing test script and providing the service function of script test assignment;
Test machine, for receiving the instruction execution automatic test script of script server;
The server end, it is long-range by sending for establishing multinomial virtual task and distributing virtual resource to each task Order executes automatic test service.
2. the automatization test system of fusion virtualization multitask according to claim 1, which is characterized in that the clothes Business device end includes primary server and VM virtualization program module;
Primary server is executed for providing the remote command of test script and testing tool in the long-range of DTU script execution process Simulated operation;
VM virtualization program module, for primary server original triangular web to be divided into several independent standalone features by VM virtualization Subsystem, each subsystem can provide automatic test service, it is separated to realize that the execution of multitask and task contact Function.
3. the automatization test system of fusion virtualization multitask according to claim 2, which is characterized in that the system is also Including ftp server, the subsystem of the ftp server and several independent standalone features being divided by VM virtualization is carried out Communication connection.
4. the automatization test system of fusion virtualization multitask according to claim 3, which is characterized in that server end It further include network address translation;
Network address translation, the subsystem of independent standalone feature and survey to be measured for each to be divided by VM virtualization Commissioning stage, ftp server and script server are communicated.
5. a kind of automated testing method of fusion virtualization multitask, which comprises the steps of:
Test machine sends test request to script server;
Script server receives request and test script is downloaded to test machine according to the solicited message received;
Test machine executes test according to test list and communicates progress with the test list of server end implementation in the process of implementation Implementation progress confirmation.
6. a kind of automated testing method of fusion virtualization multitask according to claim 5, which is characterized in that described Test machine to script server send test request the step of before, comprising:
Test machine issues environment setting downloading request to ftp server;
FTP can provide different system environment file and test environmental variance according to different test requests;
After the completion of the environment file downloading in FTP is finished and built, execute step: test machine sends to script server and tests Request.
7. a kind of automated testing method of fusion virtualization multitask according to claim 6, which is characterized in that described Test machine to ftp server issue environment setting downloading request the step of before further include:
Build test environment, comprising: the network and BMC of test machine are configured, test machine respectively with script server, main clothes Business device and ftp server in consolidated network and are able to maintain communication;
Primary server establishes multinomial virtual task and distributes virtual resource to each task.
8. a kind of automated testing method of fusion virtualization multitask according to claim 7, which is characterized in that the party Method further include: after test machine executes test list, primary server issues the execution that data summarization uploads, each test machine Data are packaged and uploaded to server end for being analyzed to identify.
9. a kind of automated testing method of fusion virtualization multitask according to claim 8, which is characterized in that the party Method further include:
When data are uploaded onto the server end, automation judgement, confirmation knot are carried out according to each in test list test result Fruit PASS/FAIL.
10. a kind of automated testing method of fusion virtualization multitask according to claim 5, which is characterized in that institute The test item of the test list stated includes bandwidth test, delay test, RMT test and readwrite tests.
CN201910451317.XA 2019-05-28 2019-05-28 Automated testing system and method fusing virtualization multitasks Active CN110213127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910451317.XA CN110213127B (en) 2019-05-28 2019-05-28 Automated testing system and method fusing virtualization multitasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910451317.XA CN110213127B (en) 2019-05-28 2019-05-28 Automated testing system and method fusing virtualization multitasks

Publications (2)

Publication Number Publication Date
CN110213127A true CN110213127A (en) 2019-09-06
CN110213127B CN110213127B (en) 2021-07-02

Family

ID=67789051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910451317.XA Active CN110213127B (en) 2019-05-28 2019-05-28 Automated testing system and method fusing virtualization multitasks

Country Status (1)

Country Link
CN (1) CN110213127B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11102302A (en) * 1997-09-29 1999-04-13 Hitachi Ltd Testing tool for confirming hardware operation
CN1690976A (en) * 2004-04-24 2005-11-02 鸿富锦精密工业(深圳)有限公司 Automatic test system and method for mainboard
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN102333005A (en) * 2011-06-02 2012-01-25 迈普通信技术股份有限公司 Tester control method in automatic testing system
CN102662828A (en) * 2012-03-14 2012-09-12 浪潮(北京)电子信息产业有限公司 A method and device for achieving software automatic testing
CN105183644A (en) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 Multipletask integrated automatic test system and method
CN106484622A (en) * 2016-10-18 2017-03-08 网易(杭州)网络有限公司 Method of testing, apparatus and system
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system
CN109086120A (en) * 2018-08-03 2018-12-25 北京奇虎科技有限公司 Management method, device and the calculating equipment of resources of virtual machine

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11102302A (en) * 1997-09-29 1999-04-13 Hitachi Ltd Testing tool for confirming hardware operation
CN1690976A (en) * 2004-04-24 2005-11-02 鸿富锦精密工业(深圳)有限公司 Automatic test system and method for mainboard
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN102333005A (en) * 2011-06-02 2012-01-25 迈普通信技术股份有限公司 Tester control method in automatic testing system
CN102662828A (en) * 2012-03-14 2012-09-12 浪潮(北京)电子信息产业有限公司 A method and device for achieving software automatic testing
CN105183644A (en) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 Multipletask integrated automatic test system and method
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system
CN106484622A (en) * 2016-10-18 2017-03-08 网易(杭州)网络有限公司 Method of testing, apparatus and system
CN109086120A (en) * 2018-08-03 2018-12-25 北京奇虎科技有限公司 Management method, device and the calculating equipment of resources of virtual machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
L. CRISTALDI,: ""A virtual environment for remote testing of complex systems"", 《IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT》 *
郑宇瀚,: ""基于虚拟化的云计算关键技术研究及应用"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Also Published As

Publication number Publication date
CN110213127B (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US11630646B2 (en) Software defined network controller
CN107590075B (en) Software testing method and device
CN105005521A (en) Test method and apparatus
US11405302B1 (en) Methods, systems, and computer readable media for network testing using configurable test infrastructure
CN106685733A (en) FC-AE-1553 network rapid configuration and automatic testing method
CN105450476A (en) Regression test system and test method
CN112084008A (en) Method for rapidly deploying cloud pipe system based on container technology
CN102595184A (en) Intelligent television automation test method and system
CN107634871B (en) Connectivity test method, device and system
CN105653401A (en) Method and device for scheduling disaster recovery, operation and maintenance, monitoring and emergency start-stop of application systems
CN111901187B (en) Test method, device, equipment and storage medium
CN110750445A (en) Method, system and equipment for testing high-availability function of YARN component
CN105391601A (en) Network management equipment performance testing method and system
CN110620754B (en) NF (NF) required resource deployment method and device, storage medium and electronic device
CN110213127A (en) A kind of automatization test system and method for fusion virtualization multitask
CN113612644B (en) Dynamic simulation method and system for network element of transmission network
CN102420722A (en) Comprehensive networking automation testing method and system
CN115495381A (en) Interactive scene testing method and system, processor and electronic equipment
CN108683543B (en) Method and device for replacing routing equipment, storage medium and electronic device
CN105630634A (en) Application system disaster recovery backup switching method and device
CN111082984A (en) Method and device for simulating login of network equipment to carry out command line interaction
CN104902494B (en) A kind of more LTE terminal automatization test systems and its test method
CN109669699A (en) Application program distribution method, AC, AP and Radio Network System
CN110213783B (en) Base station monitoring method, device and system
CN114884855B (en) Routing method and system under asynchronous communication

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
GR01 Patent grant
GR01 Patent grant