CN108052444A - A kind of method and apparatus of performance test for mobile application - Google Patents

A kind of method and apparatus of performance test for mobile application Download PDF

Info

Publication number
CN108052444A
CN108052444A CN201711116351.9A CN201711116351A CN108052444A CN 108052444 A CN108052444 A CN 108052444A CN 201711116351 A CN201711116351 A CN 201711116351A CN 108052444 A CN108052444 A CN 108052444A
Authority
CN
China
Prior art keywords
test
terminal
measured terminal
tested
information
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
CN201711116351.9A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201711116351.9A priority Critical patent/CN108052444A/en
Publication of CN108052444A publication Critical patent/CN108052444A/en
Pending legal-status Critical Current

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
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The object of the present invention is to provide a kind of method and apparatus of the performance test for mobile application.Compared with prior art, the present invention communicates first with Socket and is performed so that the order of testing results use-case is sent to client application by PC ends, so as to solve this problem that can not obtain system permission, so that mobile terminal is stably connected with PC ends, and solves the problems, such as the cumbersome and limitation using USB connection modes to a certain extent;Then, utilize the automatic performance Test Strategy of adapter distribution, test mode information based on the more mobile terminals connected that communicated by Socket is come dynamically distributes test case, the automatic performance test for carrying out mobile application in a distributed manner is realized, greatlys improve the efficiency of performance test.

Description

A kind of method and apparatus of performance test for mobile application
Technical field
The present invention relates to field of communication technology more particularly to a kind of technologies of performance test for mobile application.
Background technology
With the rapid development of mobile terminal, the exploitation iteration speed of mobile application is also accelerated constantly.Using APP Development process in, detection application performance on the mobile terminal device is essential link.
At present, the automation framework of increasing income that official provides can support the performance test demand of application well;But Due to testing results use-case be performed in mobile terminal test case operation order rather than manufacturer prepackage client application by Can not directly perform the order of testing results use-case in system permission cannot be got, therefore, using these Open Frameworks into The automatic tests such as row performance, it is necessary first to secondary development be carried out to Open Framework at PC ends, then will be moved by modes such as USB Dynamic terminal is connected to PC ends, finally, is sent and ordered based on manual operation, to allow PC ends sending system permission to mobile terminal On, so as to make the corresponding test case of mobile terminal execution.
However, since some performance indicators (such as power consumption) needs ensure to measure in the state of uncharged, only It cannot meet this requirement by the connection mode of USB.
Further, since the performance test of mobile application often covers more scene, there are multiple test case needs to hold Row test job, if performing multiple test cases successively according to conventional, the efficiency of the performance test of entire mobile application will be tight It is affected again;Moreover, the step of above-mentioned connection is with test is not only cumbersome, less efficient, tester is also required to have certain Exploitation programming basis, have certain threshold, therefore, further improve the difficulty of test.
The content of the invention
The object of the present invention is to provide a kind of method and apparatus of the performance test for mobile application.
According to an aspect of the invention, there is provided a kind of side for the performance test that mobile application is used at service equipment end Method, wherein, this method comprises the following steps:
Socket is established with multiple mobile terminals to be connected;
According to the test mode information of the mobile terminal, the measured terminal for the performance test is determined;
The tested status information of one or more test cases according to corresponding to the performance test determines described respectively One or more test cases of test needed for multiple measured terminals;
To executing instruction for the one or more test cases tested needed for the measured terminal transmission measured terminal;
According to the measured terminal to the test execution state of the test case, the tested shape of the test case is updated The test mode information of state information and the measured terminal;
According to updated tested status information and test mode information, the measured terminal and described is redefined One or more test cases of test needed for measured terminal, and test is performed, until completing whole surveys of the performance test Example on probation.
Optionally, establishing the step of socket is connected with multiple mobile terminals includes:
Detect the performance test demand to the mobile application;
When detecting the performance test demand, according to the performance test demand to the mobile application, with multiple shiftings Dynamic terminal establishes socket connections.
Optionally, establishing the step of socket is connected with multiple mobile terminals includes:
The socket connection requests transmitted by multiple mobile terminals are obtained respectively;
According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;
The connection confirmation message transmitted by the mobile terminal is obtained, so as to establish socket with the multiple mobile terminal Connection.
Optionally it is determined that the step of measured terminal corresponding with the performance test, further includes:
One or more test cases corresponding to by the performance test are sent to the measured terminal.
Optionally, determine also to wrap the step of one or more test cases of test needed for the multiple measured terminal respectively It includes:
The one or more test cases tested needed for the measured terminal are sent to the corresponding measured terminal.
Optionally, determine to wrap the step of one or more test cases of test needed for the multiple measured terminal respectively It includes:
The tested status information of one or more test cases according to corresponding to the performance test and the test The test scene information of use-case with reference to the terminal related information of the measured terminal, determines the multiple measured terminal institute respectively The one or more test cases that need to be tested.
Optionally, determine to wrap the step of one or more test cases of test needed for the multiple measured terminal respectively It includes:
According to the test scene information of the test case, the test case is grouped, to form one or more A first grouping;
According to the terminal related information of the measured terminal, the measured terminal is grouped, to form one or more A second packet;
According to the correspondence of the test scene information and the terminal related information, determine that the second packet is wanted First grouping of test;
According to the described first grouping and the correspondence of the second packet, determine respectively needed for the multiple measured terminal One or more test cases of test.
Optionally, the one or more tests for redefining test needed for the measured terminal and the measured terminal are used The step of example, includes:
According to updated tested status information and test mode information, letter is tested with reference to the history of the measured terminal Breath, redefines one or more test cases of test needed for the measured terminal and the measured terminal, and performs survey Examination, until completing whole test cases of the performance test.
According to another aspect of the present invention, a kind of service equipment of the performance test for mobile application is additionally provided, In, which includes:
First device is connected for establishing socket with multiple mobile terminals;
Second device for the test mode information according to the mobile terminal, determines the quilt for the performance test Survey terminal;
3rd device is believed for the tested state of one or more test cases according to corresponding to the performance test Breath determines one or more test cases of test needed for the multiple measured terminal respectively;
4th device is used for sending the one or more tests tested needed for the measured terminal to the measured terminal Example executes instruction;
5th device for the test execution state according to the measured terminal to the test case, updates the survey The tested status information of example on probation and the test mode information of the measured terminal;
6th device, for according to updated tested status information and test mode information, redefining the quilt One or more test cases of test needed for terminal and the measured terminal are surveyed, and perform test, until completing the property The whole test cases that can be tested.
Optionally, the first device is used for:
Detect the performance test demand to the mobile application;
When detecting the performance test demand, according to the performance test demand to the mobile application, with multiple shiftings Dynamic terminal establishes socket connections.
Optionally, the first device is used for:
The socket connection requests transmitted by multiple mobile terminals are obtained respectively;
According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;
The connection confirmation message transmitted by the mobile terminal is obtained, so as to establish socket with the multiple mobile terminal Connection.
Optionally, the second device further includes:
The unit of the measured terminal is sent to for one or more test cases corresponding to by the performance test.
Optionally, the 3rd device further includes:
It is corresponding described tested for the one or more test cases tested needed for the measured terminal to be sent to The unit of terminal.
Optionally, the 3rd device is used for:
The tested status information of one or more test cases according to corresponding to the performance test and the test The test scene information of use-case with reference to the terminal related information of the measured terminal, determines the multiple measured terminal institute respectively The one or more test cases that need to be tested.
Optionally, the 3rd device is used for:
According to the test scene information of the test case, the test case is grouped, to form one or more A first grouping;
According to the terminal related information of the measured terminal, the measured terminal is grouped, to form one or more A second packet;
According to the correspondence of the test scene information and the terminal related information, determine that the second packet is wanted First grouping of test;
According to the described first grouping and the correspondence of the second packet, determine respectively needed for the multiple measured terminal One or more test cases of test.
Optionally, the 6th device is used for:
According to updated tested status information and test mode information, letter is tested with reference to the history of the measured terminal Breath, redefines one or more test cases of test needed for the measured terminal and the measured terminal, and performs survey Examination, until completing whole test cases of the performance test.
According to another aspect of the present invention, a kind of computer readable storage medium is additionally provided, which is characterized in that the meter Calculation machine storage medium is stored with computer-readable instruction, when the computer-readable instruction is performed by one or more equipment, So that the equipment performs such as method described in any one of the above embodiments.
According to another aspect of the present invention, a kind of computer equipment is additionally provided, the computer equipment includes:
One or more processors;
Memory, for storing one or more computer programs;
When one or more of computer programs are performed by one or more of processors so that it is one or Multiple processors realize such as method described in any one of the above embodiments.
Compared with prior art, the present invention first with Socket communicate with by PC ends by the order of testing results use-case Client application is sent to perform, so as to solve this problem that can not obtain system permission so that mobile terminal and PC End is stably connected with, and solves the problems, such as the cumbersome and limitation using USB connection modes to a certain extent;Then, it is sharp With the automatic performance Test Strategy of adapter distribution, the survey based on the more mobile terminals connected that communicated by Socket Examination status information carrys out dynamically distributes test case, realizes the automatic performance test for carrying out mobile application in a distributed manner, greatly Improve the efficiency of performance test in ground.
In addition, when in the development process of mobile application, when there is performance testing requirement, the present invention can be opened with automatic trigger Move the Performance Test System, i.e. detection by the available mobile terminals of Socket connections, then adapter distribution will be each Test case is assigned on each mobile terminal and is run.Therefore, entire performance test process is without manual intervention, all from Dynamicization triggers testing results, realizes the full-automation of mobile application performance test.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of service equipment signal of performance test for mobile application of one side according to the present invention Figure;
Fig. 2 shows a kind of performance test that mobile application is used at service equipment end according to a further aspect of the present invention Method flow diagram;
Fig. 3 shows a kind of method flow of the performance test of mobile application according to a preferred embodiment of the present invention Figure.
The same or similar reference numeral represents the same or similar component in attached drawing.
Specific embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although operations are described as the processing of order by flow chart, therein to be permitted Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When it The processing can be terminated when operation is completed, it is also possible to have the additional step being not included in attached drawing.The processing It can correspond to method, function, regulation, subroutine, subprogram etc..
So-called within a context " service equipment ", as belongs to " computer equipment ", and also referred to as " computer ", referring to can be with It is set by running preset program or instruction to perform the smart electronics of the predetermined process process such as numerical computations and/or logical calculated It is standby, processor and memory can be included, the survival to be prestored in memory by processor execution instructs to perform book office Reason process or predetermined process process is performed by hardware such as ASIC, FPGA, DSP or is realized by said two devices combination.
The service equipment include but not limited to single network server, multiple network servers composition server group or Based on the cloud being made of a large amount of computers or network server of cloud computing (Cloud Computing), wherein, cloud computing is point One kind that cloth calculates, a super virtual computer being made of the computer collection of a group loose couplings.Wherein, the calculating Machine equipment can isolated operation realize the present invention, also can access network and pass through the interaction with other computer equipments in network It operates to realize the present invention.Wherein, the network residing for the computer equipment includes but not limited to internet, wide area network, metropolitan area Net, LAN, VPN network etc..
It should be noted that the service equipment and network etc. are only for example, other are existing or are likely to occur from now on Computer equipment or network are such as applicable to the present invention, should also be included within the scope of the present invention, and wrap by reference It is contained in this.
Concrete structure and function detail disclosed herein are only representative, and are for describing showing for the present invention The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and be not interpreted as It is limited only by the embodiments set forth herein.
Although it should be appreciated that may have been used term " first ", " second " etc. herein to describe unit, But these units should not be limited by these terms.The use of these items is only for by a unit and another unit It distinguishes.For example, in the case of the scope without departing substantially from exemplary embodiment, it is single that first module can be referred to as second Member, and similarly second unit can be referred to as first module.Term "and/or" used herein above include one of them or The arbitrary and all combination of more listed associated items.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless Context clearly refers else, otherwise singulative used herein above "one", " one " also attempt to include plural number.Should also When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation, The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit, Component and/or its combination.
It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can be according to different from attached The order indicated in figure occurs.For example, depending on involved function/action, the two width figures shown in succession actually may be used Substantially simultaneously to perform or can perform in a reverse order sometimes.
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 shows a kind of service equipment signal of performance test for mobile application of one side according to the present invention Figure;Wherein, the service equipment includes first device 1, second device 2,3rd device 3, the 4th device 4, the 5th device 5, the Six devices 6.
Specifically, the first device 1 is established socket with multiple mobile terminals and is connected;The second device 2 is according to institute The test mode information of mobile terminal is stated, determines the measured terminal for the performance test;The 3rd device 3 is according to described The tested status information of one or more test cases corresponding to performance test is determined respectively needed for the multiple measured terminal One or more test cases of test;4th device 4 sends test needed for the measured terminal to the measured terminal One or more test cases execute instruction;5th device 5 is according to the measured terminal to the test case Test execution state updates the tested status information of the test case and the test mode information of the measured terminal;Institute The 6th device 6 is stated according to updated tested status information and test mode information, redefine the measured terminal and One or more test cases of test needed for the measured terminal, and test is performed, until completing the complete of the performance test Portion's test case.
The first device 1 is established socket with multiple mobile terminals and is connected.
Specifically, the first device 1 of the service equipment is handed over based on predetermined interface with multiple mobile terminals respectively Mutually, signaling is sent to the socket interfaces of the mobile terminal, is connected with establishing socket respectively with the multiple mobile terminal.
Preferably, the first device 1 can detect the performance test demand to the mobile application;It is described when detecting During performance test demand, according to the performance test demand to the mobile application, establish socket with multiple mobile terminals and be connected.
Specifically, the first device 1 can be based on being periodically detected or based on various ways such as event detection triggers, real When detect performance test demand to the mobile application.Wherein, the performance test demand can be that user voluntarily submits Or the service equipment is transmitted directly to by other equipment or set by the service equipment with other Standby (such as application and development equipment) interacts, obtained by detecting the performance test demand in the other equipment.
Wherein, performance test of the performance test demand including some for the mobile application or multiple modules Demand or the performance test demand to entire mobile application.
For example, when the application and development equipment development completes some mobile application, then it will be to the mobile application Performance test demand be sent to the service equipment, the first device 1 detects obtained mobile test demand;Or Person, when the application and development equipment development completes a certain module in certain mobile application, the service equipment is answered with described It is interacted with development equipment, so as to know that the exploitation of the module is completed, and then has obtained the performance test demand to the module, from And the detection of first device 1 has obtained the mobile test demand.
When detecting the performance test demand, the first device 1 is according to the performance test to the mobile application Demand based on the demand information corresponding to the performance test demand, is established socket with multiple mobile terminals and is connected.
Wherein, the mobile terminal quantity of connection, the movement of required connection needed for including but not limited in the demand information Terminal models, one or more information such as mobile terminal system configuration of required connection.
Preferably, the first device 1 can obtain the socket connection requests transmitted by multiple mobile terminals respectively;Root According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;Obtain the mobile terminal Transmitted connection confirmation message is connected so as to establish socket with the multiple mobile terminal.
Specifically, the multiple mobile terminal is sent according to the connection identifier of the service equipment to the service equipment Socket connection requests, wherein, the connection identifier is the identification information for identifying the service equipment address, as IP address with Port numbers etc.;Correspondingly, the attachment device 1 is obtained based on predetermined interface transmitted by the multiple mobile terminal respectively Socket connection requests.
Then, the first device 1 is asked according to the socket, it is determined whether it is attached with the mobile terminal, If it is determined that connection, then send license confirmation information to the multiple mobile terminal respectively.
After the mobile terminal receives the license confirmation information, it is attached with the service equipment, works as successful connection Afterwards, connection confirmation message is sent to the attachment device 1 of the service equipment;At this point, the mobile terminal and the service equipment Between establish socket connections, socket communications can be carried out.
As shown in figure 3, in step S31, multiple mobile terminal A, B, C initiate socket connections to service equipment respectively please It asks;In step s 32, the service equipment allows the socket connection requests, and is sent out to the multiple mobile terminal A, B, C License confirmation is sent to ask, to authorize connection, correspondingly, described mobile terminal A, B, C obtain the license confirmation request, and carry out Connection;In step S33, described mobile terminal A, B, C send connection confirmation message to the service equipment, so as to the movement Terminal A, B, C and the service equipment successful connection.
The second device 2 determines the quilt for the performance test according to the test mode information of the mobile terminal Survey terminal.
Specifically, the second device 2 is connected by socket, is interacted with the mobile terminal, obtains the movement The test mode information of terminal;Wherein, whether the test mode information is carrying out testing including the mobile terminal, preferably Ground, the test mode information can also have been carried out how many test case including the mobile terminal, which kind of survey performed The historical data informations such as example on probation.
Then, the second device 2 is according to the test mode information of the mobile terminal, from connected it is multiple it is mobile eventually In end, the measured terminal of the performance test for the mobile application is determined.If for example, test mode letter of some mobile terminal Breath shows the mobile terminal free time, is not carried out other test cases, then using the mobile terminal as measured terminal;If conversely, The test mode information of some mobile terminal shows that the mobile terminal is carrying out other test cases, then no longer moves this Terminal is as measured terminal.Further, the mobile terminal is can be combined with to have been carried out how many test case, perform The historical data informations such as which kind of test case are judged, if for example, the excessively substantial amounts of test case of some mobile terminal execution Or have been carried out with the associated test case of current performance test, then illustrate to have obtained relevant with the mobile terminal Mass data, so that the reselection mobile terminal is not as measured terminal;Conversely, then using the mobile terminal as measured terminal Deng.
Preferably, the second device 2 further includes to use one or more tests corresponding to the performance test Example is sent to the unit of the measured terminal.
Specifically, after the second device 2 determines the measured terminal for the performance test, the second device 2 are communicated based on the socket, and one or more test cases corresponding to by the performance test are sent to the tested end End.Here, transmitted test case can be whole test cases corresponding to the performance test, i.e., the test is used Example is pre-stored in the measured terminal.
The tested state letter of one or more test cases of the 3rd device 3 according to corresponding to the performance test Breath determines one or more test cases of test needed for the multiple measured terminal respectively.
Specifically, the 3rd device 3 determines or obtains one or more test cases corresponding to the performance test Tested status information, wherein, whether the tested status information had been tested including the test case, it is preferable that The tested status information further includes the test case and had been tested several times, if also needs to carry out retest etc..
If the tested status information represent the test case be not tested or performed tested number not Foot, then the 3rd device 3 test case be respectively allocated to the multiple measured terminal test.
As shown in figure 3, in step s 4, test case 1, test case 2 are to need the test tested with test case 3 The test case 1 is distributed to the measured terminal A and carried out by use-case, the 3rd device 3 according to the tested status information Test, distributes to the measured terminal B by the test case 2 and tests, and the test case 3 is distributed to described tested Terminal C is tested.
Preferably, the 3rd device 3 further includes to test the one or more tested needed for the measured terminal Use-case is sent to the unit of the corresponding measured terminal.
Specifically, the 3rd device 3 is determining one or more test cases for being tested needed for the measured terminal Afterwards, the test case of required test is sent to corresponding measured terminal, is needed so as to only send transmitted by the measured terminal Fc-specific test FC use-case, without sending whole test cases.
Preferably, the 3rd device 3 can be according to one or more test cases corresponding to the performance test The test scene information of tested status information and the test case with reference to the terminal related information of the measured terminal, is divided It Que Ding not the required one or more test cases tested of the multiple measured terminal.
Specifically, the test scene information includes but not limited to corresponding test environment needed for the test case (such as The information such as unit type, network condition, device systems setting, test position, system resource requirements), the terminal related information The terminal attribute of including but not limited to described measured terminal, system setting, terminal location, current network state, system resource make With situation etc..
The 3rd device 3 determines one or more surveys for needing to be tested according to the tested status information of the test case Example on probation;Then by the test scene information of the test case, matched, matched into the terminal related information After work(, one or more test cases of test needed for the multiple measured terminal are determined respectively.
Here, the matching includes Corresponding matching and matched with non-corresponding, the Corresponding matching is, the measured terminal Terminal related information disclosure satisfy that the demand of the test scene information;The non-corresponding matches, the measured terminal Terminal related information is being unsatisfactory for the test scene information it is impossible to meet the demand of the test scene information so as to test Demand when abnormal conditions.
Preferably, the 3rd device 3 can be according to the test scene information of the test case, by the test case It is grouped, is grouped with forming one or more first;According to the terminal related information of the measured terminal, by the tested end End is grouped, to form one or more second packets;According to the test scene information and the terminal related information Correspondence determines first grouping to be tested of the second packet;According to the described first grouping and described second point The correspondence of group determines one or more test cases of test needed for the multiple measured terminal respectively.
Specifically, the 3rd device 3 is according to one or more information in the test scene information of the test case, The test case is grouped, is grouped with forming one or more first, for example, will be with one or more identical surveys Multiple test cases of scene information are tried, are divided into same first grouping.
Then, one or more information in the terminal related information, are grouped the measured terminal, with One or more second packets are formed, for example, by multiple measured terminals with one or more identical terminal related informations, It is divided into same second packet.
Above-mentioned first grouping according to the test scene information is related to the terminal with after the completion of second packet division, believing The correspondence of breath determines first grouping to be tested of the second packet;Here, the correspondence includes matching It corresponds to non-matching corresponding, the matching correspondence is that the terminal related information of the measured terminal disclosure satisfy that the test The demand of scene information;The non-matching correspondence is that it is impossible to meet the surveys for the terminal related information of the measured terminal The demand of scene information is tried, so as to test the abnormal conditions when being unsatisfactory for the demand of the test scene information.
Then, according to the correspondence, one or more of the described first grouping test case is distributed to described One or more of second packet measured terminal, so as to determine one or more of test needed for the multiple measured terminal respectively A test case.
Here, the distribution includes being randomly assigned, order-assigned, cycle assignment etc., it is preferable that the distribution can also be after The thinner test scene information of granularity and the second packet corresponding to the continuous test case based in the described first grouping Described in the newer terminal related information of granularity corresponding to measured terminal carry out further matching and distribution.
4th device 4 sends the one or more tests tested needed for the measured terminal to the measured terminal and uses Example executes instruction.
Specifically, the 4th device 4 is communicated based on socket, is executed instruction to measured terminal transmission, with instruction The measured terminal performs one or more test cases of required test.
5th device 5, to the test execution state of the test case, updates the survey according to the measured terminal The tested status information of example on probation and the test mode information of the measured terminal.
Specifically, the 5th device 5 is by being periodically detected the either feedback information based on the measured terminal Mode detects test execution state of the measured terminal to the test case.If the test execution state has altered, example Such as be finished, perform failure, implementation progress meets current demand, then the 5th device 5 is updated in the service equipment The tested status information of the test case stored in (such as the database of the service equipment), if for example, the test Use-case has been finished, then is " being completed " or " executed is once tested " etc. by the tested state information updating;Together When, the test mode information of the measured terminal is updated, if for example, the test case has been finished, by the quilt The test mode information for surveying terminal is changed to " being completed, idle state " etc..
Further, the newer tested status information of institute can also be performed including the test case by which measured terminal The information such as test, test used time, test result, the newer test mode information of institute can also include the survey measured terminal and perform Classification of test case and the test case etc. several times.Here, those skilled in the art will be understood that above-mentioned " be tested Status information " and " test mode information " are only for example, other " tested status informations " and " test mode information " are similary Suitable for the present invention, and comprising within the scope of the present invention.
6th device 6 redefines the quilt according to updated tested status information and test mode information One or more test cases of test needed for terminal and the measured terminal are surveyed, and perform test, until completing the property The whole test cases that can be tested.
Specifically, the 6th device 6 is according to the updated tested status information and test mode information, again It sends and instructs to the second device 2, to reopen entire test process, that is, redefine the measured terminal and described One or more test cases of test needed for measured terminal, and test is performed, until completing whole surveys of the performance test Example on probation.
As shown in figure 3, in step s 5, after mobile terminal B completes the test to test case 2, service equipment more will The tested state information updating of the test case 2 is " completion ", and the test mode information of the mobile terminal B is updated For " free time ", then, new test case 4 is distributed into mobile terminal B, so that mobile terminal B performs the test case 4 Test;
Similarly, then, mobile terminal A completes the test to test case 1, and service equipment is more by the test case 1 Tested state information updating for " completion ", and the test mode information of the mobile terminal A is updated to " free time ", so Afterwards, new test case 5 is distributed into mobile terminal A, so that mobile terminal A performs the test of the test case 5;
Similarly, then, mobile terminal C completes the test to test case 3, and service equipment is more by the test case 3 Tested state information updating for " completion ", and the test mode information of the mobile terminal C is updated to " free time ", so Afterwards, new test case 6 is distributed into mobile terminal C, so that mobile terminal C performs the test of the test case 6.
Preferably, the 6th device 6 can according to updated tested status information and test mode information, with reference to The historical testing information of the measured terminal redefines one tested needed for the measured terminal and the measured terminal Or multiple test cases, and test is performed, until completing whole test cases of the performance test.
Specifically, the 6th device 6 is on the basis according to updated tested status information and test mode information On, with reference to the historical testing information of the measured terminal, send and instruct to the second device 2 again, it is entire to reopen Test process redefines one or more test cases of test needed for the measured terminal and the measured terminal, And test is performed, until completing whole test cases of the performance test.
Wherein, the historical testing information includes but not limited to test case quantity, the survey that the measured terminal is tested Try out test result of example classification, the testing time of test case, the testing location of test case, test case etc..Pass through knot The historical testing information of the measured terminal is closed, with the new measured terminal of assisted Selection and the new measured terminal institute The one or more test cases that need to be tested.If for example, the historical testing information of the measured terminal represents the measured terminal institute The test case quantity of execution has been over predetermined execution upper limit quantity, then no longer as new measured terminal etc.; If for example, the historical testing information of the measured terminal shows that the measured terminal often tests a certain class testing use-case, then When redefining the test case corresponding to the measured terminal, the test case of other classifications is determined as the measured terminal institute Test case that need to be tested etc..
Fig. 2 shows a kind of performance test that mobile application is used at service equipment end according to a further aspect of the present invention Method flow diagram.
Specifically, in step sl, the service equipment is established socket with multiple mobile terminals and is connected;In step S2 In, the service equipment determines the measured terminal for the performance test according to the test mode information of the mobile terminal; In step s3, the tested state letter of one or more test cases of the service equipment according to corresponding to the performance test Breath determines one or more test cases of test needed for the multiple measured terminal respectively;In step s 4, the service is set Standby executing instruction to the one or more test cases tested needed for the measured terminal transmission measured terminal;In step In S5, the service equipment, to the test execution state of the test case, updates the test and uses according to the measured terminal The tested status information of example and the test mode information of the measured terminal;In step s 6, the service equipment is according to more Tested status information and test mode information after new are redefined and surveyed needed for the measured terminal and the measured terminal One or more test cases of examination, and test is performed, until completing whole test cases of the performance test.
In step sl, the service equipment is established socket with multiple mobile terminals and is connected.
Specifically, the service equipment is interacted, to the shifting based on predetermined interface with multiple mobile terminals respectively The socket interfaces of dynamic terminal send signaling, are connected with establishing socket respectively with the multiple mobile terminal.
Preferably, in step sl, the service equipment can detect the performance test demand to the mobile application;When When detecting the performance test demand, according to the performance test demand to the mobile application, established with multiple mobile terminals Socket connections.
Specifically, the service equipment can be based on being periodically detected or based on various ways such as event detection triggers, real When detect performance test demand to the mobile application.Wherein, the performance test demand can be that user voluntarily submits Or the service equipment is transmitted directly to by other equipment or set by the service equipment with other Standby (such as application and development equipment) interacts, obtained by detecting the performance test demand in the other equipment.
Wherein, performance test of the performance test demand including some for the mobile application or multiple modules Demand or the performance test demand to entire mobile application.
For example, when the application and development equipment development completes some mobile application, then it will be to the mobile application Performance test demand be sent to the service equipment, the service equipment detects obtained mobile test demand;Alternatively, When the application and development equipment development completes a certain module in certain mobile application, the service equipment is opened with the application Hair equipment interacts, and so as to know that the exploitation of the module is completed, and then the performance test demand to the module has been obtained, so as to institute Service equipment is stated to detect to have obtained the mobile test demand.
When detecting the performance test demand, the service equipment is according to the performance test need to the mobile application It asks, based on the demand information corresponding to the performance test demand, establishes socket with multiple mobile terminals and be connected.
Wherein, the mobile terminal quantity of connection, the movement of required connection needed for including but not limited in the demand information Terminal models, one or more information such as mobile terminal system configuration of required connection.
Preferably, in step sl, the service equipment can obtain the socket transmitted by multiple mobile terminals respectively Connection request;According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;Obtain institute The connection confirmation message transmitted by mobile terminal is stated, is connected so as to establish socket with the multiple mobile terminal.
Specifically, the multiple mobile terminal is sent according to the connection identifier of the service equipment to the service equipment Socket connection requests, wherein, the connection identifier is the identification information for identifying the service equipment address, as IP address with Port numbers etc.;Correspondingly, the service equipment is obtained based on predetermined interface transmitted by the multiple mobile terminal respectively Socket connection requests.
Then, the service equipment is asked according to the socket, it is determined whether it is attached with the mobile terminal, if It determines connection, then sends license confirmation information to the multiple mobile terminal respectively.
After the mobile terminal receives the license confirmation information, it is attached with the service equipment, works as successful connection Afterwards, connection confirmation message is sent to the service equipment of the service equipment;At this point, the mobile terminal and the service equipment it Between establish socket connections, socket communications can be carried out.
In step s 2, the service equipment is determined according to the test mode information of the mobile terminal for the property The measured terminal that can be tested.
Specifically, in step s 2, the service equipment is connected by socket, is interacted, is obtained with the mobile terminal Take the test mode information of the mobile terminal;Wherein, whether the test mode information is being held including the mobile terminal Row test, it is preferable that the test mode information can also have been carried out how many test case, hold including the mobile terminal The historical data informations such as which kind of test case are gone.
Then, the service equipment is according to the test mode information of the mobile terminal, from connected it is multiple it is mobile eventually In end, the measured terminal of the performance test for the mobile application is determined.If for example, test mode letter of some mobile terminal Breath shows the mobile terminal free time, is not carried out other test cases, then using the mobile terminal as measured terminal;If conversely, The test mode information of some mobile terminal shows that the mobile terminal is carrying out other test cases, then no longer moves this Terminal is as measured terminal.Further, the mobile terminal is can be combined with to have been carried out how many test case, perform The historical data informations such as which kind of test case are judged, if for example, the excessively substantial amounts of test case of some mobile terminal execution Or have been carried out with the associated test case of current performance test, then illustrate to have obtained relevant with the mobile terminal Mass data, so that the reselection mobile terminal is not as measured terminal;Conversely, then using the mobile terminal as measured terminal Deng.
Preferably, in step s 2, the method, which further includes, tests the one or more corresponding to the performance test Use-case is sent to the measured terminal.
Specifically, after the service equipment determines the measured terminal for the performance test, the service equipment It is communicated based on the socket, one or more test cases corresponding to by the performance test are sent to the tested end End.Here, transmitted test case can be whole test cases corresponding to the performance test, i.e., the test is used Example is pre-stored in the measured terminal.
In step s3, the quilt of one or more test cases of the service equipment according to corresponding to the performance test Status information is surveyed, determines one or more test cases of test needed for the multiple measured terminal respectively.
Specifically, in step s3, the service equipment determines or obtains one or more corresponding to the performance test The tested status information of a test case, wherein, whether the tested status information has been tested including the test case It crosses, it is preferable that the tested status information further includes the test case and had been tested several times, if also need to carry out weight Repetition measurement examination etc..
If the tested status information represent the test case be not tested or performed tested number not Foot, then the service equipment test case be respectively allocated to the multiple measured terminal test.
Preferably, in step s3, the method further includes the one or more that will be tested needed for the measured terminal and surveys Example on probation is sent to the corresponding measured terminal.
Specifically, the service equipment is determining one or more test cases for being tested needed for the measured terminal Afterwards, the test case of required test is sent to corresponding measured terminal, is needed so as to only send transmitted by the measured terminal Fc-specific test FC use-case, without sending whole test cases.
Preferably, in step s3, the service equipment can be according to the one or more corresponding to the performance test The tested status information of test case and the test scene information of the test case, with reference to the terminal phase of the measured terminal Information is closed, determines one or more test cases of test needed for the multiple measured terminal respectively.
Specifically, the test scene information includes but not limited to corresponding test environment needed for the test case (such as The information such as unit type, network condition, device systems setting, test position, system resource requirements), the terminal related information The terminal attribute of including but not limited to described measured terminal, system setting, terminal location, current network state, system resource make With situation etc..
In step s3, the service equipment determines one or more need according to the tested status information of the test case The test case to be tested;Then by the test scene information of the test case, carried out with the terminal related information It matches, after successful match, determines one or more test cases of test needed for the multiple measured terminal respectively.
Here, the matching includes Corresponding matching and matched with non-corresponding, the Corresponding matching is, the measured terminal Terminal related information disclosure satisfy that the demand of the test scene information;The non-corresponding matches, the measured terminal Terminal related information is being unsatisfactory for the test scene information it is impossible to meet the demand of the test scene information so as to test Demand when abnormal conditions.
Preferably, in step s3, the service equipment can be according to the test scene information of the test case, by institute It states test case to be grouped, be grouped with forming one or more first;It, will according to the terminal related information of the measured terminal The measured terminal is grouped, to form one or more second packets;According to the test scene information and the terminal The correspondence of relevant information determines first grouping to be tested of the second packet;According to described first grouping with The correspondence of the second packet determines one or more test cases of test needed for the multiple measured terminal respectively.
Specifically, the service equipment is according to one or more information in the test scene information of the test case, The test case is grouped, is grouped with forming one or more first, for example, will be with one or more identical surveys Multiple test cases of scene information are tried, are divided into same first grouping.
Then, one or more information in the terminal related information, are grouped the measured terminal, with One or more second packets are formed, for example, by multiple measured terminals with one or more identical terminal related informations, It is divided into same second packet.
Above-mentioned first grouping according to the test scene information is related to the terminal with after the completion of second packet division, believing The correspondence of breath determines first grouping to be tested of the second packet;Here, the correspondence includes matching It corresponds to non-matching corresponding, the matching correspondence is that the terminal related information of the measured terminal disclosure satisfy that the test The demand of scene information;The non-matching correspondence is that it is impossible to meet the surveys for the terminal related information of the measured terminal The demand of scene information is tried, so as to test the abnormal conditions when being unsatisfactory for the demand of the test scene information.
Then, according to the correspondence, one or more of the described first grouping test case is distributed to described One or more of second packet measured terminal, so as to determine one or more of test needed for the multiple measured terminal respectively A test case.
Here, the distribution includes being randomly assigned, order-assigned, cycle assignment etc., it is preferable that the distribution can also be after The thinner test scene information of granularity and the second packet corresponding to the continuous test case based in the described first grouping Described in the newer terminal related information of granularity corresponding to measured terminal carry out further matching and distribution.
In step s 4, the service equipment sent to the measured terminal tested needed for the measured terminal one or Multiple test cases execute instruction.
Specifically, the service equipment is communicated based on socket, is executed instruction to measured terminal transmission, to indicate State one or more test cases that measured terminal performs required test.
In step s 5, the service equipment according to the measured terminal to the test execution state of the test case, Update the tested status information of the test case and the test mode information of the measured terminal.
Specifically, the service equipment by be periodically detected either the feedback information based on the measured terminal side Formula detects test execution state of the measured terminal to the test case.If the test execution state has altered, such as Be finished, perform failure, implementation progress meets current demand etc., then service equipment update in the service equipment (such as The database of the service equipment) in the tested status information of the test case that is stored, if for example, the test case It has been be finished that, be then " being completed " or " executed is once tested " etc. by the tested state information updating;Meanwhile more The test mode information of the new measured terminal, if for example, the test case has been finished, by the measured terminal Test mode information be changed to " being completed, idle state " etc..
Further, the newer tested status information of institute can also be performed including the test case by which measured terminal The information such as test, test used time, test result, the newer test mode information of institute can also include the survey measured terminal and perform Classification of test case and the test case etc. several times.Here, those skilled in the art will be understood that above-mentioned " be tested Status information " and " test mode information " are only for example, other " tested status informations " and " test mode information " are similary Suitable for the present invention, and comprising within the scope of the present invention.
In step s 6, the service equipment is according to updated tested status information and test mode information, again It determines one or more test cases of test needed for the measured terminal and the measured terminal, and performs test, until Complete whole test cases of the performance test.
Specifically, the service equipment is according to the updated tested status information and test mode information, again To the step S2 is performed, to reopen entire test process, that is, the measured terminal and the tested end are redefined One or more test cases of test needed for end, and test is performed, until completing whole test cases of the performance test.
Preferably, in step s 6, the service equipment can be according to updated tested status information and test shape State information with reference to the historical testing information of the measured terminal, redefines the measured terminal and measured terminal institute The one or more test cases that need to be tested, and test is performed, until completing whole test cases of the performance test.
Specifically, the service equipment is on the basis according to updated tested status information and test mode information On, with reference to the historical testing information of the measured terminal, again to the step S2 is performed, entirely tested with reopening Journey, that is, redefine one or more test cases of test needed for the measured terminal and the measured terminal, and performs Test, until completing whole test cases of the performance test.
Wherein, the historical testing information includes but not limited to test case quantity, the survey that the measured terminal is tested Try out test result of example classification, the testing time of test case, the testing location of test case, test case etc..Pass through knot The historical testing information of the measured terminal is closed, with the new measured terminal of assisted Selection and the new measured terminal institute The one or more test cases that need to be tested.If for example, the historical testing information of the measured terminal represents the measured terminal institute The test case quantity of execution has been over predetermined execution upper limit quantity, then no longer as new measured terminal etc.; If for example, the historical testing information of the measured terminal shows that the measured terminal often tests a certain class testing use-case, then When redefining the test case corresponding to the measured terminal, the test case of other classifications is determined as the measured terminal institute Test case that need to be tested etc..
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application-specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can perform to realize steps described above or function by processor.Similarly, it is of the invention Software program can be stored in computer readable recording medium storing program for performing (including relevant data structure), for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the present invention, example Such as, as the circuit for coordinating to perform each step or function with processor.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, the method according to the invention and/or technical solution can be called or provided. And the program instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium and/or passes through Broadcast or the data flow in other signal bearing medias and be transmitted and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein, when the computer program refers to When order is performed by the processor, method and/or skill of the device operation based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation includes within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade words are used for table Show title, and do not represent any particular order.

Claims (18)

1. a kind of method for the performance test that mobile application is used at service equipment end, wherein, this method comprises the following steps:
Socket is established with multiple mobile terminals to be connected;
According to the test mode information of the mobile terminal, the measured terminal for the performance test is determined;
The tested status information of one or more test cases according to corresponding to the performance test determines the multiple respectively One or more test cases of test needed for measured terminal;
To executing instruction for the one or more test cases tested needed for the measured terminal transmission measured terminal;
According to the measured terminal to the test execution state of the test case, the tested state for updating the test case is believed The test mode information of breath and the measured terminal;
According to updated tested status information and test mode information, the measured terminal and described tested is redefined One or more test cases of test needed for terminal, and test is performed, until the whole tests for completing the performance test are used Example.
2. according to the method described in claim 1, wherein, establishing the step of socket is connected with multiple mobile terminals includes:
Detect the performance test demand to the mobile application;
It is whole with multiple movements according to the performance test demand to the mobile application when detecting the performance test demand Socket connections are established at end.
3. method according to claim 1 or 2, wherein, establishing the step of socket is connected with multiple mobile terminals includes:
The socket connection requests transmitted by multiple mobile terminals are obtained respectively;
According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;
The connection confirmation message transmitted by the mobile terminal is obtained, is connected so as to establish socket with the multiple mobile terminal It connects.
It is 4. according to the method in any one of claims 1 to 3, wherein it is determined that corresponding tested with the performance test The step of terminal, further includes:
One or more test cases corresponding to by the performance test are sent to the measured terminal.
5. it according to the method in any one of claims 1 to 3, wherein, determines to survey needed for the multiple measured terminal respectively The step of one or more test cases of examination, further includes:
The one or more test cases tested needed for the measured terminal are sent to the corresponding measured terminal.
6. it the method according to any one of claims 1 to 5, wherein, determines to survey needed for the multiple measured terminal respectively The step of one or more test cases of examination, includes:
The tested status information and the test case of one or more test cases according to corresponding to the performance test Test scene information, with reference to the terminal related information of the measured terminal, determine to survey needed for the multiple measured terminal respectively One or more test cases of examination.
7. according to the method described in claim 6, wherein, one or more of test needed for the multiple measured terminal is determined respectively The step of a test case, includes:
According to the test scene information of the test case, the test case is grouped, to form one or more the One grouping;
According to the terminal related information of the measured terminal, the measured terminal is grouped, to form one or more the Two groupings;
According to the correspondence of the test scene information and the terminal related information, determine that the second packet to be tested It is described first grouping;
According to the described first grouping and the correspondence of the second packet, test needed for the multiple measured terminal is determined respectively One or more test cases.
8. method according to any one of claim 1 to 7, wherein, redefine the measured terminal and the quilt The step of surveying one or more test cases of test needed for terminal includes:
According to updated tested status information and test mode information, with reference to the historical testing information of the measured terminal, One or more test cases of test needed for the measured terminal and the measured terminal are redefined, and perform test, Until complete whole test cases of the performance test.
9. a kind of service equipment of performance test for mobile application, wherein, which includes:
First device is connected for establishing socket with multiple mobile terminals;
Second device for the test mode information according to the mobile terminal, determines the tested end for the performance test End;
3rd device for the tested status information of one or more test cases according to corresponding to the performance test, is divided It Que Ding not the required one or more test cases tested of the multiple measured terminal;
4th device, for sending the one or more test cases tested needed for the measured terminal to the measured terminal It executes instruction;
5th device for the test execution state according to the measured terminal to the test case, updates the test and uses The tested status information of example and the test mode information of the measured terminal;
6th device, for according to updated tested status information and test mode information, redefining the tested end One or more test cases of test needed for end and the measured terminal, and test is performed, it is surveyed until completing the performance Whole test cases of examination.
10. service equipment according to claim 9, wherein, the first device is used for:
Detect the performance test demand to the mobile application;
It is whole with multiple movements according to the performance test demand to the mobile application when detecting the performance test demand Socket connections are established at end.
11. the service equipment according to claim 9 or 10, wherein, the first device is used for:
The socket connection requests transmitted by multiple mobile terminals are obtained respectively;
According to the socket connection requests, license confirmation information is sent to the multiple mobile terminal respectively;
The connection confirmation message transmitted by the mobile terminal is obtained, is connected so as to establish socket with the multiple mobile terminal It connects.
12. the service equipment according to any one of claim 9 to 11, wherein, the second device further includes:
The unit of the measured terminal is sent to for one or more test cases corresponding to by the performance test.
13. the service equipment according to any one of claim 9 to 11, wherein, the 3rd device further includes:
For the one or more test cases tested needed for the measured terminal to be sent to the corresponding measured terminal Unit.
14. the service equipment according to any one of claim 9 to 13, wherein, the 3rd device is used for:
The tested status information and the test case of one or more test cases according to corresponding to the performance test Test scene information, with reference to the terminal related information of the measured terminal, determine to survey needed for the multiple measured terminal respectively One or more test cases of examination.
15. service equipment according to claim 14, wherein, the 3rd device is used for:
According to the test scene information of the test case, the test case is grouped, to form one or more the One grouping;
According to the terminal related information of the measured terminal, the measured terminal is grouped, to form one or more the Two groupings;
According to the correspondence of the test scene information and the terminal related information, determine that the second packet to be tested It is described first grouping;
According to the described first grouping and the correspondence of the second packet, test needed for the multiple measured terminal is determined respectively One or more test cases.
16. the service equipment according to any one of claim 9 to 15, wherein, the 6th device is used for:
According to updated tested status information and test mode information, with reference to the historical testing information of the measured terminal, One or more test cases of test needed for the measured terminal and the measured terminal are redefined, and perform test, Until complete whole test cases of the performance test.
17. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer-readable finger Order, when the computer-readable instruction is performed by one or more equipment so that the equipment performs such as claim 1 to 8 Any one of method.
18. a kind of computer equipment, the computer equipment includes:
One or more processors;
Memory, for storing one or more computer programs;
When one or more of computer programs are performed by one or more of processors so that one or more of Processor realizes such as method described in any item of the claim 1 to 8.
CN201711116351.9A 2017-11-13 2017-11-13 A kind of method and apparatus of performance test for mobile application Pending CN108052444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711116351.9A CN108052444A (en) 2017-11-13 2017-11-13 A kind of method and apparatus of performance test for mobile application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711116351.9A CN108052444A (en) 2017-11-13 2017-11-13 A kind of method and apparatus of performance test for mobile application

Publications (1)

Publication Number Publication Date
CN108052444A true CN108052444A (en) 2018-05-18

Family

ID=62120145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711116351.9A Pending CN108052444A (en) 2017-11-13 2017-11-13 A kind of method and apparatus of performance test for mobile application

Country Status (1)

Country Link
CN (1) CN108052444A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984274A (en) * 2018-08-01 2018-12-11 佛山市甜慕链客科技有限公司 The method that a kind of pair of Internet of things system is operated
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals
CN109901995A (en) * 2019-01-24 2019-06-18 中国平安人寿保险股份有限公司 Method for testing software, device, computer installation and computer readable storage medium
CN112650666A (en) * 2019-10-12 2021-04-13 北京达佳互联信息技术有限公司 Software testing system, method, device, control equipment and storage medium
CN113204492A (en) * 2021-05-28 2021-08-03 中国工商银行股份有限公司 Android application testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298016A (en) * 2012-02-27 2013-09-11 展讯通信(上海)有限公司 Test system for mobile terminals
US20130283100A1 (en) * 2011-02-14 2013-10-24 Ntt Docomo, Inc. Testing device
CN104572441A (en) * 2014-12-09 2015-04-29 微梦创科网络科技(中国)有限公司 Environment setup method, device, server and system for function test of mobile application
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment
CN106681924A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Software testing method and software testing system
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130283100A1 (en) * 2011-02-14 2013-10-24 Ntt Docomo, Inc. Testing device
CN103298016A (en) * 2012-02-27 2013-09-11 展讯通信(上海)有限公司 Test system for mobile terminals
CN104572441A (en) * 2014-12-09 2015-04-29 微梦创科网络科技(中国)有限公司 Environment setup method, device, server and system for function test of mobile application
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment
CN106681924A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Software testing method and software testing system
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杰佛里•豪主编: "《UNIX网络程序设计与管理》", 31 October 2000, 北京希望电子出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984274A (en) * 2018-08-01 2018-12-11 佛山市甜慕链客科技有限公司 The method that a kind of pair of Internet of things system is operated
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals
CN109901995A (en) * 2019-01-24 2019-06-18 中国平安人寿保险股份有限公司 Method for testing software, device, computer installation and computer readable storage medium
CN112650666A (en) * 2019-10-12 2021-04-13 北京达佳互联信息技术有限公司 Software testing system, method, device, control equipment and storage medium
CN112650666B (en) * 2019-10-12 2024-04-09 北京达佳互联信息技术有限公司 Software testing system, method, device, control equipment and storage medium
CN113204492A (en) * 2021-05-28 2021-08-03 中国工商银行股份有限公司 Android application testing method and device

Similar Documents

Publication Publication Date Title
CN108052444A (en) A kind of method and apparatus of performance test for mobile application
CN105302716B (en) Test method, device under the development mode of interflow
CN102946616B (en) Internet of things middleware performance testing system and testing method
US8433554B2 (en) Predicting system performance and capacity using software module performance statistics
CN105144118B (en) Using test and analysis
CN103544103A (en) Method and system for test, simulation and concurrence of software performance
CN106484623A (en) A kind of method of software test, apparatus and system
US20140075318A1 (en) Generating and evaluating expert networks
CN106980571A (en) The construction method and equipment of a kind of test use cases
CN114564374A (en) Operator performance evaluation method and device, electronic equipment and storage medium
CN109743222A (en) A kind of data test method and relevant device
CN110347590A (en) The interface testing control method and device of operation system
CN110493812A (en) Processing method, device, system, processor and the main control device of distribution test
CN110347593A (en) Flow testing method and device
CN116974874A (en) Database testing method and device, electronic equipment and readable storage medium
Zhang et al. {K-Scope}: Online Performance Tracking for Dynamic Cloud Applications
CN109684211A (en) A kind of order dispatch system pressure test method and device based on shop dimension
CN107168760B (en) The variable detection method and device of language
CN111736951A (en) Simulation method for automatic driving, computer device, and storage medium
CN105279065B (en) The method and device of statistical test result in cloud test platform
EP4152715A1 (en) Method and apparatus for determining resource configuration of cloud service system
Klinaku et al. Architecture-based evaluation of scaling policies for cloud applications
CN110209565A (en) A kind of metadata schema adjustment method and its device
JP4637175B2 (en) How to detect deadlocks in a second-run process
CN110971478B (en) Pressure measurement method and device for cloud platform service performance and computing equipment

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