CN109189689A - Method and apparatus for test - Google Patents
Method and apparatus for test Download PDFInfo
- Publication number
- CN109189689A CN109189689A CN201811066936.9A CN201811066936A CN109189689A CN 109189689 A CN109189689 A CN 109189689A CN 201811066936 A CN201811066936 A CN 201811066936A CN 109189689 A CN109189689 A CN 109189689A
- Authority
- CN
- China
- Prior art keywords
- departure
- parameter value
- user identifier
- preset function
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Abstract
The embodiment of the present application discloses the method and apparatus for test.One specific embodiment of this method include: obtain predefined parameter with associated first parameter value of the first user identifier group, predefined parameter with associated second parameter value of second user mark group and predefined parameter and the associated third parameter value of third user identifier group, first departure of the third parameter value relative to the first parameter value is determined according to the first parameter value and third parameter value, and second departure of second parameter value relative to the first parameter value is determined according to the first parameter value and the second parameter value;The test result for being directed to preset function is generated according to the first departure and the second departure.This embodiment offers the testing mechanisms that a kind of departure based between three groups of parameter values determines test result, improve the accuracy of test result.
Description
Technical field
The invention relates to field of computer technology, the method and apparatus more particularly, to tested.
Background technique
The owner of website or application is intended to visitor being capable of the website or application as much as possible using oneself.In order to
It achieves the desired purpose, most of websites all constantly can carry out correcting and optimization to Website page, design correcting scheme, and to changing
Version scheme is tested.
At present when test correcting scheme, after mainly passing through trial operation correcting scheme for a period of time, observes website or application is
The no promotion obtained on operation data, to determine test result.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for test.
In a first aspect, some embodiments of the present application provide a kind of method for test, it is applied to the network equipment, it should
Method include: obtain predefined parameter with associated first parameter value of the first user identifier group, predefined parameter with second
Associated second parameter value of user identifier group and predefined parameter with the associated third parameter value of third user identifier group,
In, the first parameter value, the second parameter value and third parameter value be based on respectively to the first user identifier group, second user mark group and
The data that the page that the corresponding user of user identifier in third user identifier group provides generates determine, to the first user identifier group
In the page that provides of the corresponding user of user identifier be the page without preset function, user's mark into second user mark group
Knowing the page that corresponding user provides is the page with preset function, and the user identifier into third user identifier group is corresponding
The page that user provides is the page with preset function or the page without preset function;According to the first parameter value and third parameter
It is worth the first departure for determining third parameter value relative to the first parameter value, and is determined according to the first parameter value and the second parameter value
Second departure of second parameter value relative to the first parameter value;It is generated according to the first departure and the second departure for default
The test result of function.
Second aspect, some embodiments of the present application provide a kind of device for test, which includes: to obtain list
Member, be configured to obtain predefined parameter with associated first parameter value of the first user identifier group, predefined parameter with
Associated second parameter value of two user identifier groups and predefined parameter with the associated third parameter value of third user identifier group,
Wherein, the first parameter value, the second parameter value and third parameter value are based on respectively to the first user identifier group, second user mark group
The data that the page that user corresponding with the user identifier in third user identifier group provides generates determine, to the first user identifier
The page that the corresponding user of user identifier in group provides is the page without preset function, the user into second user mark group
Identifying the page that corresponding user provides is the page with preset function, and the user identifier into third user identifier group is corresponding
User provide the page be the page with preset function or the page without preset function;Determination unit is configured to basis
First parameter value and third parameter value determine first departure of the third parameter value relative to the first parameter value, and according to the first ginseng
Numerical value and the second parameter value determine second departure of second parameter value relative to the first parameter value;Generation unit is configured to
The test result for being directed to preset function is generated according to the first departure and the second departure.
The third aspect, some embodiments of the present application provide a kind of equipment, comprising: one or more processors;Storage
Device is stored thereon with one or more programs, when said one or multiple programs are executed by said one or multiple processors,
So that said one or multiple processors realize such as the above-mentioned method of first aspect.
Fourth aspect, some embodiments of the present application provide a kind of computer-readable medium, are stored thereon with computer
Program realizes such as first aspect above-mentioned method when the program is executed by processor.
The method and apparatus provided by the above embodiment for test of the application, by obtain predefined parameter with the
Associated first parameter value of one user identifier group, predefined parameter with associated second parameter value of second user mark group and
Predefined parameter with the associated third parameter value of third user identifier group, determine according to the first parameter value and third parameter value
First departure of three parameter values relative to the first parameter value, and the second parameter is determined according to the first parameter value and the second parameter value
It is worth the second departure relative to the first parameter value;The survey for being directed to preset function is generated according to the first departure and the second departure
Test result provides the testing mechanism that a kind of departure based between three groups of parameter values determines test result, reduce because to
Measurement error caused by the disturbance of data that factor except brake change generates, improves the accuracy of test result.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that some of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for test of the application;
Fig. 3 is the test knot that generation is directed to preset function in some embodiments according to the method for test of the application
The flow chart of the step of fruit;
Fig. 4 is the test knot that generation is directed to preset function in some embodiments according to the method for test of the application
Another flow chart of the step of fruit;
Fig. 5 is the schematic diagram according to the application scenarios of one embodiment of the method for test of the application;
Fig. 6 is adapted for the structural representation for the computer system for realizing the network equipment of some embodiments of the present application
Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the example of the embodiment of the method or device for test for test of the application
Property system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101, network 102 and the network equipment 103.Network 102
To provide the medium of communication link between terminal device 101 and the network equipment 103.Network 102 may include various connections
Type, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101 and be interacted by network 102 with the network equipment 103, to receive or send message
Deng.Various client applications can be installed, for example, the application of browser class, the application of instant messaging class, electricity on terminal device 101
Sub- commercial affairs class application, the application of wireless access point class etc..
Terminal device 101 can be hardware, be also possible to software.When terminal device 101 is hardware, support can be i.e.
When communication function various electronic equipments, including but not limited to smart phone, tablet computer, pocket computer on knee and desk-top
Computer etc..When terminal device 101 is software, may be mounted in above-mentioned cited electronic equipment.It may be implemented
At multiple softwares or software module, single software or software module also may be implemented into.It is not specifically limited herein.
The network equipment 103 can be to provide the network equipment of various services, for example, available predefined parameter with
Associated first parameter value of one user identifier group, predefined parameter with associated second parameter value of second user mark group and
Predefined parameter with the associated third parameter value of third user identifier group, it is then true according to the first parameter value and third parameter value
Determine first departure of the third parameter value relative to the first parameter value, and determines second according to the first parameter value and the second parameter value
Second departure of the parameter value relative to the first parameter value, finally, being generated according to the first departure and the second departure for pre-
If the test result of function.The network equipment 103 can also obtain the access request of the transmission of terminal device 101, can in access request
To include user identifier, the corresponding page then is provided to terminal device 101 according to user identifier.
It should be noted that the network equipment 103 can be hardware, it is also possible to software.When the network equipment 103 is hardware
When, the distributed network equipment group of multiple network equipment compositions may be implemented into, single network equipment also may be implemented into.Work as net
When network equipment 103 is software, multiple softwares or software module (such as providing Distributed Services) may be implemented into, it can also be with
It is implemented as single software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for test can be executed by the network equipment 103.
It should be understood that the number of terminal device, network and the network equipment in Fig. 1 is only schematical.According to realization
It needs, can have any number of terminal device, network and the network equipment.
With continued reference to Fig. 2, the process 200 of one embodiment of the method for test according to the application is shown.It should
Method for test, comprising the following steps:
Step 201, obtain predefined parameter with associated first parameter value of the first user identifier group, predefined parameter
With joining with the associated third of third user identifier group for associated second parameter value of second user mark group and predefined parameter
Numerical value.
In the present embodiment, the network equipment (such as the network equipment shown in FIG. 1 for the method operation of test thereon
103) can obtain predefined parameter first with associated first parameter value of the first user identifier group, predefined parameter with
Associated second parameter value of two user identifier groups and predefined parameter with the associated third parameter value of third user identifier group,
Wherein, the first parameter value, the second parameter value and third parameter value are based on respectively to the first user identifier group, second user mark group
The data that the page that user corresponding with the user identifier in third user identifier group provides generates determine, to the first user identifier
The page that the corresponding user of user identifier in group provides is the page without preset function, the user into second user mark group
Identifying the page that corresponding user provides is the page with preset function, and the user identifier into third user identifier group is corresponding
User provide the page be the page with preset function or the page without preset function.In some embodiments, the page is rung
Access request of the Ying Yu from terminal device and be provided to user.
User identifier may include any information that can be used for identity user, as an example, can be telephone number, electricity
Mark, IP address or the network equipment for the terminal device that sub- mail address, user use are directed to each user institute according to preset rules
The mark of generation.The division rule of first user identifier group, second user mark group and third user identifier group can be according to reality
Border needs to be configured, for example, the user identifier that the access request received in preset time period can be included by the network equipment
It is random to divide to the first user identifier group, second user mark group and third user identifier group, the visit that will can also successively receive
Ask that the user identifier that request includes is divided to the first user identifier group, second user mark group and third user identifier group.In addition, also
Judgment step can be increased, determine the user identifier group belonging to it by judging whether user identifier meets preset condition, such as
User identifier is telephone number, and tail number 0,1,2,3 belongs to the first user identifier group, and tail number 4,5,6,7 belongs to second
User identifier group, tail number 8,9 belong to third user identifier group.
Predefined parameter may include any required parameter counted to it, as an example, in some embodiments,
Predefined parameter may include at least one of following: clicking rate, website conversion ratio, retention ratio, Add User number.Herein, point
The rate of hitting refers to the ratio between the number that a certain content is clicked in website or application page and shown number.Website conversion ratio can be
In the number of users of access application or website, the conversion ratio to place an order is as accessed in the accounting of the lower number of users for crossing order.Retention ratio
It may include that user begins to use product within certain time, after a period of time, continue to the user using the product
Account for the ratio for the number of users that this period increases newly.The number that Adds User may include using for the first time or the number of users of Registering product.
In addition, predefined parameter can also include characterization purchase 2 times and the number of users of the above number, the number of users for buying product is accounted for
Multiple purchase rate of ratio etc..
Predefined parameter with some associated parameter value of user identifier group, may include based on using in the user identifier group
Family identifies the parameter value of predefined parameter caused by the operation of corresponding user.As an example, predefined parameter includes website
Conversion ratio may include: the corresponding use of user identifier in the first user identifier group with the first associated parameter value of user identifier group
The accounting of the user of order was played in family.
Preset function can be new function to be added in the official release of website or application, can pass through test, prediction
The variation of predefined parameter after the function is online, so that it is determined that whether it has effect of optimization, if there is then can be formal online
This function.
Step 202, of third parameter value relative to the first parameter value is determined according to the first parameter value and third parameter value
One departure, and second deviation of second parameter value relative to the first parameter value is determined according to the first parameter value and the second parameter value
Amount.
In the present embodiment, the above-mentioned network equipment can be according to the first parameter value and third parameter obtained in step 201
It is worth the first departure for determining third parameter value relative to the first parameter value, and according to the first parameter value obtained in step 201
Second departure of second parameter value relative to the first parameter value is determined with the second parameter value.As an example, can be according to following
Formula calculates the first departure and the second departure: the first departure=second the-the first parameter value of parameter value;Second departure=
The-the first parameter value of third parameter value.
Step 203, the test result for being directed to preset function is generated according to the first departure and the second departure.
In the present embodiment, the above-mentioned network equipment can be according to the first departure and the second deviation determined in step 202
Amount generates the test result for being directed to preset function.In existing test method, trial operation correcting scheme net afterwards for a period of time is only observed
It stands or applies the promotion whether obtained on operation data, and the present embodiment not only compares the data before and after correcting, also sets up three
A control group is judged whether correcting can obtain the promotion in data by comparing the departure formed between any two, is kept away with this
The inaccuracy of test result caused by having exempted from because of data fluctuations.Specifically, the above-mentioned network equipment can be by comparing the first deviation
The size of amount and the second departure calculates the modes such as the ratio of the first departure and the second departure, obtains for preset function
Test result.
In some embodiments, the page that the corresponding user of user identifier into third user identifier group provides is without pre-
If the page of function;And above-mentioned steps 203 may include: to compare the size of the first departure Yu the second departure.As showing
Example can pass through the size relation of positive and negative determining the two of the difference between the two.
In some embodiments, after the size for comparing the first departure and the second departure, above-mentioned steps 203 can be with
It include: to generate the test result that instruction preset function has effect of optimization less than the second departure in response to the first departure, or ring
The second departure should be not less than in the first departure, generating instruction preset function does not have the test result of effect of optimization.First partially
Residual quantity illustrates that the promotion of parameter preset caused by preset function is greater than normal data fluctuations less than the second departure, i.e., default function
There can be effect of optimization, so as to improve the accuracy of test.
It is according to the application for generating in some embodiments of the method for test for default with continued reference to Fig. 3, Fig. 3
The flow chart of the step of test result of function.What the corresponding user of user identifier into third user identifier group provided
When the page is the page without preset function, above-mentioned steps 203 may include step 2031, step 2032, step 2033, in which:
Step 2031, compare the size of the first departure Yu the second departure.
Step 2032, in response to the first departure less than the second departure, and between the first departure and the second departure
Difference be greater than preset first threshold value, generating instruction preset function has the test result of effect of optimization.
First threshold can be configured according to actual needs, and biggish first threshold can be set when testing more stringent
Value.
Step 2033, in response to the first departure not less than the second departure or the first departure less than the second departure,
But the difference between the first departure and the second departure is not more than preset first threshold value, generates instruction preset function and does not optimize
The test result of effect.
Raising judges whether the difference between the first departure and the second departure is greater than preset first threshold value, further area
The promotion and normal data fluctuations of parameter preset caused by preset function are divided, so that determines has effect of optimization
Test result is more accurate.
It is according to the application for generating in some embodiments of the method for test for default with continued reference to Fig. 4, Fig. 4
Another flow chart of the step of test result of function.The corresponding user of user identifier into third user identifier group provides
Page when being the page without preset function, above-mentioned steps 203 also may include step 2034, step 2035, step 2036,
In:
Step 2034, the ratio of the second departure and the first departure is calculated.
Step 2035, it is greater than default second threshold in response to ratio, generates the test that instruction preset function has effect of optimization
As a result.
Second threshold can be configured according to actual needs, for example, second threshold may include 1, be tested more stringent
When biggish second threshold can be set, for example, 1.2.
Step 2036, it is not more than default second threshold in response to ratio, generating instruction preset function does not have effect of optimization
Test result.
In some embodiments, the page that the corresponding user of user identifier into third user identifier group provides be with
The page of preset function, above-mentioned steps 203 may include: to be all larger than default third in response to the first departure and the second departure
Threshold value generates the test result that instruction preset function has effect of optimization, or little in response to the first departure or the second departure
In default third threshold value, generating instruction preset function does not have the test result of effect of optimization.Third threshold value can be according to practical need
It is configured, biggish third threshold value can be set when testing more stringent.Reduce the promotion of the parameter value of parameter preset
A possibility that being as caused by data fluctuations, further improves the accuracy of test result.
It is to be shown according to the application for the application scenarios of one embodiment of the method for test with continued reference to Fig. 5, Fig. 5
It is intended to.In the application scenarios of Fig. 5, the user identifier of user is divided to the first user identifier group 502, second in user group 501
User identifier group 503, third user identifier group 504.Wherein, the corresponding use of user identifier into the first user identifier group 502
The page that family provides is the page without preset function, and the corresponding user of user identifier into second user mark group 503 provides
The page be the page with preset function, the page that the corresponding user of user identifier into third user identifier group 504 provides
Face is the page with preset function or the page without preset function.The network equipment obtains marking with the first user for predefined parameter
Associated first parameter value 505 of knowledge group 502, predefined parameter with associated second parameter value 506 of second user mark group 503
And predefined parameter with the associated third parameter value 507 of third user identifier group 504, then according to the first parameter value 505
First departure 509 of the third parameter value 507 relative to the first parameter value 505 is determined with third parameter value 507, and according to first
Parameter value 505 and the second parameter value 506 determine second departure 508 of second parameter value 506 relative to the first parameter value 505,
The test result 510 for being directed to preset function is finally generated according to the first departure 508 and the second departure 509.
The method provided by the above embodiment of the application is by obtaining being associated with the first user identifier group for predefined parameter
The first parameter value, predefined parameter with associated second parameter value of second user mark group and predefined parameter and
The associated third parameter value of three user identifier groups determines third parameter value relative to according to the first parameter value and third parameter value
First departure of one parameter value, and determine the second parameter value relative to the first parameter according to the first parameter value and the second parameter value
Second departure of value;The test result for being directed to preset function is generated according to the first departure and the second departure, provides one
Kind determines the testing mechanism of test result based on the departure between three groups of parameter values, improves the accuracy of test result.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the network equipment for being suitable for being used to realize the embodiment of the present application
Structural schematic diagram.The network equipment shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
It can connect with lower component to I/O interface 605: the importation 606 including keyboard, mouse etc.;Including all
The output par, c 607 of such as cathode-ray tube (CRT), liquid crystal display (LCD) and loudspeaker etc.;Storage including hard disk etc.
Part 608;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 passes through
Communication process is executed by the network of such as internet.Driver 610 is also connected to I/O interface 605 as needed.Detachable media
611, such as disk, CD, magneto-optic disk, semiconductor memory etc., are mounted on as needed on driver 610, in order to from
The computer program read thereon is mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer-readable medium either the two any combination.Computer-readable medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires
Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has
Shape medium, the program can be commanded execution system, device or device use or in connection.And in the application
In, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, wherein
Carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to electric
Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Jie
Any computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instruction
Row system, device or device use or program in connection.The program code for including on computer-readable medium
It can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any conjunction
Suitable combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as C language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include acquiring unit, determination unit and generation unit.Wherein, the title of these units is not constituted under certain conditions to the unit
The restriction of itself, for example, generation unit is also described as " being configured to be generated according to the first departure and the second departure
For the unit of the test result of preset function ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device: obtain predefined parameter with associated first parameter value of the first user identifier group, predefined parameter and second user
Associated second parameter value of mark group and predefined parameter with the associated third parameter value of third user identifier group, according to
One parameter value and third parameter value determine first departure of the third parameter value relative to the first parameter value, and according to the first parameter
Value and the second parameter value determine second departure of second parameter value relative to the first parameter value;According to the first departure and second
Departure generates the test result for being directed to preset function.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (9)
1. a kind of method for test is applied to the network equipment, comprising:
Obtain predefined parameter uses with associated first parameter value of the first user identifier group, the predefined parameter with second
Associated second parameter value of family mark group and the predefined parameter with the associated third parameter value of third user identifier group,
Wherein, first parameter value, second parameter value and the third parameter value are based on respectively to first user identifier
The page that the corresponding user of user identifier in group, the second user mark group and the third user identifier group provides generates
Data determine that the page that the corresponding user of user identifier into the first user identifier group provides is without preset function
The page, the page that the corresponding user of user identifier into the second user mark group provides is with the preset function
The page, the page that the corresponding user of user identifier into the third user identifier group provides is with the preset function
The page or the page without the preset function;
Determine the third parameter value relative to first parameter value according to first parameter value and the third parameter value
The first departure, and determine second parameter value relative to described according to first parameter value and second parameter value
Second departure of the first parameter value;
The test result for being directed to the preset function is generated according to first departure and second departure.
2. according to the method described in claim 1, wherein, the predefined parameter includes at least one of the following: clicking rate, website
Conversion ratio, retention ratio, Add User number.
3. according to the method described in claim 1, wherein, the corresponding user of user identifier into the third user identifier group
The page of offer is the page without the preset function;And
It is described that the test result for being directed to the preset function, packet are generated according to first departure and second departure
It includes:
Compare the size of first departure Yu second departure.
4. according to the method described in claim 3, wherein, first departure is big with second departure
It is described that the test result for being directed to the preset function is generated according to first departure and second departure after small,
Further include:
It is less than second departure in response to first departure, generates the survey for indicating that the preset function has effect of optimization
Test result, or
It is not less than second departure in response to first departure, generates and indicate that the preset function does not have effect of optimization
Test result.
5. according to the method described in claim 4, wherein, first departure is big with second departure
It is described that the test result for being directed to the preset function is generated according to first departure and second departure after small,
Further include:
Be less than second departure in response to first departure, and first departure and second departure it
Between difference be greater than preset first threshold value, generate the test result for indicating that the preset function has effect of optimization, or
It is less than second deviation not less than second departure or first departure in response to first departure
Amount, but the difference between first departure and second departure is not more than preset first threshold value, generates described in instruction
Preset function does not have the test result of effect of optimization.
6. according to the method described in claim 1, wherein, the corresponding user of user identifier into the third user identifier group
The page of offer is the page without the preset function;And
It is described that the test result for being directed to the preset function, packet are generated according to first departure and second departure
It includes:
Calculate the ratio of second departure Yu first departure;
It is greater than default second threshold in response to the ratio, generates the test result for indicating that the preset function has effect of optimization,
Or
It is not more than default second threshold in response to the ratio, generates and indicate that the preset function does not have the test knot of effect of optimization
Fruit.
7. according to the method described in claim 1, wherein, the corresponding user of user identifier into the third user identifier group
The page of offer is the page with the preset function;And
It is described that the test result for being directed to the preset function, packet are generated according to first departure and second departure
It includes:
It is all larger than default third threshold value in response to first departure and second departure, generates and indicates the default function
There can be the test result of effect of optimization, or
It is not more than default third threshold value in response to first departure or second departure, generates and indicate the default function
Can not no effect of optimization test result.
8. a kind of network equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-7.
9. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Method of the Shi Shixian as described in any in claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811066936.9A CN109189689B (en) | 2018-09-13 | 2018-09-13 | Method and apparatus for testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811066936.9A CN109189689B (en) | 2018-09-13 | 2018-09-13 | Method and apparatus for testing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109189689A true CN109189689A (en) | 2019-01-11 |
CN109189689B CN109189689B (en) | 2021-08-17 |
Family
ID=64910564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811066936.9A Active CN109189689B (en) | 2018-09-13 | 2018-09-13 | Method and apparatus for testing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189689B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150347276A1 (en) * | 2014-05-27 | 2015-12-03 | International Business Machines Corporation | Screenshot validation testing |
WO2015192734A1 (en) * | 2014-06-18 | 2015-12-23 | Tencent Technology (Shenzhen) Company Limited | Information processing method and apparatus |
CN106503787A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method for obtaining game data and electronic equipment |
CN106776337A (en) * | 2016-12-29 | 2017-05-31 | 北京金山安全软件有限公司 | Performance analysis method and device and electronic equipment |
-
2018
- 2018-09-13 CN CN201811066936.9A patent/CN109189689B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150347276A1 (en) * | 2014-05-27 | 2015-12-03 | International Business Machines Corporation | Screenshot validation testing |
WO2015192734A1 (en) * | 2014-06-18 | 2015-12-23 | Tencent Technology (Shenzhen) Company Limited | Information processing method and apparatus |
CN106503787A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method for obtaining game data and electronic equipment |
CN106776337A (en) * | 2016-12-29 | 2017-05-31 | 北京金山安全软件有限公司 | Performance analysis method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109189689B (en) | 2021-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210326729A1 (en) | Recommendation Model Training Method and Related Apparatus | |
CN109460513A (en) | Method and apparatus for generating clicking rate prediction model | |
CN109308255A (en) | A kind of method and apparatus for A/B test experiments | |
US20220012772A1 (en) | Systems and methods for leveraging social queuing to identify and prevent ticket purchaser simulation | |
CN109426593A (en) | The method and apparatus of automatic evaluation system performance | |
CN109976997A (en) | Test method and device | |
US9639811B2 (en) | Systems and methods for leveraging social queuing to facilitate event ticket distribution | |
CN110149238A (en) | Method and apparatus for predicted flow rate | |
CN109582844A (en) | A kind of method, apparatus and system identifying crawler | |
CN109960650A (en) | Application assessment method, apparatus, medium and electronic equipment based on big data | |
CN106908082A (en) | Method, apparatus and system for the gyroscope in calibrating terminal | |
CN109491754A (en) | The performance test methods and device of virtual server | |
CN110427304A (en) | O&M method, apparatus, electronic equipment and medium for banking system | |
CN109284198A (en) | A kind of method and apparatus verifying data | |
US11657427B2 (en) | Systems and methods for leveraging social queuing to simulate ticket purchaser behavior | |
CN109325227A (en) | Method and apparatus for generating amendment sentence | |
CN111402000B (en) | Service page generation method, device and system and computer system | |
CN110245014A (en) | Data processing method and device | |
CN110708211B (en) | Network flow testing method and system | |
CN109189689A (en) | Method and apparatus for test | |
CN109840072A (en) | Information processing method and device | |
CN109388684A (en) | Method and apparatus for generating information | |
CN109271397A (en) | Method and apparatus for handling information | |
CN108898446B (en) | Method and apparatus for outputting information | |
CN113781084A (en) | Questionnaire display 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211223 Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, Pudong New Area pilot Free Trade Zone, Shanghai Patentee after: Shanghai Shangxiang Network Technology Co.,Ltd. Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd. |