CN109446050A - A kind of function test method and device - Google Patents

A kind of function test method and device Download PDF

Info

Publication number
CN109446050A
CN109446050A CN201811295044.6A CN201811295044A CN109446050A CN 109446050 A CN109446050 A CN 109446050A CN 201811295044 A CN201811295044 A CN 201811295044A CN 109446050 A CN109446050 A CN 109446050A
Authority
CN
China
Prior art keywords
function
tested
test
terminal
configuration 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
CN201811295044.6A
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 Handy Mobile Internet Technology Co Ltd
Original Assignee
Beijing Handy Mobile Internet 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 Handy Mobile Internet Technology Co Ltd filed Critical Beijing Handy Mobile Internet Technology Co Ltd
Priority to CN201811295044.6A priority Critical patent/CN109446050A/en
Publication of CN109446050A publication Critical patent/CN109446050A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

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

Abstract

The present invention provides a kind of function test method and device, in the case where getting the functional test request of terminal transmission, the first setting information based on its terminal carried, determine at least one target terminal, and determine the configuration information of function to be tested, the configuration information of the function to be tested is sent to terminal and at least one target terminal, wherein the configuration information of function to be tested corresponds to a kind of testing scheme of function to be tested, different configuration informations can be thus sent to different terminal and target terminal simultaneously, realize the concurrent testing to a variety of testing schemes.And after sending configuration information, the test data obtained after the configuration information based on function to be tested that terminal and at least one target terminal are respectively sent is tested can be obtained, based on each test data obtained, obtain showing the test result of the performance of function to be tested, it realizes the automatic assessment for treating the performance of test function, thus improves the accuracy for treating test function assessment.

Description

A kind of function test method and device
Technical field
The invention belongs to the field of test technology, more specifically more particularly to a kind of function test method and device.
Background technique
Current any application program (APP, Application) required before announcement to the function of the application program into Row test, wherein each function can only have a testing scheme in a version of application program, when passing through different test sides Case then needs to write a testing scheme in different editions when testing the same function and is tested, to obtain different editions Then the test data that testing scheme obtains is based on test data obtained by the responsible person of application program (such as product manager) It determines which version is optimal, and then prompts publication optimal version, but this mode relies on the subjective consciousness of responsible person, so that right The assessment of test data has certain subjectivity, to reduce the accuracy to functional assessment.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of function test method and device, for improving to be tested The accuracy of functional assessment.Technical solution is as follows:
The present invention provides a kind of function test method, which comprises
The functional test request that terminal is sent is obtained, first of the terminal based on functional test request carrying sets Confidence breath, determines at least one target terminal tested for treating test function;
Determine that the configuration information of the function to be tested, the configuration information of the function to be tested correspond to the function to be tested A kind of testing scheme of energy;
The configuration information of the function to be tested is sent to the terminal and at least one described target terminal;
Obtain the terminal and test data that at least one described target terminal is respectively sent, the test data is by appointing One terminal is obtained after being tested based on the configuration information of the function to be tested;
Based on each test data obtained, the test result of the function to be tested, the function to be tested are obtained Test result be used to show the performance of the function to be tested.
Preferably, the first setting information of the terminal carried based on functional test request, determination are used for Treating at least one target terminal that test function is tested includes:
Second setting information of each terminal set in terminal set library is compared with first setting information, Obtain each second setting information identical at least part of the information in first setting information;
Based on the priority of information different in obtained each second setting information, from obtained each second setting Target terminal set is determined in the corresponding terminal set of information;
Each terminal in the target terminal set is identified as being used to test the function to be tested Target terminal.
Preferably, described to be based on each test data obtained, the test result for obtaining the function to be tested includes:
With the test data corresponding acquisition time, each test data obtained is arranged;
Calculate the intermediate data of two test datas of arbitrary neighborhood;
Each test data and each intermediate data are divided into multiple data groups, and calculate the quasi- of each data group Close curve;
One curve is formed by the matched curve of each data group, and composed curve is determined as described to be measured The test result of function is tried, to determine the pass between each test data and composed curve by composed curve System shows the performance of the function to be tested.
Preferably, the configuration information of the determination function to be tested includes:
Determine configuration information that functional test request carries whether be the function to be tested latest configuration information;
If entrained configuration information is the latest configuration information of the function to be tested, the terminal and described is notified At least one target terminal still uses entrained configuration information;
If entrained configuration information is not the latest configuration information of the function to be tested, it is determined that the function to be tested The latest configuration information of energy is the configuration information of the function to be tested.
Preferably, the method also includes: in the case where determining the corresponding application program updating of the function to be tested, The configuration information used before default configuration information and upgrading after the application program updating is merged, the application is obtained The configuration information of each function to be tested in program.
The present invention also provides a kind of function test methods, which comprises
To server sending function test request, the first setting information of terminal is carried in the functional test request, First setting information is used to be determined by the server whole for treating at least one target that test function is tested End;
Obtain the configuration information for the function to be tested that the server is sent, the configuration information of the function to be tested A kind of testing scheme of the corresponding function to be tested, and the configuration information of the function to be tested also passes through the server and sends out It send at least one described target terminal;
Configuration information based on the function to be tested is tested, and test data is obtained;
The test data is sent to the server, so that the server is based on the test data and described The test data that target terminal is sent, obtains the test result of the function to be tested, the test result of the function to be tested For showing the performance of the function to be tested.
The present invention also provides a kind of device for testing functions, described device includes:
Acquiring unit, for obtaining the functional test request of terminal transmission;
Determination unit, the first setting information of the terminal for being carried based on functional test request, is determined and is used In at least one target terminal treating test function and being tested, and for determine the function to be tested with confidence Breath, the configuration information of the function to be tested correspond to a kind of testing scheme of the function to be tested;
Transmission unit, for sending the configuration information of the function to be tested to the terminal and at least one described target Terminal;
Obtaining unit, the test data for obtaining the terminal and at least one described target terminal is respectively sent, institute It states after test data is tested by any terminal based on the configuration information of the function to be tested and obtains;
Test cell obtains the test result of the function to be tested, institute for being based on each test data obtained The test result for stating function to be tested is used to show the performance of the function to be tested.
Preferably, the determination unit, specifically for believing the second setting of each terminal set in terminal set library Breath is compared with first setting information, obtains identical each at least part of the information in first setting information Second setting information, based on the priority of information different in obtained each second setting information, from obtained each the Determine target terminal set in the corresponding terminal set of two setting informations, and by each terminal in the target terminal set It is identified as the target terminal for being tested the function to be tested.
Preferably, the test cell, comprising:
Arrange subelement, for the test data corresponding acquisition time, by each test data obtained into Row arrangement;
Computation subunit, the intermediate data of two test datas for calculating arbitrary neighborhood, and by each test Data and each intermediate data are divided into multiple data groups, calculate the matched curve of each data group;
Subelement is determined, for forming a curve by the matched curve of each data group, and by composed song Line is determined as the test result of the function to be tested, to determine each test data and institute's group by composed curve At curve between relationship show the performance of the function to be tested.
The present invention also provides a kind of device for testing functions, described device includes:
Transmission unit, for carrying terminal in the functional test request to server sending function test request First setting information, first setting information be used for by the server determine for treat test function tested to A few target terminal;
Obtaining unit, it is described to be tested for obtaining the configuration information for the function to be tested that the server is sent The configuration information of function corresponds to a kind of testing scheme of the function to be tested, and the configuration information of the function to be tested is also logical It crosses the server and is sent at least one described target terminal;
Test cell is tested for the configuration information based on the function to be tested, obtains test data;
The transmission unit is also used to the test data being sent to the server, so that the server base In the test data that the test data and the target terminal are sent, the test result of the function to be tested is obtained, it is described The test result of function to be tested is used to show the performance of the function to be tested.
From above-mentioned technical proposal it is found that being surveyed in the case where getting the functional test request of terminal transmission based on function First setting information of the terminal that examination request carries determines whole for treating at least one target that test function is tested End, and determine the configuration information of function to be tested, the configuration information of the function to be tested is sent to terminal and at least one mesh Mark terminal, wherein the configuration information of function to be tested corresponds to a kind of testing scheme of function to be tested, thus can simultaneously by Different configuration informations are sent to different terminal and target terminal, realize the concurrent testing to a variety of testing schemes.And it is sending out After sending configuration information, it can obtain terminal and at least one target terminal is respectively sent based on function to be tested with confidence The test data that breath obtains after being tested is based on each test data obtained, obtains the test result of function to be tested, Show the performance of function to be tested with the test result by function to be tested, realizes commenting automatically for the performance for treating test function Estimate, to exclude the subjective consciousness of user, thus improves the accuracy for treating test function assessment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of function test method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the test result provided in an embodiment of the present invention for obtaining function to be tested;
Fig. 3 is the flow chart of another function test method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of device for testing functions provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the test cell in device for testing functions provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another device for testing functions provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, it illustrates a kind of flow charts of function test method provided in an embodiment of the present invention, for treating The accuracy of test function assessment is treated in the concurrent testing of a variety of testing schemes of test function and raising.Wherein shown in Fig. 1 Function test method is applied in server, may comprise steps of:
101: obtaining the functional test request that terminal is sent, the first setting letter based on the terminal that functional test request carries Breath determines at least one target terminal tested for treating test function.
It is to be understood that function to be tested is the function in some APP, which can pass through end after being installed to terminal The mode of end operation APP is treated test function and is tested, and wherein functional test request is exactly for requesting to treat test function It is tested, can be and choose a kind of function from the function that principal and subordinate APP has by terminal in the case where terminal starts APP Can, selected function can then be considered as the function to be tested of terminal, and be tested by means of terminal to server sending function Request is treated test function with request and is tested.
The first setting information of terminal wherein carried in functional test request include but is not limited to include: APP correlation letter The setting information of breath and terminal, such as the first setting information include: APP mark, the operating system of country and terminal, such as first are set Confidence breath can be but be not limited to: platform=iOS&region=CN&app_version=1.4.0, platform table The operating system of bright terminal, region show country, and app_version shows the version number of APP, and the version number of APP is regarded For APP mark.
In the present embodiment, determine that the process of target terminal is as follows based on the first setting information of terminal:
Second setting information of each terminal set in terminal set library is compared with the first setting information, is obtained Each second setting information identical at least part of the information in the first setting information;Based on obtained each second setting The priority of different information in information determines target end from the corresponding terminal set of obtained each second setting information End set, and it is whole by each terminal in target terminal set to be identified as being used to treat the target that test function is tested End.
Wherein terminal set library be in each terminal set be pre-set for being carried out to multiple functions to be tested The set of the terminal of test, for each terminal set, the second setting information of each terminal is identical in the terminal set, If the second setting information of each terminal in terminal set 1 includes: platform=iOS&region=CN, terminal set 2 In the second setting information of each terminal include: platform=iOS&app_version=1.4.0.Further when the One setting information includes: platform=iOS&region=CN&app_version=1.4.0, then terminal set 1 and terminal Set 2 the second setting information it is identical as the partial information in the first setting information, then can from terminal set library by this two A terminal set, which selects, to be come, then according to information different in the second setting information of the two terminal set, such as region and The priority of app_version determines target terminal set, for example, if the priority of region is greater than app_version Priority, it is determined that terminal set 1 is target terminal set, if the priority of app_version is excellent greater than region First grade, it is determined that terminal set 2 is target terminal set, so as to determine each terminal in target terminal set respectively For the target terminal tested for treating test function.
The priority of information different in terminal set can be determined by information sorting, the information sorting can by with Family is adjusted by pulling mode, such as above-mentioned platform, region and app_version, can pass through pulling mode Determine the priority of these three information are as follows: if desired platform, region and app_version change these three information Priority then changes the sequence of three, such as becomes: region, platform and app_version.
102: the configuration information of function to be tested is determined, wherein the configuration information of function to be tested corresponds to function to be tested A kind of testing scheme.Testing scheme is for showing to test at least one test elements in APP in the present embodiment, such as Test elements can be official documents and correspondence, resource, boolean sum in the user interface (UI, User Interface) of APP and the elements such as enumerate, Corresponding configuration information can be obtained by the combination to different test elements in practical applications, which can recorde In a configuration file, as Software Development Kit (SDK, Software Development Kit) configuration file in. And testing scheme can be changed at any time according to actual needs in practical applications, and based on testing scheme adjustment configuration information with So that test meets actual demand, wherein the change of testing scheme and the adjustment of configuration information can be by users referring to displaying Test elements in APP are modified, and specific the present embodiment no longer illustrates.
It, can be from the corresponding configuration of different testing schemes of the function to be tested after getting any functional test request In information, a configuration information is randomly selected, or successively select according to the sequence of the corresponding configuration information of different testing schemes Take a configuration information.
Herein it should be noted is that: after determining the configuration information of function to be tested, can will for terminal determine Configuration information recorded (i.e. record terminal using which configuration information), in this way in the test to the same function to be tested It in the process, can be to be tested for this by before from record if terminal sends the functional test request of the repeatedly function to be tested The configuration information that function determines is transmitted directly to terminal, so that terminal can be in batches using the same configuration information to same A function to be tested is tested, so as to improve user experience.Although and have multiple configuration informations, for a terminal For, server only determines a configuration information to terminal from multiple configuration informations.
103: sending the configuration information of function to be tested to terminal and at least one target terminal.Wherein server send to The mode of the configuration information of test function can be any one existing communication mode and be sent, to this present embodiment not into Row limits, and can also be sent out using any one existing communication mode when certain terminal to server sending function test request It send, and the communication mode of terminal to server sending function test request and server send the configuration of function to be tested to terminal The communication mode of information may be different or the same.
104: obtaining the test data that terminal and at least one target terminal are respectively sent, wherein test data is by any end End group obtains after the configuration information of function to be tested is tested.
For any terminal, reporting for a test data can be carried out after each test, such as practical application Middle terminal can be based on configuration information at interval of preset time and once be tested, such as be carried out once based on configuration information daily Test obtains test data in test Shi Junhui every time in this way, test data is then reported to server.
And in order to guarantee that each test data can successfully report to server, terminal can first store test data In the memory space of itself, in hard disk, by the test number from memory space after detecting that test data successfully reports According to deletion, thus it can guarantee that test data can be reported repeatedly directly at the communication abnormality between terminal and server To success.And storage cap can also be arranged in memory space, when storage test data be more than storage cap, then need according to The sequence of the acquisition time (i.e. terminal test obtain data time) of test data carries out data deletion, so that new test Data can be normally written in memory space.
Herein it should be noted is that: due to a function to be tested test data there may be repeat report, It can be also needed in the present embodiment thus because network reason causes to repeat to report to test number such as in a test process According to whether repeating to report and being monitored, need to carry out the duplicate removal processing of test data if monitoring to repeat to report.Wherein monitor Whether be by the ID of test data realized, often obtain a test data and once reported, if monitoring if repeating to report The a plurality of test data of the same ID is then considered as repetition and reports.It furthermore can be in addition to the ID of test data, in the present embodiment The ID of terminal is obtained, in order to the management of configuration information and test data to the same terminal, the wherein generation of the ID of terminal Rule is but is not limited to: a unique ID generated when App is installed for the first time, keeps the ID of terminal constant when APP upgrading, The ID of terminal is regenerated if reinstalling after APP unloading.The time between terminal and server can additionally be carried out Calibration, to guarantee the consistency of the time between terminal and server, calibration process is following but is not limited to such as under type:
When terminal obtains configuration information, calibration value △=server time stamp-equipment timestamp is calculated;In test data When generation, time value after record calibration are as follows: the sum of equipment timestamp and calibration value △.
105: being based on each test data obtained, the test result of function to be tested is obtained, wherein function to be tested Test result be used to show the performance of function to be tested, that is to say, that this can be known by the test result of function to be tested Function to be tested tested under testing scheme after performance, be achieved in the automatic assessment for treating test function.
Such as test data can be shown with line form, and it is public to provide a kind of mathematical expression to carry out curve fitting Formula is fitted to obtain the corresponding curve of test data by the mathematical expression formula, not only can be with prediction data by the curve Trend can also stability according to tracing analysis test result and reliable degree, such as curve changes over time more acutely, says The waving interval of bright test result is larger, i.e., test result is unstable, and test data then illustrates test result near curve It is more reliable;If the distance between curve is larger, illustrate that test result is not reliable, from there through the stabilization of test result Property and reliable degree illustrate performance of the function to be tested under testing scheme, realize the automatic assessment for treating test function.
In the present embodiment, the mathematical formulae to carry out curve fitting can be through but not limited to the mathematical expression of Bezier curve Formula, by taking three bezier curve as an example, the mathematical expression formula of the three bezier curve is as follows:
Corresponding fit procedure are as follows:
Step 1: being considered as sampled point for each test data, such as known sampled point P0,P1,P2,...,Pn, in these samplings The both ends of point respectively increase a virtual controlling point P-1,Pn+1, P is found out respectively-1P0,P0P1,...,PnPn+1Midpoint M0, M1,...,Mn+1
Step 2: M is found out respectively0M1,M1M2,...,MnMn+1Midpoint D0,D1,...,Dn
Step 3: by DiAlongDirection move on to Pi, corresponding Mi,Mi+1Move on to M 'i,M′i+1
Step 4: P is keptiThe constant contraction line segment M ' of pointiM′i+1To M "iM″i+1, and M "iM″i+1=0.6M 'iM′i+1, by M "i It is denoted asM″i+1It is denoted as Pi 2
Step 5: respectively withOne is drawn three times according to (1) formula for 4 control points Bezier curve, the every Bezier curve interpolation obtained from there through above-mentioned steps is in each sampled point P0,P1,P2,..., Pn, and fragment one-time continuous, these Bezier curves are connected to form a curve, to indicate function to be tested by the curve The performance of energy.
But sampled point itself, there is the influence of the factors such as error and noise, interpolation is obtained in each sampled point The different surely true data cases of complete reflection of Bezier curve, therefore it is every not need accurate interpolation in practical applications One sampled point, the process that the present embodiment obtains test result to matched curve thus improve, improved process such as Fig. 2 It is shown, it may comprise steps of:
201: with the test data corresponding acquisition time, each test data obtained being arranged.Wherein test The data corresponding acquisition time is that terminal is tested to obtain the time of the test data, can send the same of test data When report.
202: calculating the intermediate data of two test datas of arbitrary neighborhood.Such as using each test data as adopting Sampling point, it is known that sampled point P0,P1,P2,...,Pn, P is found out respectively0P1,P1P2,...,Pn-1PnMidpoint M1,M2,...,Mn
203: each test data and each intermediate data being divided into multiple data groups, and calculate the quasi- of each data group Close curve.Such as successively with P0M1P1M2,M2P2M3P3,P3M4P4M5... a Bezier curve three times is drawn respectively, successively Go down, if remaining less than four control points, add identical virtual point Pn+1=Pn, Mn+1=Pn, until meeting four points Draw a Bezier curve, the accurate interpolation of the Bezier curve obtained in this way and two endpoints and part intermediate point, and fragment One-time continuous.
When calculating the matched curve of each data group, can by each data group test data and intermediate data into Row parametrization, such as parametrization arrive the value on [0,1] section, such as can be parameterized using chord length parameter method, to each section Bezier curve passes throughMinimum seeks the control point of the corresponding Bezier curve of a data group, then The Bezier curve of data group is obtained based on control point, to make Bezier curve not need to adopt by each in this way Sampling point reduces influence of the sampled point itself to Bezier curve, to improve fitting accuracy, wherein QiFor in a data group I-th of data.
204: a curve being formed by the matched curve of each data group, and composed curve is determined as function to be tested Can test result, with the relationship determined by composed curve between each test data and composed curve show to The performance of test function.
Certainly in addition to assessing function to be tested automatically using aforesaid way, other modes can also be used, are such as used Estimating Confidence Interval algorithm based on bootstrap is assessed, this present embodiment is no longer described in detail.
From above-mentioned technical proposal it is found that being surveyed in the case where getting the functional test request of terminal transmission based on function First setting information of the terminal that examination request carries determines whole for treating at least one target that test function is tested End, and determine the configuration information of function to be tested, the configuration information of the function to be tested is sent to terminal and at least one mesh Mark terminal, wherein the configuration information of function to be tested corresponds to a kind of testing scheme of function to be tested, thus can simultaneously by Different configuration informations are sent to different terminal and target terminal, realize the concurrent testing to a variety of testing schemes.And it is sending out After sending configuration information, it can obtain terminal and at least one target terminal is respectively sent based on function to be tested with confidence The test data that breath obtains after being tested is based on each test data obtained, obtains the test result of function to be tested, Show the performance of function to be tested with the test result by function to be tested, realizes commenting automatically for the performance for treating test function Estimate, to exclude the subjective consciousness of user, thus improves the accuracy for treating test function assessment.
Since server can correspond to different configuration informations for different testing schemes, surveyed getting function for the first time In the case where examination request, a configuration information can be chosen and be sent to terminal and at least one target terminal, and taken second place first After get functional test request when, the functional test request in can carry configuration information, determining function to be tested in this way When the configuration information of energy, whether the configuration information that can determine that functional test request carries first is that the newest of function to be tested is matched Confidence breath;If entrained configuration information is the latest configuration information of function to be tested, terminal and at least one target are notified Terminal still uses entrained configuration information;If entrained configuration information is not the latest configuration information of function to be tested, The latest configuration information for determining function to be tested is the configuration information of function to be tested.
For carrying configuration information whether be function to be tested latest configuration information determination: configuration information can be passed through Time come compare or comparison by each configuration parameter in configuration information depending on, this present embodiment is no longer carried out in detail It states.
Corresponding, function test method provided in this embodiment can also include: to determine that function to be tested is corresponding In the case that APP upgrades, the configuration information used before the default configuration information and upgrading after APP is upgraded is merged, and obtains The configuration information of each function to be tested in APP.Wherein the default configuration information after APP upgrading is identified after APP upgrades The corresponding configuration information of testing scheme is tested with demonstrating the need for which function to be tested after upgrading to APP.
In the present embodiment, the configuration information used before the default configuration information and upgrading after APP being upgraded merges Mode have but be not limited to: the corresponding function to be tested of the configuration information that uses before default configuration information and upgrading is compared It is right, if some configuration information in the configuration information used before some function to be tested and upgrading is corresponding, and believe with default configuration Any configuration information in breath does not correspond to, then deletes the configuration information in the configuration information used before upgrading with the function to be tested It removes, it, will be in default configuration information if some function to be tested changes or some function to be tested is increased function Be written to before upgrading in the configuration information that uses with the configuration information of the function to be tested, so subsequent progress functional test when can It is further to rise to get the configuration information for the function to be tested of being tested from the configuration information used before upgrading The configuration information used before grade can be written into configuration file.
In addition, the embodiment of the present invention also provides another function test method, which is applied in terminal, Its process is as described in Figure 3, may comprise steps of:
301: to server sending function test request, the first setting letter of terminal is wherein carried in functional test request Breath, the first setting information are used to determine at least one target terminal tested for treating test function by server.
Such as it can be and choose a kind of function from the function that principal and subordinate APP has by terminal in the case where terminal starts APP Can, selected function can then be considered as the function to be tested of terminal, and be tested by means of terminal to server sending function Request is treated test function with request and is tested.How based on the first setting information target terminal can be determined for server No longer to illustrate this present embodiment referring to the explanation in above method embodiment.
302: the configuration information for the function to be tested that server is sent is obtained, wherein the configuration information of function to be tested is corresponding A kind of testing scheme of function to be tested, and the configuration information of function to be tested also passes through server and is sent at least one target Terminal.
It, can be from the different testing schemes pair of the function to be tested if server is after getting any functional test request In the configuration information answered, a configuration information, or the sequence according to the corresponding configuration information of different testing schemes are randomly selected Successively to choose a configuration information.And why the configuration information of function to be tested is sent to terminal and other mesh simultaneously Terminal is marked, is in order to which the configuration information for being common based on the same function to be tested by multiple terminals is tested, to prevent list The inaccuracy and unreliability of one test.
303: the configuration information based on function to be tested is tested, and test data is obtained.
304: test data being sent to server, so that the survey that server is sent based on test data and target terminal Data are tried, the test result of function to be tested is obtained, wherein the test result of function to be tested is for showing function to be tested Performance.
Terminal can carry out reporting for a test data after each test in the present embodiment, such as end in practical application End can be based on configuration information at interval of preset time and once be tested, such as once be surveyed based on configuration information daily Examination obtains test data in test Shi Junhui every time in this way, test data is then reported to server.
And in order to guarantee that each test data can successfully report to server, terminal can first store test data In the memory space of itself, in hard disk, by the test number from memory space after detecting that test data successfully reports According to deletion, thus it can guarantee that test data can be reported repeatedly directly at the communication abnormality between terminal and server To success.And storage cap can also be arranged in memory space, when storage test data be more than storage cap, then need according to The sequence of the acquisition time (i.e. terminal test obtain data time) of test data carries out data deletion, so that new test Data can be normally written in memory space.
Herein it should be noted is that: due to a function to be tested test data there may be repeat report, It can be also needed in the present embodiment thus because network reason causes to repeat to report to test number such as in a test process According to whether repeating to report and being monitored, need to carry out the duplicate removal processing of test data if monitoring to repeat to report.Wherein monitor Whether be by the ID of test data realized, often obtain a test data and once reported, if monitoring if repeating to report The a plurality of test data of the same ID is then considered as repetition and reports.It furthermore can be in addition to the ID of test data, in the present embodiment The ID of terminal is obtained, in order to the management of configuration information and test data to the same terminal, the wherein generation of the ID of terminal Rule is but is not limited to: a unique ID generated when App is installed for the first time, keeps the ID of terminal constant when APP upgrading, The ID of terminal is regenerated if reinstalling after APP unloading.The time between terminal and server can additionally be carried out Calibration, to guarantee the consistency of the time between terminal and server, calibration process is following but is not limited to such as under type:
When terminal obtains configuration information, calibration value △=server time stamp-equipment timestamp is calculated;In test data When generation, time value after record calibration are as follows: the sum of equipment timestamp and calibration value △.
Each test data obtained is based on for server, the process for obtaining the test result of function to be tested please join The related description in above method embodiment is read, this present embodiment is no longer illustrated.
From above-mentioned technical proposal it is found that in the case where terminal sending function test request, it can be determined by server The configuration information of function to be tested and other target terminals that test function is tested are treated together with terminal, so that clothes The test data that the available terminal of business device and target terminal are obtained after being tested based on configuration information, such server can be with Based on each test data obtained, the test result of function to be tested is obtained, to pass through the test result of function to be tested Show the performance of function to be tested, realizes the automatic assessment for treating the performance of test function, so that the subjective consciousness of user is excluded, Thus the accuracy for treating test function assessment is improved.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because according to the present invention, certain A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification The embodiment stated belongs to preferred embodiment, and related actions and modules are not necessarily necessary for the present invention.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of device for testing functions, the functional test Device can be applied in server, and structure is as shown in figure 4, may include: acquiring unit 11, determination unit 12, sending list Member 13, obtaining unit 14 and test cell 15.
Acquiring unit 11, for obtaining the functional test request of terminal transmission.Wherein functional test request shows to treat survey Examination function is tested, and function to be tested is the function in some APP, which can pass through terminal operating after being installed to terminal The mode of APP is treated test function and is tested, and is thus had by terminal from principal and subordinate APP in the case where terminal starts APP Choose a kind of function in function, selected function can then be considered as the function to be tested of terminal, and by means of terminal to clothes Business device sending function test request, treats test function with request and is tested.
Determination unit 12, the first setting information of the terminal for being carried based on functional test request, is determined for treating At least one target terminal that test function is tested, and the configuration information for determining function to be tested.
The first setting information of terminal wherein carried in functional test request include but is not limited to include: APP correlation letter The setting information of breath and terminal, such as the first setting information include: APP mark, the operating system of country and terminal, such as first are set Confidence breath can be but be not limited to: platform=iOS&region=CN&app_version=1.4.0, platform table The operating system of bright terminal, region show country, and app_version shows the version number of APP, and the version number of APP is regarded For APP mark.
In the present embodiment, determine that the process of target terminal is as follows based on the first setting information of terminal:
Second setting information of each terminal set in terminal set library is compared with the first setting information, is obtained Each second setting information identical at least part of the information in the first setting information;Based on obtained each second setting The priority of different information in information determines target end from the corresponding terminal set of obtained each second setting information End set, and it is whole by each terminal in target terminal set to be identified as being used to treat the target that test function is tested End, detailed process please refer to the related description in embodiment of the method, are not illustrating this present embodiment.
And the configuration information of function to be tested corresponds to a kind of testing scheme of function to be tested, test side in the present embodiment Case for showing to test at least one test elements in APP, can be such as test elements official documents and correspondence in the UI of APP, Resource, boolean sum such as enumerate at the elements, can obtain corresponding configuration by the combination to different test elements in practical applications Information, the configuration information can recorde in a configuration file, as SDK configuration file in.And in practical applications may be used To change testing scheme at any time according to actual needs, and based on testing scheme adjustment configuration information so that test meets practical need It asks, wherein the change of testing scheme and the adjustment of configuration information can be carried out by user referring to the test elements in the APP shown Modification, specific the present embodiment no longer illustrate.
It, can be from the corresponding configuration of different testing schemes of the function to be tested after getting any functional test request In information, a configuration information is randomly selected, or successively select according to the sequence of the corresponding configuration information of different testing schemes Take a configuration information.
Herein it should be noted is that: it is provided in this embodiment after determining the configuration information of function to be tested Device for testing functions also will record the configuration information (i.e. record terminal is using which configuration information) determined for terminal, in this way right It, can be from if terminal sends the functional test request of the repeatedly function to be tested in the test process of the same function to be tested The configuration information determined before for the function to be tested is transmitted directly to terminal in record, so that terminal can make in batches The same function to be tested is tested with the same configuration information, so as to improve user experience.Although and having multiple match Confidence breath, but for a terminal, server only determines a configuration information to terminal from multiple configuration informations.
Transmission unit 13, for sending the configuration information of function to be tested to terminal and at least one target terminal.
Obtaining unit 14, the test data respectively sent for obtaining terminal and at least one target terminal, test data It is obtained after being tested by any terminal based on the configuration information of function to be tested.It, can be every for any terminal Reporting for a test data is carried out after secondary test, as terminal can be based on configuration information at interval of preset time in practical application It is once tested, such as is once tested based on configuration information daily, obtain test number in test Shi Junhui every time in this way According to test data is then reported to server.
And in order to guarantee that each test data can successfully report to server, terminal can first store test data In the memory space of itself, in hard disk, by the test number from memory space after detecting that test data successfully reports According to deletion, thus it can guarantee that test data can be reported repeatedly directly at the communication abnormality between terminal and server To success.And storage cap can also be arranged in memory space, when storage test data be more than storage cap, then need according to The sequence of the acquisition time (i.e. terminal test obtain data time) of test data carries out data deletion, so that new test Data can be normally written in memory space.
Herein it should be noted is that: due to a function to be tested test data there may be repeat report, It can be also needed in the present embodiment thus because network reason causes to repeat to report to test number such as in a test process According to whether repeating to report and being monitored, need to carry out the duplicate removal processing of test data if monitoring to repeat to report.Wherein monitor Whether be by the ID of test data realized, often obtain a test data and once reported, if monitoring if repeating to report The a plurality of test data of the same ID is then considered as repetition and reports.It furthermore can be in addition to the ID of test data, in the present embodiment The ID of terminal is obtained, in order to the management of configuration information and test data to the same terminal, the wherein generation of the ID of terminal Rule is but is not limited to: a unique ID generated when App is installed for the first time, keeps the ID of terminal constant when APP upgrading, The ID of terminal is regenerated if reinstalling after APP unloading.The time between terminal and server can additionally be carried out Calibration, to guarantee the consistency of the time between terminal and server, calibration process is following but is not limited to such as under type:
When terminal obtains configuration information, calibration value △=server time stamp-equipment timestamp is calculated;In test data When generation, time value after record calibration are as follows: the sum of equipment timestamp and calibration value △.
Test cell 15, it is to be measured for obtaining the test result of function to be tested based on each test data obtained The test result of examination function is used to show the performance of function to be tested, that is to say, that can be with by the test result of function to be tested Know the performance after the function to be tested is tested under testing scheme, is achieved in the automatic assessment for treating test function.
Wherein a kind of structure of test cell 15 is as shown in figure 5, may include: arrangement subelement 151, computation subunit 152 and determine subelement 153.
Subelement 151 is arranged, for the test data corresponding acquisition time, each test data obtained to be carried out Arrangement.Wherein the test data corresponding acquisition time is that terminal is tested to obtain the time of the test data, can sent out It is reported while sending test data.
Computation subunit 152, the intermediate data of two test datas for calculating arbitrary neighborhood, and by each test number Multiple data groups are divided into according to each intermediate data, calculate the matched curve of each data group.
Such as using each test data as sampled point, it is known that sampled point P0,P1,P2,...,Pn, find out respectively P0P1,P1P2,...,Pn-1PnMidpoint M1,M2,...,Mn.Successively with P0M1P1M2,M2P2M3P3,P3M4P4M5... one is drawn respectively The Bezier curve of item three times, successively goes down, if remaining less than four control points, add identical virtual point Pn+1= Pn, Mn+1=Pn, until meeting four strokes and dots, one Bezier curve, the accurate interpolation of the Bezier curve obtained in this way and two Endpoint and part intermediate point, and fragment one-time continuous.
Subelement 153 is determined, for forming a curve by the matched curve of each data group, and by composed curve Be determined as the test result of function to be tested, with by composed curve determine each test data and composed curve it Between relationship show the performance of function to be tested.Such as curve changes over time more acutely, illustrates the wave zone of test result Between it is larger, i.e., test result is unstable, and test data then illustrates that test result is more reliable near curve;If with song The distance between line is larger, then illustrates that test result is not reliable, illustrates from there through the stability and reliable degree of test result Performance of the function to be tested under testing scheme realizes the automatic assessment for treating test function.
From above-mentioned technical proposal it is found that being surveyed in the case where getting the functional test request of terminal transmission based on function First setting information of the terminal that examination request carries determines whole for treating at least one target that test function is tested End, and determine the configuration information of function to be tested, the configuration information of the function to be tested is sent to terminal and at least one mesh Mark terminal, wherein the configuration information of function to be tested corresponds to a kind of testing scheme of function to be tested, thus can simultaneously by Different configuration informations are sent to different terminal and target terminal, realize the concurrent testing to a variety of testing schemes.And it is sending out After sending configuration information, it can obtain terminal and at least one target terminal is respectively sent based on function to be tested with confidence The test data that breath obtains after being tested is based on each test data obtained, obtains the test result of function to be tested, Show the performance of function to be tested with the test result by function to be tested, realizes commenting automatically for the performance for treating test function Estimate, to exclude the subjective consciousness of user, thus improves the accuracy for treating test function assessment.
Since server can correspond to different configuration informations for different testing schemes, surveyed getting function for the first time In the case where examination request, a configuration information can be chosen and be sent to terminal and at least one target terminal, and taken second place first After get functional test request when, the functional test request in can carry configuration information, determining function to be tested in this way When the configuration information of energy, whether the configuration information that can determine that functional test request carries first is that the newest of function to be tested is matched Confidence breath;If entrained configuration information is the latest configuration information of function to be tested, terminal and at least one target are notified Terminal still uses entrained configuration information;If entrained configuration information is not the latest configuration information of function to be tested, The latest configuration information for determining function to be tested is the configuration information of function to be tested.
For carrying configuration information whether be function to be tested latest configuration information determination: configuration information can be passed through Time come compare or comparison by each configuration parameter in configuration information depending on, this present embodiment is no longer carried out in detail It states.
Corresponding, device for testing functions provided in this embodiment can also include: information fusion unit, in determination In the case where the corresponding APP upgrading of function to be tested, used before the default configuration information and upgrading after APP is upgraded with confidence Breath is merged, and the configuration information of each function to be tested in APP is obtained.Wherein the default configuration information after APP upgrading is APP The corresponding configuration information of identified testing scheme after upgrading, with demonstrate the need for which function to be tested after upgrading to APP into Row test.
In the present embodiment, the configuration information used before the default configuration information and upgrading after APP being upgraded merges Mode have but be not limited to: the corresponding function to be tested of the configuration information that uses before default configuration information and upgrading is compared It is right, if some configuration information in the configuration information used before some function to be tested and upgrading is corresponding, and believe with default configuration Any configuration information in breath does not correspond to, then deletes the configuration information in the configuration information used before upgrading with the function to be tested It removes, it, will be in default configuration information if some function to be tested changes or some function to be tested is increased function Be written to before upgrading in the configuration information that uses with the configuration information of the function to be tested, so subsequent progress functional test when can It is further to rise to get the configuration information for the function to be tested of being tested from the configuration information used before upgrading The configuration information used before grade can be written into configuration file.
Furthermore the embodiment of the present invention also provides another device for testing functions, which is applied in terminal, It may include: transmission unit 21, obtaining unit 22 and test cell 23.
Transmission unit 21, for server sending function test request, carrying the of terminal in functional test request One setting information, the first setting information are used to determine at least one target tested for treating test function by server Terminal.Such as can be and choose a kind of function from the function that principal and subordinate APP has by terminal in the case where terminal starts APP, Selected function can then be considered as the function to be tested of terminal, and be asked by means of the test of terminal to server sending function It asks, test function is treated with request and is tested.On how determining that target terminal is referred to based on the first setting information The explanation in embodiment of the method is stated, this present embodiment is no longer illustrated.
Obtaining unit 22, the configuration information of the function to be tested for obtaining server transmission, the configuration of function to be tested Information corresponds to a kind of testing scheme of function to be tested, and the configuration information of function to be tested also passes through server and is sent at least One target terminal.It, can be from the difference test of the function to be tested if server is after getting any functional test request In the corresponding configuration information of scheme, a configuration information is randomly selected, or according to the corresponding configuration information of different testing schemes Sequence successively choose a configuration information.And why the configuration information of function to be tested is sent to terminal and its simultaneously His target terminal, be in order to which the configuration information for being common based on the same function to be tested by multiple terminals is tested, with Prevent the inaccuracy and unreliability of single test.
Test cell 23 is tested for the configuration information based on function to be tested, obtains test data.
Transmission unit 21 is also used to test data being sent to server, so that server is based on test data and mesh Mark the test data that terminal is sent, obtain the test result of function to be tested, the test result of function to be tested for show to The performance of test function.
Transmission unit 21 can carry out the upper of a test data after test cell 23 every time test in the present embodiment Report, if test cell 23 can be based on configuration information at interval of preset time and once be tested in practical application, such as daily It is once tested based on configuration information, obtains test data in test Shi Junhui every time in this way, then pass through transmission unit 21 Test data is reported into server.
And in order to guarantee that each test data can successfully report to server, transmission unit 21 can be by test data It is first stored in the memory space of terminal, it, should from memory space after detecting that test data successfully reports in hard disk Test data is deleted, and thus can guarantee that test data can be multiple in the communication abnormality between terminal and server It reports until success.And storage cap can also be arranged in memory space, when storage test data be more than storage cap, then need Data deletion is carried out according to the sequence of the acquisition time (i.e. terminal test obtain data time) of test data, so that newly Test data can be normally written in memory space.
Herein it should be noted is that: due to a function to be tested test data there may be repeat report, It can be also needed in the present embodiment thus because network reason causes to repeat to report to test number such as in a test process According to whether repeating to report and being monitored, need to carry out the duplicate removal processing of test data if monitoring to repeat to report.Wherein monitor Whether be by the ID of test data realized, often obtain a test data and once reported, if monitoring if repeating to report The a plurality of test data of the same ID is then considered as repetition and reports.It furthermore can be in addition to the ID of test data, in the present embodiment The ID of terminal is obtained, in order to the management of configuration information and test data to the same terminal, the wherein generation of the ID of terminal Rule is but is not limited to: a unique ID generated when App is installed for the first time, keeps the ID of terminal constant when APP upgrading, The ID of terminal is regenerated if reinstalling after APP unloading.The time between terminal and server can additionally be carried out Calibration, to guarantee the consistency of the time between terminal and server, calibration process is following but is not limited to such as under type:
When terminal obtains configuration information, calibration value △=server time stamp-equipment timestamp is calculated;In test data When generation, time value after record calibration are as follows: the sum of equipment timestamp and calibration value △.
Each test data obtained is based on for server, the process for obtaining the test result of function to be tested please join The related description in above method embodiment is read, this present embodiment is no longer illustrated.
From above-mentioned technical proposal it is found that in the case where terminal sending function test request, it can be determined by server The configuration information of function to be tested and other target terminals that test function is tested are treated together with terminal, so that clothes The test data that the available terminal of business device and target terminal are obtained after being tested based on configuration information, such server can be with Based on each test data obtained, the test result of function to be tested is obtained, to pass through the test result of function to be tested Show the performance of function to be tested, realizes the automatic assessment for treating the performance of test function, so that the subjective consciousness of user is excluded, Thus the accuracy for treating test function assessment is improved.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of function test method, which is characterized in that the described method includes:
The functional test request that terminal is sent is obtained, the first setting letter based on the terminal that functional test request carries Breath determines at least one target terminal tested for treating test function;
Determine that the configuration information of the function to be tested, the configuration information of the function to be tested correspond to the function to be tested A kind of testing scheme;
The configuration information of the function to be tested is sent to the terminal and at least one described target terminal;
Obtain the terminal and test data that at least one described target terminal is respectively sent, the test data is by any end End group obtains after the configuration information of the function to be tested is tested;
Based on each test data obtained, the test result of the function to be tested, the survey of the function to be tested are obtained Test result is used to show the performance of the function to be tested.
2. the method according to claim 1, wherein the end carried based on functional test request First setting information at end, it is determining to include: for treating at least one target terminal that test function is tested
Second setting information of each terminal set in terminal set library is compared with first setting information, is obtained Each second setting information identical at least part of the information in first setting information;
Based on the priority of information different in obtained each second setting information, from obtained each second setting information Target terminal set is determined in corresponding terminal set;
Each terminal in the target terminal set is identified as to the mesh for being used to test the function to be tested Mark terminal.
3. obtaining institute the method according to claim 1, wherein described be based on each test data obtained The test result for stating function to be tested includes:
With the test data corresponding acquisition time, each test data obtained is arranged;
Calculate the intermediate data of two test datas of arbitrary neighborhood;
Each test data and each intermediate data are divided into multiple data groups, and the fitting for calculating each data group is bent Line;
One curve is formed by the matched curve of each data group, and composed curve is determined as the function to be tested The test result of energy, to determine the relation table between each test data and composed curve by composed curve The performance of the bright function to be tested.
4. the method according to claim 1, wherein the configuration information packet of the determination function to be tested It includes:
Determine configuration information that functional test request carries whether be the function to be tested latest configuration information;
If entrained configuration information be the function to be tested latest configuration information, notify the terminal and it is described at least One target terminal still uses entrained configuration information;
If entrained configuration information is not the latest configuration information of the function to be tested, it is determined that the function to be tested Latest configuration information is the configuration information of the function to be tested.
5. according to the method described in claim 4, it is characterized in that, the method also includes: determining the function to be tested In the case where corresponding application program updating, match what is used before the default configuration information and upgrading after the application program updating Confidence breath is merged, and the configuration information of each function to be tested in the application program is obtained.
6. a kind of function test method, which is characterized in that the described method includes:
To server sending function test request, the first setting information of terminal is carried in the functional test request, it is described First setting information is used to determine at least one target terminal tested for treating test function by the server;
The configuration information for the function to be tested that the server is sent is obtained, the configuration information of the function to be tested is corresponding A kind of testing scheme of the function to be tested, and the configuration information of the function to be tested also passes through the server and is sent to At least one described target terminal;
Configuration information based on the function to be tested is tested, and test data is obtained;
The test data is sent to the server, so that the server is based on the test data and the target The test data that terminal is sent, obtains the test result of the function to be tested, the test result of the function to be tested is used for Show the performance of the function to be tested.
7. a kind of device for testing functions, which is characterized in that described device includes:
Acquiring unit, for obtaining the functional test request of terminal transmission;
Determination unit, for based on the functional test request carry the terminal the first setting information, determine for pair At least one target terminal that function to be tested is tested, and the configuration information for determining the function to be tested, institute The configuration information for stating function to be tested corresponds to a kind of testing scheme of the function to be tested;
Transmission unit, the configuration information for sending the function to be tested are whole to the terminal and at least one described target End;
Obtaining unit, the test data for obtaining the terminal and at least one described target terminal is respectively sent, the survey Examination data are obtained after being tested by any terminal based on the configuration information of the function to be tested;
Test cell obtains the test result of the function to be tested for being based on each test data obtained, it is described to The test result of test function is used to show the performance of the function to be tested.
8. device according to claim 7, which is characterized in that the determination unit, being specifically used for will be in terminal set library The second setting information of each terminal set be compared with first setting information, obtain and first setting information In identical each second setting information of at least part of the information, based on information different in obtained each second setting information Priority, determine target terminal set from the corresponding terminal set of obtained each second setting information, and by institute It states each terminal in target terminal set and is identified as target terminal for being tested the function to be tested.
9. device according to claim 7, which is characterized in that the test cell, comprising:
Subelement is arranged, for the test data corresponding acquisition time, each test data obtained to be arranged Column;
Computation subunit, the intermediate data of two test datas for calculating arbitrary neighborhood, and by each test data Multiple data groups are divided into each intermediate data, calculate the matched curve of each data group;
Determine subelement, for forming a curve by the matched curve of each data group, and composed curve is true Be set to the test result of the function to be tested, with by composed curve determine each test data with it is composed Relationship between curve shows the performance of the function to be tested.
10. a kind of device for testing functions, which is characterized in that described device includes:
Transmission unit, for carrying the first of terminal in the functional test request to server sending function test request Setting information, first setting information are used to determine tested for treating test function at least one by the server A target terminal;
Obtaining unit, for obtaining the configuration information for the function to be tested that the server is sent, the function to be tested Configuration information correspond to a kind of testing scheme of the function to be tested, and the configuration information of the function to be tested also passes through institute It states server and is sent at least one described target terminal;
Test cell is tested for the configuration information based on the function to be tested, obtains test data;
The transmission unit is also used to the test data being sent to the server, so that the server is based on institute The test data for stating test data and target terminal transmission, obtains the test result of the function to be tested, described to be measured The test result of examination function is used to show the performance of the function to be tested.
CN201811295044.6A 2018-11-01 2018-11-01 A kind of function test method and device Pending CN109446050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811295044.6A CN109446050A (en) 2018-11-01 2018-11-01 A kind of function test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811295044.6A CN109446050A (en) 2018-11-01 2018-11-01 A kind of function test method and device

Publications (1)

Publication Number Publication Date
CN109446050A true CN109446050A (en) 2019-03-08

Family

ID=65549465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811295044.6A Pending CN109446050A (en) 2018-11-01 2018-11-01 A kind of function test method and device

Country Status (1)

Country Link
CN (1) CN109446050A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377512A (en) * 2019-07-12 2019-10-25 广州华多网络科技有限公司 Method, apparatus, server and the storage medium of test application program
CN117234951A (en) * 2023-11-13 2023-12-15 建信金融科技有限责任公司 Function test method and device of application system, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060122913A1 (en) * 2004-11-23 2006-06-08 International Business Machines Corporation Generating performance workload definitions with shopping cart software
CN104461898A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Application testing method, center control server, test terminal and system
CN107145446A (en) * 2017-05-08 2017-09-08 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN108228465A (en) * 2018-01-18 2018-06-29 北京网信云服信息科技有限公司 A kind of Software function test method and device
CN108628712A (en) * 2018-05-14 2018-10-09 平安科技(深圳)有限公司 A kind of applied program testing method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060122913A1 (en) * 2004-11-23 2006-06-08 International Business Machines Corporation Generating performance workload definitions with shopping cart software
CN104461898A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Application testing method, center control server, test terminal and system
CN107145446A (en) * 2017-05-08 2017-09-08 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN108228465A (en) * 2018-01-18 2018-06-29 北京网信云服信息科技有限公司 A kind of Software function test method and device
CN108628712A (en) * 2018-05-14 2018-10-09 平安科技(深圳)有限公司 A kind of applied program testing method and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377512A (en) * 2019-07-12 2019-10-25 广州华多网络科技有限公司 Method, apparatus, server and the storage medium of test application program
CN117234951A (en) * 2023-11-13 2023-12-15 建信金融科技有限责任公司 Function test method and device of application system, computer equipment and storage medium
CN117234951B (en) * 2023-11-13 2024-01-30 建信金融科技有限责任公司 Function test method and device of application system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107194743B (en) A kind of network surveying questionnaire generation method and device
CN108959059B (en) Test method and test platform
US11669420B2 (en) Monitoring performance of computing systems
CN109062809A (en) Method for generating test case, device and electronic equipment on a kind of line
US20150112900A1 (en) Time-series data prediction device, time-series data prediction method, and program
CN104013410B (en) Audio frequency playing method, Apparatus and system
CN108880931A (en) Method and apparatus for output information
CN109542712B (en) Server pressure testing method and device, computer equipment and storage medium
CN106598822B (en) A kind of abnormal deviation data examination method and device for Capacity Assessment
CN109426593A (en) The method and apparatus of automatic evaluation system performance
US9721087B1 (en) User authentication
CN108319550A (en) A kind of test system and test method
CN109582872A (en) A kind of information-pushing method, device, electronic equipment and storage medium
CN108459964A (en) Test cases selection method, apparatus, equipment and computer readable storage medium
CN109446050A (en) A kind of function test method and device
WO2021121296A1 (en) Exercise test data generation method and apparatus
CN107015900B (en) A kind of service performance prediction technique of video website
CN110580217B (en) Software code health degree detection method, processing method, device and electronic equipment
CN107957988A (en) For determining the method, apparatus and electronic equipment of data exception reason
EP2113874A1 (en) Method and system for monitoring computer-implemented processes
US20230172555A1 (en) Sensor error mitigation
CN109299859A (en) Evaluating method, device, equipment and the storage medium of data
US20110173559A1 (en) Method and system for publishing an online post from a device
CN110764900A (en) Data distribution test method and device under high concurrency, terminal and storage medium
CN106887184B (en) Route update method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication