CN106406975A - Test method and device of desktop cloud system - Google Patents

Test method and device of desktop cloud system Download PDF

Info

Publication number
CN106406975A
CN106406975A CN201510460558.2A CN201510460558A CN106406975A CN 106406975 A CN106406975 A CN 106406975A CN 201510460558 A CN201510460558 A CN 201510460558A CN 106406975 A CN106406975 A CN 106406975A
Authority
CN
China
Prior art keywords
test
cloud system
desktop
tested
desktop cloud
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
CN201510460558.2A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510460558.2A priority Critical patent/CN106406975A/en
Priority to PCT/CN2016/073799 priority patent/WO2017016212A1/en
Publication of CN106406975A publication Critical patent/CN106406975A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a test method and device of a desktop cloud system. The method comprises the following steps of: determining a target desktop cloud system to be tested; sending a test task to the determined target desktop cloud system to be tested, wherein the test task is used for carrying out an attribute test on the target desktop cloud system; and receiving a test result returned after the target desktop cloud system carries out a test according to the test task. Through the method, the technical problem in the relevant art that the test result is unreal since test tools which specially aim at the desktop cloud system are not in the presence is solved so as to achieve a technical effect on improving the objective authenticity of the test result when the desktop cloud system is subjected to a function test and a performance test.

Description

The method of testing of desktop cloud system and device
Technical field
The present invention relates to virtual cloud desktop field, in particular to a kind of method of testing of desktop cloud system and device.
Background technology
At present, in desktop virtual technology, virtual desktop architecture (Virtual Desktop Infrastructure, letter Referred to as VDI) adopted by lots of manufacturers as main flow desktop virtual technology, increasingly increase in cloud computing technology demand Today, a lot of manufacturers have all been proposed the virtual desktop VDI of oneself.
The powerful hardware resource of server can be carried out virtual use using Intel Virtualization Technology by VDI technology, by these resources It is distributed as required to corresponding virtual desktop user, reach virtual machine using the purpose with administrative section resource.
Widely using with VDI, derives series of problems.For example, because virtual desktop and common PC desktop are deposited Difference in itself, leads to either in R & D of complex, or during Consumer's Experience, all cannot be timely Objectively judge whether function and the performance of virtual desktop are intact, also cannot objectively judge the stability of virtual desktop in time Whether expected design can be reached, only just can draw corresponding conclusion through long-time experience.
At present, market is no lack of all kinds of race component softwares tested and assessed for windows operating system, but this kind of software No matter develop or test, be all based on what physics PC was carried out, and this specific group of virtual desktop is being tested When, because the particularity of virtual desktop is it is impossible to provide the test result of an objective reality.
For above-mentioned problem, effective solution is not yet proposed at present.
Content of the invention
The invention provides a kind of method and device of desktop cloud system, at least to solve in correlation technique due to unspecial Lead to the false technical problem of test result for the testing tool of desktop cloud system.
According to an aspect of the invention, it is provided a kind of method of testing of desktop cloud system, including:Determine to be tested Target desktop cloud system;Send test assignment, wherein, above-mentioned survey to the above-mentioned target desktop cloud system to be tested determining Trial is engaged in for carrying out attribute test to above-mentioned target desktop cloud system;Receive above-mentioned target desktop cloud system according to above-mentioned survey The test result that trial business returns after being tested.
Further, above-mentioned target desktop cloud system includes at least one of:Virtual desktop, virtual machine, virtual desktop Host.
Further, before determining target desktop cloud system to be tested, said method also includes:Determine each desktop cloud The virtual platform type of system;According to the virtual platform type determining to the virtual desktop in above-mentioned each desktop cloud system Issue corresponding desktop agents, and issue corresponding main frame generation to the virtual desktop host in above-mentioned each desktop cloud system Reason, wherein, in test process, test software client is communicated with each virtual desktop by above-mentioned desktop agents, and leads to Cross above-mentioned master agent to communicate with each virtual desktop host, and phase between above-mentioned desktop agents and above-mentioned master agent Mutual communication.
Further, before determining target desktop cloud system to be tested, said method also includes:Detect above-mentioned test Whether the communication between software client and each desktop agents the first abnormal conditions;And/or detect above-mentioned test software Whether the communication between client and each master agent the second abnormal conditions;And/or detect above-mentioned each desktop agents with Whether the communication between corresponding master agent the 3rd abnormal conditions;If at least one of abnormal conditions occur:On State the first abnormal conditions, above-mentioned second abnormal conditions and above-mentioned 3rd abnormal conditions, then execute alarming processing.
Further, after sending test assignment to the above-mentioned target desktop cloud system to be tested determining, said method Also include:In test process, operation is monitored to above-mentioned target desktop cloud system execution to be tested.
Further, it is determined that target desktop cloud system to be tested includes:Obtain above-mentioned target desktop cloud system to be tested Service end IP;Determine above-mentioned target desktop cloud system to be tested using test software client and by above-mentioned IP.
Further, before sending test assignment to the above-mentioned target desktop cloud system to be tested determining, said method Also include:Determine the testing requirement of user;The testing requirement of the user according to determination simultaneously passes through application virtualization system VAPP Call corresponding testing tool;The above-mentioned testing tool calling is pushed to the void of above-mentioned target desktop cloud system to be tested Plan machine client.
According to a further aspect in the invention, there is provided a kind of test device of desktop cloud system, including:First determining unit, For determining target desktop cloud system to be tested;Transmitting element, for the above-mentioned target desktop cloud to be tested determining System sends test assignment, and wherein, above-mentioned test assignment is used for carrying out attribute test to above-mentioned target desktop cloud system;Connect Receive unit, for receiving the test result returning after above-mentioned target desktop cloud system is tested according to above-mentioned test assignment.
Further, said apparatus also include:Second determining unit, for determining target desktop cloud system to be tested Before, determine the virtual platform type of each desktop cloud system;Issuance unit, for according to the virtual platform class determining Type issues corresponding desktop agents to the virtual desktop in above-mentioned each desktop cloud system, and in above-mentioned each desktop cloud system Virtual desktop host issues corresponding master agent, and wherein, in test process, test software client is passed through upper State desktop agents to communicate with each virtual desktop, and communicated with each virtual desktop host by above-mentioned master agent, and Above-mentioned desktop agents and the intercommunication of above-mentioned master agent.
Further, said apparatus also include:First detector unit, for determining target desktop cloud system to be tested Before, detect whether the communication between above-mentioned test software client and each desktop agents the first abnormal conditions;With/ Or second detector unit, for detecting whether the communication between above-mentioned test software client and each master agent occurs second Abnormal conditions;And/or the 3rd detector unit, logical between above-mentioned each desktop agents and corresponding master agent for detecting Whether letter the 3rd abnormal conditions;, for when at least one of abnormal conditions in Alarm Unit:Above-mentioned first Abnormal conditions, above-mentioned second abnormal conditions and above-mentioned 3rd abnormal conditions, then execute alarming processing.
Further, said apparatus also include:Monitoring unit, for the above-mentioned target desktop cloud to be tested determining After system sends test assignment, in test process, operation is monitored to above-mentioned target desktop cloud system execution to be tested.
Further, above-mentioned first determining unit includes:Acquisition module, for obtaining above-mentioned target desktop cloud to be tested Service end IP of system;Determining module, for determined to be tested using test software client and by above-mentioned IP State target desktop cloud system.
Further, said apparatus also include:3rd determining unit, for the above-mentioned target table to be tested determining Before face cloud system sends test assignment, determine the testing requirement of user;Call unit, for according to the user's determining Testing requirement simultaneously calls corresponding testing tool by application virtualization system VAPP;Push unit, for calling Above-mentioned testing tool pushes to the virtual-machine client of above-mentioned target desktop cloud system to be tested.
By the present invention, using the target desktop cloud system that determination is to be tested;To the target desktop cloud system to be tested determining System sends test assignment, and wherein, test assignment is used for carrying out attribute test to target desktop cloud system;Receive target desktop The test result that cloud system returns after being tested according to test assignment, solves in correlation technique due to not being specifically designed for The testing tool of desktop cloud system and lead to the false technical problem of test result, and then reached to desktop cloud system When carrying out functional test and performance test, improve the technique effect of the Impersonal authenticity of test result.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explaining the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for testing of desktop cloud system according to embodiments of the present invention;
Fig. 2 is the Organization Chart of test system according to embodiments of the present invention;
Fig. 3 is the flow chart of the method for testing of the desktop cloud system according to alternative embodiment of the present invention;And
Fig. 4 is the structured flowchart of the test device of desktop cloud system according to embodiments of the present invention.
Specific embodiment
To describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that in the feelings do not conflicted Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " Etc. being for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
Provide a kind of method of testing of desktop cloud system in the present embodiment, Fig. 1 is desktop according to embodiments of the present invention The flow chart of the method for testing of cloud system, as shown in figure 1, this flow process comprises the steps:
Step S102, determines target desktop cloud system to be tested;
Step S104, sends test assignment, wherein, above-mentioned survey to the above-mentioned target desktop cloud system to be tested determining Trial is engaged in for carrying out attribute test to above-mentioned target desktop cloud system;
Step S106, receives the test knot returning after above-mentioned target desktop cloud system is tested according to above-mentioned test assignment Really.
It should be noted that above-mentioned steps can be by installing the client executing of test software on a virtual machine.Here, Test assignment can include at least one:Instruction, instruction set, test case;Attribute test can include at least with One of lower:Functional test, performance test;In a test process, one or more target desktop cloud can be tested System.In addition, above-mentioned steps can execute in the test phase of test process.
Wherein, above-mentioned performance test can include:Web pressure security is tested.Specifically, in keeper or User logs in During the client end interface of test software, under virtual desktop environment, the cloud that desktop cloud system can carry is created by instruction The visit capacity to greatest extent to web for the desktop, realizes full load, true load testing environment;The client of test software to After cloud desktop agents send the request accessing web, carry out logging in execution associative operation according to test plan;Web server Place main frame to the client feedback web responding ability of test software, including the index such as postponing, finally with the besel degree of lip-rounding Formula shows in real time, by monitor window it can be seen that concurrently accessing the relation of number and web responding ability;Meanwhile, completely negative Test under load, true load and generate test assessment report, can truly, reasonably check web services bearing capacity.
Wherein it is possible to initiate web security detection from the client end interface of test software, including but not limited to code injection, The functions such as cross-site attack, support that self-defined attack script imports simultaneously and issue execution, can flexibly test for different system.
During enforcement, in pc client, the test software in the present invention, desktop cloud system tested is installed, and in desktop The agency being responsible for the communication of this test software is disposed in cloud system, afterwards, can be from this test software to target desktop cloud system System issues test case, the virtual desktop host in desktop cloud system and virtual desktop Real-time Feedback test result, surveys Examination personnel by the interpretation of result module of this test software, can Real Time Observation tracking and testing progress, and after test terminates, Test report is generated by this test software.
It should be noted that when using, test assignment can be initiated by cloud access means whenever and wherever possible by all kinds of means and check Test result, for example, it is possible to access above-mentioned test software whenever and wherever possible by mobile client, to target desktop cloud system Tested.Compare with industry existing main flow testing tool, this test software has measurement direction systematization, test process Transparence, test result such as can review at the advantage not available for other test softwares.
In addition, test software, in addition to can providing the client based on the CS framework of windows operating system, also may be used To provide the client based on the s operating system such as ios, android, tester can be accessed in real time by mobile terminal And initiate test assignment, check testing progress and test result.Further, alarm function also will be in ios and android Maximum effect is played on client, reminds tester whenever and wherever possible, realize solving a problem promptly, lifting testing efficiency Purpose.
By the embodiment of the present invention, using the target desktop cloud system that determination is to be tested;To the target table to be tested determining Face cloud system sends test assignment, and wherein, test assignment is used for carrying out attribute test to target desktop cloud system;Receive mesh The test result that mark desktop cloud system returns after being tested according to test assignment, solves in correlation technique due to not specially Door leads to the false technical problem of test result for the testing tool of desktop cloud system, and then has reached to desktop When cloud system carries out functional test and performance test, improve the technique effect of the Impersonal authenticity of test result.
Alternatively, above-mentioned target desktop cloud system includes at least one of:Virtual desktop, virtual machine, virtual desktop place Master host.During use, test container can flexibly be created by test software, by the virtual desktop in virtual desktop environment, Virtual machine and virtual desktop host add corresponding test container, execution for current test container preset instructions, Test case of instruction set or several scenes composition etc..
It should be noted that the test software of the present invention is except realizing lightweight deployment and melt with desktop cloud system depth Outside conjunction, can with the type of automatic identification desktop cloud system to be tested, and then be to survey according to the type of desktop cloud system The examination stage builds communication environment.Alternatively, before determining target desktop cloud system to be tested, said method is acceptable Including:
S2, determines the virtual platform type of each desktop cloud system;
S4, the virtual platform type according to determining issues corresponding desktop to the virtual desktop in above-mentioned each desktop cloud system Agency, and issue corresponding master agent to the virtual desktop host in above-mentioned each desktop cloud system.Wherein, surveying During examination, test software client is communicated with each virtual desktop by above-mentioned desktop agents, and by above-mentioned master agent Communicate with each virtual desktop host, and the intercommunication of above-mentioned desktop agents and above-mentioned master agent.
It should be noted that herein, the virtual platform type of desktop cloud system can include:XEN、KVM、 The virtual platform type such as VMWARE vpshare.The Intel Virtualization Technology (product) to these three types for this test software All compatible, the desktop cloud system environment under being supported with multiple Intel Virtualization Technologies is docked.
For example, when the server determining target desktop cloud system is the virtual desktop server of XEN framework, it is right to issue The master agent answered, to destination server, sets up communication connection by master agent and virtual desktop host.Wherein, This master agent is by, on the basis of original agency of virtual desktop host, increase this test software acts on behalf of mould Block is realized, and is responsible for the client communication with this test software, such as collects and report the test of virtual desktop host side Result.For example, in virtual desktop deployment virtual desktop agency, this virtual desktop agency is based on original virtual desktop generation On the basis of reason function, increased the proxy module of test software, be responsible for the client communication with test software, collect simultaneously Report the test result of virtual desktop side.
It should be noted that while issuing corresponding agency for different virtual platform types, test software also will be adjusted With the corresponding instruction of different platform type, instruction set and test case.The virtual desktop being created by template all can be with this Test software communicates, after this test network builds up, you can by the client of test software to virtual desktop host master Machine and virtual desktop send instruction, instruction set and targetedly functional test use-case and performance test case.Wherein, Instruction and instruction set can write transmission in real time, and test case then needs to be loaded into test case by the client of test software Project file obtains.
Further, after being set up based on the test assignment of certain instruction or instruction set or test case, you can regard test as Container is successfully established.In test process, can be according to actual conditions, it is to be tested right in test container to increase or decrease As (including virtual desktop host, virtual desktop, virtual machine etc.).
Alternatively, in order to better ensure that test effect, before determining target desktop cloud system to be tested, above-mentioned side Method can also include:
S6, detects whether the communication between above-mentioned test software client and each desktop agents the first abnormal conditions;With / or
S8, detects whether the communication between above-mentioned test software client and each master agent the second abnormal conditions;With / or
S10, detects whether the communication between above-mentioned each desktop agents and corresponding master agent the 3rd abnormal conditions;
, if at least one of abnormal conditions in S12:Above-mentioned first abnormal conditions, above-mentioned second abnormal conditions and on State the 3rd abnormal conditions, then execute alarming processing.
As such, it is possible to remind tester whenever and wherever possible, realize solving a problem promptly, the purpose of lifting testing efficiency.
Alternatively, after sending test assignment to the above-mentioned target desktop cloud system to be tested determining, in order to supervise in real time Test object in control test process, contrast test result, said method can also include:
S14, in test process, monitors operation to above-mentioned target desktop cloud system execution to be tested.
Further, receiving the test knot returning after described target desktop cloud system is tested according to described test assignment After fruit, said method can also include:The test result returning is analyzed, and test is generated according to analysis result Report.
As such, it is possible to monitor in real time test instruction, the instruction set and test case implementing result in test assignment, and gently Pine efficiently carries out comprehensive assessment to test result, automatically generates test report.
It should be noted that this test software can provide the software of multiple runnabilities for desktop cloud system main frame to survey The monitor window of examination, main supervision content includes:
(1) monitor the number change curve of virtual desktop host and/or virtual desktop in test container in test process. If there being multiple test containers, target to be monitored can be selected by drop-down menu.
(2) monitor the real-time performance situation of each virtual desktop host and/or virtual desktop.Specifically, Ke Yitong Cross after drop-down menu selects to monitor target in corresponding test container and it is monitored, wherein it is possible in monitor window be in Now this virtual desktop host and/or virtual desktop ruuning situation in current test container, such as internal memory, CPU etc. Performance indications change curve.
(3) monitor the load capacity situation of change of virtual desktop host.Wherein, by virtual desktop host Virtual desktop number change curve combining in performance curve and its corresponding test container, can intuitively show virtual table The load capacity situation of change of face host.
(4) monitor specific object to be measured.After test starts, with test container corresponding testing scheme node for horizontal seat Mark, test object number is ordinate, can monitor the resident number of test object on each testing procedure of current time, clicks on Resident number can be accurately positioned specific test object further, and then in conjunction with this test object, other tests can be referred to Mark is monitored.
(5) monitor the responding ability of virtual desktop host.Can be in the test container build-in test object of virtual desktop Quantity increase when, monitor virtual desktop host process request average response time change curve.
(6) monitor the performance of particular virtual machine.For example, when monitoring that in test container, virtual-machine data amount increases, a certain The performance change situation of particular virtual machine.
Alternatively, step S102 determines that target desktop cloud system to be tested includes:
S16, obtains service end IP of above-mentioned target desktop cloud system to be tested;
S18, determines above-mentioned target desktop cloud system to be tested using test software client and by above-mentioned IP.
Specifically, under windows operating environment, after the client of deployment test software, run this client, input Virtual desktop environment service end IP to be tested, this virtual desktop environment of client automatic detection of this test software is to be based on Which kind of Intel Virtualization Technology, and make respective handling.
In order to realize the test function customizable of test software, extensive, batch deployment has the survey of particular test functionality Trial work has, and can dock this test software with application virtualization system server, specifically, to be tested to determine Above-mentioned target desktop cloud system send test assignment before, said method can also include:
S20, determines the testing requirement of user;
S22, the testing requirement according to the user determining simultaneously passes through application virtualization system VAPP (Virtual Application) Call corresponding testing tool;
S24, the above-mentioned testing tool calling is pushed to the virtual-machine client of above-mentioned target desktop cloud system to be tested.
Wherein, this test software comprises the interface docking with VAPP, and test software can call specific survey by VAPP Trial work has.Run fc-specific test FC software if desired on virtual desktop, can be disposed by VAPP server batch specific Testing tool, such as this test software can initiate call request to the VAPP server of docking, VAPP server according to Call request pushes supporting test software accordingly to all virtual-machine client, and after APP pushes success, VAPP services Device replys successfully response command to test software, and now, test software can start to control virtual machine client side portion Affix one's name to successful Performance measurement software execution test function, thus realizing the purpose of customizable concrete testing scheme.
Fig. 2 is the Organization Chart of test system according to embodiments of the present invention.As shown in Fig. 2 this system module includes:Table Face cloud system test software 10, virtual desktop host 20, virtual desktop 30, VAP server 40.Wherein, table Face cloud system test software 10 is this test software, comprises:Authentication module 102, test container configuration module 104, announcement Alert module 106, WAP pressure test module 108, test result parsing module 110 and communication module 112.Authentication mould Block 102:Responsible bi-directional authentification:1) tester's authentication;2) virtual desktop environment docking, judges virtual desktop to be measured Whether environment is based on which kind of Intel Virtualization Technology and to allow to access this test system.Test container configuration module 104:When During a newly-built test assignment, need to instruct by this module configuration testing, test instruction set, test case etc., and Add test object, form test container.In other words, tester creates test assignment by this module, and issues Execution.Alarm module 106:Process the warning information that measurand reports, and alarm is sent to tester according to strategy Information, can by mail, note or mobile APP message push etc. multiple by way of Real-time Alarm.WAP pressure test Module 108:Web pressure and security test service are provided.Test result parsing module 110:For in measurand The test result of report is analyzed and shows, and actual effect is shown the monitor in real time of client-side and generates test report Accuse two partly to go up.Communication module 112:It is responsible for this test software and the communication service of tested virtual desktop environment, own Message is interacted by this module.
Virtual desktop host 20:For virtual desktop environment nucleus module, responsible traffic control virtual desktop, by master Machine agency and this test software carry out interacting message.Multiple host may be had in actual environment.Master agent 202: Virtual desktop host carries out interacting message by this module and this test software communication module, including reception instruction, instead Feedback response.
Virtual desktop 30:Represent certain virtual desktop operating on host, in actual environment, may have multiple void Intend desktop.Virtual desktop agency 302:Virtual desktop passes through this module and this test software communication module and host Agency carries out interacting message, including accepting instruction, reports test result.
VAP server 40:It is deployed on virtual desktop host, when receiving the dependent instruction that this test software sends, It is responsible for pushing test software to virtual desktop, realize test software and issue in batches on a large scale.
As shown in figure 3, it is as follows to elaborate the present invention by specific embodiment:
S26, the client of testing results software.
S28, this client of User logs in, execute authorizing procedure, ensure the safety in utilization of test system by authentication, After login, the service end IP address of the target cloud desktop system in input network.
S30, test system judges the virtual platform type of target cloud desktop system, as a example this sentences XEN.
S32, if judging is not XEN type, will continue other virtual platform types of Matching supporting.
S34, if XEN type, then sends corresponding master agent to virtual machine host to be tested.
S36, sends virtual machine agency to virtual machine.
S38, judges whether agent communications at different levels are normal, that is, judge whether preparation is complete.
, if there is exception, alarm Preliminary detection abnormal cause in S40.
S42, if normally, sets up test container and starts to test, for example, allow host start 100 virtual machines, And the operations such as a series of document editor, video/audio broadcasting are carried out on each virtual machine.
S44, passes through the client monitor in real time host of test software and the performance of virtual machine in test process.
S46, test assignment generates test report after being finished.
S48, test completes.
By the embodiment of the present invention, test problem encountered for current desktop cloud system, some technology can be passed through Exploitation extend, in conjunction with the main flows such as XEN, KVM, VMWARE virtualize core technology, provide one effective, Professional, flexible, objective function/Performance measurement software, both can make the assessment of system to virtual desktop environment, User personality demand can be made with special assessment, thus making an exclusive system testing instrument of desktop cloud system, with Fill up the blank of desktop cloud testing tool.This test human world can be desktop cloud system research staff and user provides and is directed to table The perfect solution of face cloud system test.Its maximum feature is with systematization, high efficiency as target, by with many The seamless fusion of virtual desktop environment depth under kind of Intel Virtualization Technology, testing scheme is customizable, test overall process real-time tracking, It is completed and generated the professional test report with the height property assessed by system.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Method can realize by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but a lot In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing Have what technology contributed partly can embody in the form of software product, this computer software product is stored in one In storage medium (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can To be mobile phone, computer, server, or the network equipment etc.) method described in execution each embodiment of the present invention.
Additionally provide a kind of test device of desktop cloud system in the present embodiment, this device be used for realizing above-described embodiment and Preferred embodiment, had carried out repeating no more of explanation.Term " module " as used below can be realized pre- Determine the software of function and/or the combination of hardware.Although the device described by following examples preferably to be realized with software, But hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Embodiment 2
Fig. 4 is the structured flowchart of the test device of desktop cloud system according to embodiments of the present invention, as shown in figure 4, this dress Put including:First determining unit 502, for determining target desktop cloud system to be tested;Transmitting element 504, is used for Send test assignment to the above-mentioned target desktop cloud system to be tested determining, wherein, above-mentioned test assignment is used for above-mentioned Target desktop cloud system carries out attribute test;Receiving unit 506, for receiving above-mentioned target desktop cloud system according to above-mentioned The test result that test assignment returns after being tested.
It should be noted that above-mentioned steps can be by installing the client executing of test software on a virtual machine.Here, Test assignment can include at least one:Instruction, instruction set, test case;Attribute test can include at least with One of lower:Functional test, performance test;In a test process, one or more target desktop cloud can be tested System.In addition, above-mentioned steps can execute in the test phase of test process.
Wherein, above-mentioned performance test can include:Web pressure security is tested.Specifically, in keeper or User logs in During the client end interface of test software, under virtual desktop environment, the cloud that desktop cloud system can carry is created by instruction The visit capacity to greatest extent to web for the desktop, realizes full load, true load testing environment;The client of test software to After cloud desktop agents send the request accessing web, carry out logging in execution associative operation according to test plan;Web server Place main frame to the client feedback web responding ability of test software, including the index such as postponing, finally with the besel degree of lip-rounding Formula shows in real time, by monitor window it can be seen that concurrently accessing the relation of number and web responding ability;Meanwhile, completely negative Test under load, true load and generate test assessment report, can truly, reasonably check web services bearing capacity.
Wherein it is possible to initiate web security detection from the client end interface of test software, including but not limited to code injection, The functions such as cross-site attack, support that self-defined attack script imports simultaneously and issue execution, can flexibly test for different system.
During enforcement, in pc client, the test software in the present invention, desktop cloud system tested is installed, and in desktop The agency being responsible for the communication of this test software is disposed in cloud system, afterwards, can be from this test software to target desktop cloud system System issues test case, the virtual desktop host in desktop cloud system and virtual desktop Real-time Feedback test result, surveys Examination personnel by the interpretation of result module of this test software, can Real Time Observation tracking and testing progress, and after test terminates, Test report is generated by this test software.
It should be noted that when using, test assignment can be initiated by cloud access means whenever and wherever possible by all kinds of means and check Test result, for example, it is possible to access above-mentioned test software whenever and wherever possible by mobile client, to target desktop cloud system Tested.Compare with industry existing main flow testing tool, this test software has measurement direction systematization, test process Transparence, test result such as can review at the advantage not available for other test softwares.
In addition, test software, in addition to can providing the client based on the CS framework of windows operating system, also may be used To provide the client based on the s operating system such as ios, android, tester can be accessed in real time by mobile terminal And initiate test assignment, check testing progress and test result.Further, alarm function also will be in ios and android Maximum effect is played on client, reminds tester whenever and wherever possible, realize solving a problem promptly, lifting testing efficiency Purpose.
By the embodiment of the present invention, using the target desktop cloud system that determination is to be tested;To the target table to be tested determining Face cloud system sends test assignment, and wherein, test assignment is used for carrying out attribute test to target desktop cloud system;Receive mesh The test result that mark desktop cloud system returns after being tested according to test assignment, solves in correlation technique due to not specially Door leads to the false technical problem of test result for the testing tool of desktop cloud system, and then has reached to desktop When cloud system carries out functional test and performance test, improve the technique effect of the Impersonal authenticity of test result.
Alternatively, said apparatus also include:Second determining unit, for determine target desktop cloud system to be tested it Before, determine the virtual platform type of each desktop cloud system;Issuance unit, for according to the virtual platform type determining Issue corresponding desktop agents to the virtual desktop in above-mentioned each desktop cloud system, and to the void in above-mentioned each desktop cloud system Intend desktop host and issue corresponding master agent, wherein, in test process, test software client is passed through above-mentioned Desktop agents are communicated with each virtual desktop, and are communicated with each virtual desktop host by above-mentioned master agent, Yi Jishang State the intercommunication of desktop agents and above-mentioned master agent.
Alternatively, said apparatus also include:First detector unit, for determine target desktop cloud system to be tested it Before, detect whether the communication between above-mentioned test software client and each desktop agents the first abnormal conditions;And/or Second detector unit, different for detecting whether the communication between above-mentioned test software client and each master agent occurs second Reason condition;And/or the 3rd detector unit, for detecting the communication between above-mentioned each desktop agents and corresponding master agent Whether 3rd abnormal conditions occur;, for when at least one of abnormal conditions in Alarm Unit:Above-mentioned first is different Reason condition, above-mentioned second abnormal conditions and above-mentioned 3rd abnormal conditions, then execute alarming processing.
Alternatively, said apparatus also include:Monitoring unit, for the above-mentioned target desktop cloud system to be tested determining After system sends test assignment, in test process, operation is monitored to above-mentioned target desktop cloud system execution to be tested.
Alternatively, above-mentioned first determining unit includes:Acquisition module, for obtaining above-mentioned target desktop cloud system to be tested Service end IP of system;Determining module, for determined to be tested above-mentioned using test software client and by above-mentioned IP Target desktop cloud system.
Alternatively, said apparatus also include:3rd determining unit, for the above-mentioned target desktop to be tested determining Before cloud system sends test assignment, determine the testing requirement of user;Call unit, for the survey according to the user determining Examination demand simultaneously calls corresponding testing tool by application virtualization system VAPP;Push unit, for calling State the virtual-machine client that testing tool pushes to above-mentioned target desktop cloud system to be tested.
It should be noted that embodiment 2 is corresponding with embodiment 1, the function of each unit/module and reality in embodiment 2 Apply the function phase that in example 1, execution corresponding step is realized same, will not be described here.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner to realize, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module position respectively In multiple processors.
Embodiment 3
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for executing each step in embodiment 1 and its related embodiment.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor is held in embodiment 2 according to the program code of storage in storage medium The function of each unit/module.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be described here.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Realizing, they can concentrate on single computing device computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they Storage to be executed by computing device in the storage device, and in some cases, can be to hold different from order herein The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any Modification, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (13)

1. a kind of method of testing of desktop cloud system is it is characterised in that include:
Determine target desktop cloud system to be tested;
Send test assignment to the described target desktop cloud system to be tested determining, wherein, described test assignment is used In attribute test is carried out to described target desktop cloud system;
Receive the test result returning after described target desktop cloud system is tested according to described test assignment.
2. method of testing according to claim 1 it is characterised in that described target desktop cloud system include following at least One of:Virtual desktop, virtual machine, virtual desktop host.
3. method of testing according to claim 1 it is characterised in that determine target desktop cloud system to be tested it Before, methods described also includes:
Determine the virtual platform type of each desktop cloud system;
Virtual platform type according to determining issues corresponding table to the virtual desktop in described each desktop cloud system Face is acted on behalf of, and issues corresponding master agent to the virtual desktop host in described each desktop cloud system,
Wherein, in test process, test software client is communicated with each virtual desktop by described desktop agents, And communicated with each virtual desktop host by described master agent, and described desktop agents and described main frame generation The intercommunication of reason.
4. method of testing according to claim 3 it is characterised in that determine target desktop cloud system to be tested it Before, methods described also includes:
Detect whether the communication between described test software client and each desktop agents the first abnormal conditions;With / or
Detect whether the communication between described test software client and each master agent the second abnormal conditions;With / or
Detect whether the communication between described each desktop agents and corresponding master agent the 3rd abnormal conditions;
If at least one of abnormal conditions occur:Described first abnormal conditions, described second abnormal conditions and described 3rd abnormal conditions, then execute alarming processing.
5. method of testing according to claim 1 it is characterised in that to determine described target desktop to be tested After cloud system sends test assignment, methods described also includes:
In test process, operation is monitored to described target desktop cloud system execution to be tested.
6. method of testing according to claim 1 is it is characterised in that determine that target desktop cloud system to be tested includes:
Obtain service end IP of described target desktop cloud system to be tested;
Determine described target desktop cloud system to be tested using test software client and by described IP.
7. method of testing according to claim 1 it is characterised in that to determine described target desktop to be tested Before cloud system sends test assignment, methods described also includes:
Determine the testing requirement of user;
Testing requirement according to the user determining simultaneously calls corresponding testing tool by application virtualization system VAPP;
The described testing tool calling is pushed to the virtual-machine client of described target desktop cloud system to be tested.
8. a kind of test device of desktop cloud system is it is characterised in that include:
First determining unit, for determining target desktop cloud system to be tested;
Transmitting element, for sending test assignment to the described target desktop cloud system to be tested determining, wherein, Described test assignment is used for carrying out attribute test to described target desktop cloud system;
Receiving unit, for receiving return after described target desktop cloud system is tested according to described test assignment Test result.
9. test device according to claim 8 is it is characterised in that described device also includes:
Second determining unit, for, before determining target desktop cloud system to be tested, determining each desktop cloud system Virtual platform type;
Issuance unit, for according to determine virtual platform type to the virtual desktop in described each desktop cloud system Issue corresponding desktop agents, and issue to the virtual desktop host in described each desktop cloud system and lead accordingly Machine is acted on behalf of,
Wherein, in test process, test software client is communicated with each virtual desktop by described desktop agents, And communicated with each virtual desktop host by described master agent, and described desktop agents and described main frame generation The intercommunication of reason.
10. test device according to claim 9 is it is characterised in that described device also includes:
First detector unit, for, before determining target desktop cloud system to be tested, detecting described test software Whether the communication between client and each desktop agents the first abnormal conditions;And/or
Second detector unit, for detecting whether the communication between described test software client and each master agent goes out Existing second abnormal conditions;And/or
3rd detector unit, for detecting whether the communication between described each desktop agents and corresponding master agent goes out Existing 3rd abnormal conditions;
, for when at least one of abnormal conditions in Alarm Unit:Described first abnormal conditions, described Two abnormal conditions and described 3rd abnormal conditions, then execute alarming processing.
11. test devices according to claim 8 are it is characterised in that described device also includes:
Monitoring unit, after sending test assignment in the described target desktop cloud system to be tested to determination, In test process, operation is monitored to described target desktop cloud system execution to be tested.
12. test devices according to claim 8 are it is characterised in that described first determining unit includes:
Acquisition module, for obtaining service end IP of described target desktop cloud system to be tested;
Determining module, determines described target table to be tested for using test software client and by described IP Face cloud system.
13. test devices according to claim 8 are it is characterised in that described device also includes:
3rd determining unit, for the to be tested described target desktop cloud system determining send test assignment it Before, determine the testing requirement of user;
Call unit, is called for the testing requirement according to the user determining and by application virtualization system VAPP Corresponding testing tool;
Push unit, for pushing to described target desktop cloud system to be tested by the described testing tool calling Virtual-machine client.
CN201510460558.2A 2015-07-30 2015-07-30 Test method and device of desktop cloud system Pending CN106406975A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510460558.2A CN106406975A (en) 2015-07-30 2015-07-30 Test method and device of desktop cloud system
PCT/CN2016/073799 WO2017016212A1 (en) 2015-07-30 2016-02-15 Testing method and device for desktop cloud system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510460558.2A CN106406975A (en) 2015-07-30 2015-07-30 Test method and device of desktop cloud system

Publications (1)

Publication Number Publication Date
CN106406975A true CN106406975A (en) 2017-02-15

Family

ID=57885100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510460558.2A Pending CN106406975A (en) 2015-07-30 2015-07-30 Test method and device of desktop cloud system

Country Status (2)

Country Link
CN (1) CN106406975A (en)
WO (1) WO2017016212A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763003A (en) * 2018-05-25 2018-11-06 厦门集微科技有限公司 A kind of test method, device and system
CN109726941A (en) * 2019-02-21 2019-05-07 厦门芯鸽信息科技有限公司 A kind of automatic marketing system of intelligent terminal and automatic marketing method
CN109831360A (en) * 2019-02-27 2019-05-31 深圳市吉祥腾达科技有限公司 Automated testing method and test macro for multi-user concurrent web authentication
CN112162926A (en) * 2020-09-30 2021-01-01 新华三大数据技术有限公司 Automatic testing method and device
CN112306639A (en) * 2020-11-11 2021-02-02 新华三大数据技术有限公司 Virtual desktop testing method and device
CN112416769A (en) * 2020-11-23 2021-02-26 山东乾云启创信息科技股份有限公司 Automatic test method and system for simulating user operation in batches under cloud desktop scene
CN113890877A (en) * 2021-09-27 2022-01-04 新华三信息安全技术有限公司 Cloud testing method and device
WO2023036058A1 (en) * 2021-09-08 2023-03-16 International Business Machines Corporation Performing software testing with best possible user experience

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710378B (en) * 2018-12-18 2023-06-02 广东微云科技股份有限公司 Virtual machine fault detection method
CN109656830A (en) * 2018-12-24 2019-04-19 普华基础软件股份有限公司 A kind of software product performance test methods
CN111314131A (en) * 2020-02-13 2020-06-19 北京奇艺世纪科技有限公司 Task issuing method and device, storage medium and electronic device
CN113590403B (en) * 2021-08-05 2023-08-01 北京百度网讯科技有限公司 Pressure testing method, device, system, electronic equipment, storage medium and product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8990813B2 (en) * 2010-03-29 2015-03-24 Red Hat, Inc. Automated virtual machine image deployment and testing by accessing downloadable test packages and dynamically-changing test parameters
CN102779090B (en) * 2011-05-12 2016-04-13 中国科学院计算技术研究所济宁分所 A kind of desktop virtual system performance measurement method and system
CN103248535B (en) * 2013-04-28 2016-03-09 华为技术有限公司 A kind of cloud system method of testing and device
CN104424093A (en) * 2013-08-26 2015-03-18 阿里巴巴集团控股有限公司 Compatibility testing method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763003A (en) * 2018-05-25 2018-11-06 厦门集微科技有限公司 A kind of test method, device and system
CN109726941A (en) * 2019-02-21 2019-05-07 厦门芯鸽信息科技有限公司 A kind of automatic marketing system of intelligent terminal and automatic marketing method
CN109831360A (en) * 2019-02-27 2019-05-31 深圳市吉祥腾达科技有限公司 Automated testing method and test macro for multi-user concurrent web authentication
CN112162926A (en) * 2020-09-30 2021-01-01 新华三大数据技术有限公司 Automatic testing method and device
CN112306639A (en) * 2020-11-11 2021-02-02 新华三大数据技术有限公司 Virtual desktop testing method and device
CN112306639B (en) * 2020-11-11 2023-02-24 新华三大数据技术有限公司 Virtual desktop testing method and device
CN112416769A (en) * 2020-11-23 2021-02-26 山东乾云启创信息科技股份有限公司 Automatic test method and system for simulating user operation in batches under cloud desktop scene
WO2023036058A1 (en) * 2021-09-08 2023-03-16 International Business Machines Corporation Performing software testing with best possible user experience
US11775419B2 (en) 2021-09-08 2023-10-03 International Business Machines Corporation Performing software testing with best possible user experience
CN113890877A (en) * 2021-09-27 2022-01-04 新华三信息安全技术有限公司 Cloud testing method and device
CN113890877B (en) * 2021-09-27 2023-09-26 新华三信息安全技术有限公司 Cloud testing method and device

Also Published As

Publication number Publication date
WO2017016212A1 (en) 2017-02-02

Similar Documents

Publication Publication Date Title
CN106406975A (en) Test method and device of desktop cloud system
CN103391222B (en) network service monitoring system and method
US10169203B2 (en) Test simulation for software defined networking environments
CN111897724B (en) Automatic testing method and device suitable for cloud platform
CN110955899B (en) Safety test method, device, test equipment and medium
US11032126B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN106488468A (en) WiFi performance test methods and system
CN110874315B (en) Test method, test device, electronic equipment and storage medium
CN104579830B (en) service monitoring method and device
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN106874028A (en) Using dispositions method and device
CN104834602A (en) Program issuing method, device and system
CN110222510A (en) A kind of leak detection method, device and computer system
CN112994945A (en) Automatic deployment method and device of trusted cloud platform
CN114168471A (en) Test method, test device, electronic equipment and storage medium
US20130151595A1 (en) Deployment and hosting of platform independent applications
US9772926B2 (en) System and method for determining relevance of application software maintenance
CN104809054A (en) Method and system for realizing program testing
CN102841843B (en) Compatible determination methods and device
CN114448823A (en) NFS service testing method and system and electronic equipment
CN114218072A (en) Test script generation method and device, storage medium and computer equipment
CN106060048A (en) Network resource access method and network resource access device
CN112235300B (en) Cloud virtual network vulnerability detection method, system, device and electronic equipment
CN109766276A (en) Open platform test method, device, computer readable storage medium and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication