CN106294141A - Application software performance test methods based on publicly-owned cloud desktop - Google Patents

Application software performance test methods based on publicly-owned cloud desktop Download PDF

Info

Publication number
CN106294141A
CN106294141A CN201610627120.3A CN201610627120A CN106294141A CN 106294141 A CN106294141 A CN 106294141A CN 201610627120 A CN201610627120 A CN 201610627120A CN 106294141 A CN106294141 A CN 106294141A
Authority
CN
China
Prior art keywords
application software
client computer
server
script
performance
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
CN201610627120.3A
Other languages
Chinese (zh)
Other versions
CN106294141B (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.)
Polytron Technologies Inc (beijing)
Original Assignee
Polytron Technologies Inc (beijing)
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 Polytron Technologies Inc (beijing) filed Critical Polytron Technologies Inc (beijing)
Priority to CN201610627120.3A priority Critical patent/CN106294141B/en
Publication of CN106294141A publication Critical patent/CN106294141A/en
Application granted granted Critical
Publication of CN106294141B publication Critical patent/CN106294141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of application software performance test methods based on publicly-owned cloud desktop, step is as follows: according to application software performance indications requirement, create the client-server being provided with tested software in publicly-owned cloud platform;According to the operation scenario to be measured of application software, create test script on a client, create performance monitoring script on the server;The client computer being provided with tested software and test script is generated system image file in cloud platform, with this image file Mass production multiple stage client computer;Communication object BOUND communication port are set in dispatching host machine, set up with multithreading and intercept the communication between each client computer and/or server;According to test request, dispatching host machine sends script to client computer and runs signaling, and performance condition when receiving record client computer and/or server operation application software to be measured.The method can at utmost true analog network application software actual user's operation scenario, accurate actual response application software performance and Consumer's Experience.

Description

Application software performance test methods based on publicly-owned cloud desktop
Technical field
The present invention relates to areas of information technology, be specifically related to a kind of software testing technology.
Background technology
Now, Internet information technique is more and more universal, and user rolls up, and corresponding network application software it is frequently necessary to It still is able to when mass users operates simultaneously maintain good response and realize corresponding function.Therefore these softwares are carried out The simulated performance carrying out under plurality of application scenes to network software by writing automated test tool is needed to survey during performance test Examination.But performance test is it is generally required to rely on real hardware and operating system environment, and for mass users actual operation The demand that can test, usually can be limited by man power and material.Current application software performance testing tool is typically simulation User's actual mechanical process, and the packet that during grasping manipulation application software, client computer sends to server, and assist according to data View resolves packet, generates corresponding test script.When reality is tested, performed test script by multithreading simultaneously, thus Corresponding packet is sent, to realize performance test to server.But, existing software often designs extremely complex, and many Plant agreement and carry out data transmission, the network data transmission of encryption, the most existing performance testing tool even can be used to tend not to True simulation softward operating environment, performance test is had a greatly reduced quality.And for multimedia or entertainment software, use need to be embodied toward contact Family experience effect, and existing performance testing tool cannot simultaneously monitor the reality of client computer under different hardware and operating system environment Operational effect.
Summary of the invention
For solving the problems referred to above, the present invention proposes a kind of application software performance test methods based on publicly-owned cloud desktop.Should Method can at utmost true analog network application software actual user's operation scenario, accurate actual response application software performance And Consumer's Experience.
The present invention realizes the technical scheme of above-mentioned purpose:
A kind of application software performance test methods based on publicly-owned cloud desktop, step is as follows:
1) according to application software performance indications requirement, in publicly-owned cloud platform create be provided with tested software client computer and Server;
2) according to the operation scenario to be measured of application software, create test script in client computer, create performance on the server Monitoring script;
3) client computer being provided with tested software and test script is generated system image file, with this mirror in cloud platform As files in batch generates platform client computer, server life in cloud platform of tested software and performance monitoring script will be installed simultaneously Become system image file, generate server with this image file;
4) communication object BOUND communication port are set in dispatching host machine, set up with multithreading and intercept and each visitor Communication between family machine and/or server;
5) according to test request, dispatching host machine to client computer send script run signaling, and receiving record client computer and/or Server runs performance condition during application software to be measured.
The step that above-mentioned method of testing creates test script is as follows:
2.1) according to the operation scenario to be measured of application software, the input equipment operation life that application software to be measured needs is recorded Order;
2.2) input equipment operational order is packaged in by the input interface function provided according to publicly-owned cloud platform operating system In test script file;
2.3) key function operation is set, and initial time point, key are set in corresponding input equipment operational order Feature operation result checks that check post, the software interface of labelling key function execution completion status and/or key function have performed Become time point;
2.4) establishment script interface function, and define script interface function call parameter and response results.
In above-mentioned method of testing, described dispatching host machine sends script to client computer and runs signaling, and receiving record client computer And/or server run application software to be measured time performance condition method particularly as follows:
5.1) set up and all client computer to be measured and/or the communication connection of server with multithreading;
5.2) to client computer to be measured transmission, there is unified startup time, persistent period and/or the script of cycle-index parameter Interface function performs order;
5.3) receiving the response results of each key function operating result inspection check post that client computer to be measured returns, statistics is also Display script implementation status, average response time and the performance indications of client computer to be measured.
5.4) the server performance index that server performance monitoring script returns is received, and according to performance indications with chart Mode shows the performance condition of server.
As realized the application software performance simulation in the case of different physics region, described establishment multiple stage is provided with tested soft The publicly-owned cloud platform of the client-server of part is the publicly-owned cloud platform under different physics region.
Compared with prior art, the present invention provide application software performance test methods based on publicly-owned cloud desktop have with Lower advantage and effect:
A) the input equipment operational order needed by recording application software to be measured due to technical solution of the present invention realizes soft Part uses simulation, it is not necessary to resolves packet according to data protocol, therefore can carry out performance for all types of application softwaries Test;
B) performance detection environment of the present invention is built in publicly-owned cloud platform, is provided with tested software by creating multiple stage Client-server, it is achieved mass users is in different physics regions, and different configurations, it is soft that different operating system operates application simultaneously The scenario simulation of part, not only greatly reduces the erection cost of performance detection environment, and performance test scheme is also dependent on performance Test process need real time modifying;
C) by arranging key function operation, and initial time point, pass are set in corresponding input equipment operational order Key feature operation result checks that check post, labelling key function perform software interface and/or the key function execution of completion status Deadline point, technical staff can propose performance prioritization scheme according to key function operational circumstances, enter software targetedly Row improves.
Accompanying drawing explanation
Fig. 1 is a kind of application software performance test methods one specific embodiment based on publicly-owned cloud desktop of the present invention Test environment Organization Chart;Fig. 2 is that a kind of application software performance test methods one based on publicly-owned cloud desktop of the present invention is concrete The performance test flow chart of embodiment.
Detailed description of the invention
With embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
This example application software to be measured is that a extensive many ground are online concentrates video training C/S software systems, these softwares Needing to meet thousands of users uses the own computer equipped with different editions microsoft operation system by respective account number cipher Strange land logs in software system simultaneously, carries out Online Video Training and Learning, it is desirable to the satisfied user simultaneously accessed of performance energy within 5 seconds Enough logging in software system, open file and can show within 5 seconds, Online Video is play and is not resulted in more than 2 seconds cards, server CPU and internal memory must not continue 90% occupancy of more than 30 seconds.
Owing to this software is a software with encryption user profile transmission and the transmission of encoded multimedia information, and need Meet the requirement that many ground logs in simultaneously, therefore use existing performance testing tool, at transmission encrypting information with to multimedia Information is decoded resolving needs and takes a significant amount of time and resource consumption, even if being completed by software interface or system development interface Test, also cannot accurately catch that file is shown the most in time, whether video playback blocks actual operating states such as timing, and completes many Simulation is tested, and existing performance testing tool also cannot realize.In consideration of it, see Fig. 1 and Fig. 2, the application that the present invention provides Software performance testing method, step is as follows:
1) according to application software performance indications requirement, cloud platform creates test client-server and is respectively mounted The client and server end of tested software;
2) according to the operation scenario to be measured of application software, client computer and on create test script, step is as follows:
2.1) according to the operation scenario to be measured of application software, the input equipment operational order that application software to be measured needs is recorded;
Such as, this software logon operation under Microsoft's Windows operating system is: opened by shortcut WIN+R Windows human window, inputs software under testing title, runs client software to be measured by enter key, clicks user by mouse Name input frame inputs user name, switches by shortcut TAB and inputs user cipher, by enter key login system.
2.2) the input interface function provided according to Windows operating system is by step 2.1) operation of the input equipment that obtains Order is packaged in test script file;
2.3) key function operation is set, and initial time point, key are set in corresponding input equipment operational order Feature operation result checks when check post, the software interface of labelling key function execution completion status and key function have performed Between point;
Such as, the key function operations such as open file operation, video play operation, video file handover operation are set, and The initial time point and deadline point, the key function operating result that arrange corresponding operating check check post, labelling key function The software interface and the key function that perform completion status perform the deadline;
2.4) establishment script interface function, and define script interface function call parameter and response results.
3) client computer being provided with tested software and test script is generated system image file, with this mirror in cloud platform As files in batch generates 1000 client computer;The server of tested software and performance monitoring script will be installed in cloud platform simultaneously Upper generation system image file, generates server with this image file
4) communication object BOUND communication port are set in dispatching host machine, set up with multithreading and intercept and each visitor Communication between family machine and server;
5) according to test request, dispatching host machine sends script to client-server and runs signaling, and receiving record visitor Family machine and server run performance condition during application software to be measured, method particularly as follows:
5.1) communication connection with all client-server to be measured is set up with multithreading;
5.2) to client-server to be measured transmission, there is unified startup time, persistent period and cycle-index parameter Script interface function performs order;
Such as, test needs each client to need to log in when being set in 2016 the Beijing time morning 9 on the 29th in July simultaneously And run software under testing, and open video file and play up to 50 seconds, and circulate 10 times, then unified to client-server to be measured Send the parameters such as this Beijing time, playing duration, cycle-index.
5.3) the response knot of each key function operating result inspection check post that client-server to be measured returns is received Really, add up and show script implementation status, average response time and client computer to be measured and/or the performance parameter of server.
Owing to this example needing software play and the fluency of game on line software and image definition for Online Video Do performance test, therefore before execution performance is tested, obtain a segment standard video by intervals sampling on a client Or the sectional drawing sequence of animation, and with the time point in each sectional drawing place normal video or animation in step 2) create test script Time labelling corresponding video playback time point, then at labelling corresponding video playback time point in carrying out performance test process Intercepting the video pictures that client computer is play, the sectional drawing by OpenCV instrument comparison current time node is similar with video pictures Degree, if similarity is less than setting threshold value, then carries out similarity comparison by the sectional drawing of video pictures Yu a upper timing node, and adds up Timing node space-number, till similarity exceedes setting threshold value;If video pictures and the phase of all sectional drawings in sectional drawing sequence The most not up to set threshold value like degree, then marking video picture place video playback time point is unintelligible video time point.Circulation Complete the comparison of all sectional drawing sequences and corresponding video picture, and calculate Average Cumulative Time node separation number, with cyclic process In join as performance beyond the space-number of setting value, Average Cumulative Time node separation number and all unintelligible video time points Number, returns dispatching host machine.
Use this performance test methods due to be directly operation client software to produce concurrent pressure, it is not necessary to consider software How to use AES and communication protocol rule, the true operation scene of energy well analog subscriber.Not to whole system Carry out splitting the performance of record whole system that can be loyal, it is possible to achieve the communication scenes of cross-region the Internet, permissible The performance condition of reflection difference configuration client computer makes selection of configuration reference to each client computer, and in this scene, this method ratio is existing Performance testing tool have bigger advantage.

Claims (4)

1. an application software performance test methods based on publicly-owned cloud desktop, step is as follows:
1) according to application software performance indications requirement, publicly-owned cloud platform creates client computer and the service being provided with tested software Device;
2) according to the operation scenario to be measured of application software, create test script on a client, create performance prison on the server Survey script;
3) client computer being provided with tested software and test script is generated system image file in cloud platform, with this mirror image literary composition Part Mass production platform client computer, generates system by the server being provided with tested software and performance monitoring script in cloud platform simultaneously System image file, generates server with this image file;
4) communication object BOUND communication port are set in dispatching host machine, set up with multithreading and intercept and each client computer And/or the communication between server;
5) according to test request, dispatching host machine sends script to client computer and runs signaling, and receiving record client computer and/or service Device runs performance condition during application software to be measured.
A kind of application software performance test methods based on publicly-owned cloud desktop, it is characterised in that institute The step stating method of testing establishment test script is as follows:
2.1) according to the operation scenario to be measured of application software, the input equipment operational order that application software to be measured needs is recorded;
2.2) input equipment operational order is packaged in test by the input interface function provided according to publicly-owned cloud platform operating system In script file;
2.3) key function operation is set, and initial time point, key function are set in corresponding input equipment operational order Operating result checks when check post, the software interface of labelling key function execution completion status and/or key function have performed Between point;
2.4) establishment script interface function, and define script interface function call parameter and response results.
A kind of application software performance test methods based on publicly-owned cloud desktop, it is characterised in that institute State dispatching host machine and send script operation signaling to client computer and/or server, and receiving record client computer and/or server run The method of performance condition during application software to be measured particularly as follows:
5.1) set up and all client computer to be measured and/or the communication connection of server with multithreading;
5.2) to client computer to be measured and/or server transmission, there is unified startup time, persistent period and/or cycle-index parameter Script interface function perform order;
5.3) each key function operating result receiving client computer to be measured and/or server return checks the response knot of check post Really, add up and show script implementation status, average response time and client computer to be measured and/or the performance parameter of server.
4. a kind of based on publicly-owned cloud desktop the application software performance test methods as described in one of claims 1 to 3, its feature Being, the publicly-owned cloud platform of the client-server that described establishment multiple stage is provided with tested software is under different physics region Publicly-owned cloud platform.
CN201610627120.3A 2016-08-02 2016-08-02 Application software performance test methods based on public cloud desktop Active CN106294141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610627120.3A CN106294141B (en) 2016-08-02 2016-08-02 Application software performance test methods based on public cloud desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610627120.3A CN106294141B (en) 2016-08-02 2016-08-02 Application software performance test methods based on public cloud desktop

Publications (2)

Publication Number Publication Date
CN106294141A true CN106294141A (en) 2017-01-04
CN106294141B CN106294141B (en) 2018-11-30

Family

ID=57664433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610627120.3A Active CN106294141B (en) 2016-08-02 2016-08-02 Application software performance test methods based on public cloud desktop

Country Status (1)

Country Link
CN (1) CN106294141B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271302A (en) * 2018-09-11 2019-01-25 无锡江南计算技术研究所 User experience grade benchmark test collection construction method based on resources occupation rate statistics
CN112416769A (en) * 2020-11-23 2021-02-26 山东乾云启创信息科技股份有限公司 Automatic test method and system for simulating user operation in batches under cloud desktop scene
CN117909247A (en) * 2024-03-15 2024-04-19 山东乾云启创信息科技股份有限公司 Automatic test method, system, medium and equipment for Loongson cloud desktop

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581247A (en) * 2012-07-30 2014-02-12 杭州洱海科技有限公司 Method for testing distributed type Web based on cloud computing environment
CN103631703A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Software performance testing method and device in Android device
US20140320888A1 (en) * 2013-04-30 2014-10-30 Kings Information & Network Co., Ltd. Apparatus and Method for Securing Confidential Information of Printed Document in Cloud Computing Environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581247A (en) * 2012-07-30 2014-02-12 杭州洱海科技有限公司 Method for testing distributed type Web based on cloud computing environment
CN103631703A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Software performance testing method and device in Android device
US20140320888A1 (en) * 2013-04-30 2014-10-30 Kings Information & Network Co., Ltd. Apparatus and Method for Securing Confidential Information of Printed Document in Cloud Computing Environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
齐梓杰: "面向Android应用的云测试平台设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271302A (en) * 2018-09-11 2019-01-25 无锡江南计算技术研究所 User experience grade benchmark test collection construction method based on resources occupation rate statistics
CN112416769A (en) * 2020-11-23 2021-02-26 山东乾云启创信息科技股份有限公司 Automatic test method and system for simulating user operation in batches under cloud desktop scene
CN117909247A (en) * 2024-03-15 2024-04-19 山东乾云启创信息科技股份有限公司 Automatic test method, system, medium and equipment for Loongson cloud desktop

Also Published As

Publication number Publication date
CN106294141B (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US11042472B2 (en) Authoring automated test suites using artificial intelligence
US9864734B2 (en) Clickable links within live collaborative web meetings
US20190340512A1 (en) Analytics for an automated application testing platform
Garcia et al. WebRTC testing: challenges and practical solutions
KR101520056B1 (en) Cloud-based mobile/online game server load test automation service method
De Santana et al. Summarizing observational client-side data to reveal web usage patterns
CN107707986A (en) A kind of method and device that barrage message is simulated in the exploitation of live software
CN106294141A (en) Application software performance test methods based on publicly-owned cloud desktop
CN110046297A (en) Operation and maintenance violation identification method and device and storage medium
CN106339410B (en) A kind of interactive educational resource pre-review generation method and system
JP2024514069A (en) electronic messaging methods
Viscomi et al. Using WebPageTest: web performance testing for novices and power users
KR20220013947A (en) Method and apparatus for continuous integration testing
CN105208032B (en) Asynchronous login method and device
CN105513443A (en) System and method for updating learning record by learning process to recover learning schedule
CN105577828B (en) A kind of remoting redirection method and apparatus
CN110585730B (en) Rhythm sensing method and device for game and related equipment
Rhee et al. DeskBench: Flexible virtual desktop benchmarking toolkit
CN112799956B (en) Asset identification capability test method, device and system device
CN107632935A (en) A kind of software systems method for testing pressure, device, equipment and storage medium
US20200235927A1 (en) Distributed Anonymous Scoring Technique
US20200026535A1 (en) Converting Presentations into and Making Presentations from a Universal Presentation Experience
EP3754903B1 (en) Systems and methods for distinguishing among human users and software robots
US11785094B2 (en) Secure content delivery computer system
US10592655B2 (en) Access control to computer resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant