CN104539481A - Website testing method and device - Google Patents

Website testing method and device Download PDF

Info

Publication number
CN104539481A
CN104539481A CN201410826096.7A CN201410826096A CN104539481A CN 104539481 A CN104539481 A CN 104539481A CN 201410826096 A CN201410826096 A CN 201410826096A CN 104539481 A CN104539481 A CN 104539481A
Authority
CN
China
Prior art keywords
shunting
version
version identifier
content
test webpage
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
CN201410826096.7A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410826096.7A priority Critical patent/CN104539481A/en
Publication of CN104539481A publication Critical patent/CN104539481A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides a website testing method and device. The website testing method includes the steps that diffluence information and diffluence logic are arranged on a tested webpage, the diffluence information comprises identifiers of all diffluence versions and diffluence rates of the diffluence versions corresponding to the respective diffluence version identifiers, the browser end obtains the tested webpage and the content of all the diffluence versions, the diffluence information and the diffluence logic are analyzed from the tested webpage, the diffluence version identifiers are determined according to the diffluence information and the diffluence logic, and the content of the diffluence versions, corresponding to the determined diffluence version identifiers, are presented on the tested webpage. By the application of the website testing method and device, a dedicated diffluence server is needless, and the expenditure problem of network communication and delay can be solved, and the cost is reduced.

Description

A kind of method and device testing website
Technical field
The invention belongs to internet data processing technology field, particularly a kind of method and device testing website.
Background technology
Along with the develop rapidly of computer technology and network technology, the effect that the Internet (Internet) technology plays in daily life, study and work is also increasing.And along with the development of mobile Internet, the Internet is also developing to mobile.In the current information age, various information equipment arises at the historic moment: have landline telephone, the mobile terminal for Tone Via; There are the server for information resources share, process and PC; There are various television sets shown for video data etc.These equipment all produce for solving actual demand in specific area.Along with the arrival that E-consumer, computer, communication (3C) are merged, attentiveness has been put in the research that fully utilizes the information equipment of each different field by people more and more, better serves to make full use of existing resource equipment for people.
A/B tests (A/B test), refer to website product be supplied to multiple user use time, by user by certain rule grouping (two or more sets), different exhibiting methods (namely presenting different version web page contents) is adopted to often organizing user, its operation behavior is compared mutually, result can draw a side even better (such as clicking rate higher, access time extends, shopping amount improve etc.), and that page just made good use of replaces the bad page.In ensuing development, constantly make to test in this way, if redaction there is no part of winning, then can silently withdraw from the arena, and most of user can not notice the page of this version, this has become the indispensable item of data drive type social science.For every test, shunting ratio is the probability that each version can be accessed.The shunting ratio sum of all versions of a test is 100%.Such as, a test has A version and B version, and A version shunting ratio is 30%, B version shunting ratio is 70%.Hit from multiple version, selects a version to present to the process of user at random by shunting ratio in A/B test.Such as, certain test has version A and version B, and the version that represents obtained when certain user uses is A, then A version hit.When being the A/B on webpage and testing, the corresponding one section of content (may be HTML code, a css or div) of a general version.When finally presenting to user, the part content that only display hit version is corresponding, and the content of other miss versions will not show.
In the prior art, special web application server is utilized to carry out A/B test shunting.Detecting information can be kept in Web application journey server, the shunting tested by web application server control A/B, namely be decided the version of hit when user accesses corresponding test products by web application server.This needs special programmed logic to realize usually, and feature is the accurate control (hit each time and all recorded by backstage and add up, the ratio realizing the access of each version constantly trends towards the shunting ratio of test setting) that can realize ratio.
But in this prior art, need to adopt special point streaming server, and want during shunting and shunting server communication, this just needs to produce the access to netwoks for shunting.If a point streaming server cannot be accessed, A/B will be caused to test cannot carry out, and will affect the normal use of product time serious.For the website that number of concurrent is higher, if adopt above-mentioned prior art to carry out A/B test, produce huge visit capacity and network delay expense by business website originally and a point streaming server, the access affecting normal users is experienced.
In addition, a special point streaming server is adopted also will inevitably to bring high Cost Problems.
Summary of the invention
Embodiment of the present invention proposes a kind of method of testing website, to reduce network delay expense.
Embodiment of the present invention proposes a kind of device testing website, to reduce network delay expense.
The technical scheme of embodiment of the present invention is as follows:
Test a method for website, the method comprises:
Test webpage arranges diffluent information and shunting logic, and described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately;
Browser end obtains the content of described test webpage and each shunting version, parses described diffluent information and shunting logic from described test webpage, determines to shunt version identifier according to described diffluent information and shunting logic;
Described test webpage presents the content of the shunting version corresponding to determined shunting version identifier.
The described diffluent information that arranges on test webpage comprises with shunting logic: in the HTML label of described test webpage, arrange diffluent information, arrange described shunting logic in the script of described test webpage.
Described according to described diffluent information and shunting logic determine shunting version identifier comprise:
According to the measuring accuracy determination number range pre-set, and in described number range, divide based on the shunting ratio of the shunting version corresponding to shunting version identifier separately the numerical value subrange corresponding to each shunting version identifier;
In described number range, generate random number, and determine corresponding shunting version identifier based on the numerical value subrange that this random number is hit.
The content of the shunting version that described test webpage presents corresponding to determined shunting version identifier comprises: the content being presented the shunting version corresponding to determined shunting version identifier by tandem CSS mode on described test webpage, and by the content of shunting version that described tandem CSS mode is hidden except this determined shunting version identifier corresponding to other shunting version identifiers on described test webpage.
The method comprises further: determined shunting version identifier described in buffer memory in a browser, and arranges the valid expiration date of this shunting version identifier;
After browser end obtains the content of described test webpage and each shunting version, and before parse described diffluent information and shunting logic from described test webpage, the method also comprises:
When judging that current time was within described valid expiration date, on described test webpage, directly present the content of the shunting version corresponding to shunting version identifier of institute's buffer memory, and process ends.
Test a device for website, comprise setting unit, shunting version identifier determining unit and content presentation unit, wherein:
Setting unit, for arranging diffluent information and shunting logic on test webpage, described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately;
Shunting version identifier determining unit, the content of described test webpage and each shunting version is obtained for enabled browsers end, from described test webpage, parse described diffluent information and shunting logic, determine to shunt version identifier according to described diffluent information and shunting logic;
Content presentation unit, for presenting the content of the shunting version corresponding to determined shunting version identifier on described test webpage.
Setting unit, for arranging diffluent information in the label of test webpage, arranges described shunting logic in the script of described test webpage.
Shunting version identifier determining unit, for the measuring accuracy determination number range that basis pre-sets, and in described number range, divide based on the shunting ratio of the shunting version corresponding to shunting version identifier separately the numerical value subrange shunting version identifier corresponding to each; In described number range, generate random number, and determine corresponding shunting version identifier based on the numerical value subrange that this random number is hit.
Content presentation unit, for being presented the content of the shunting version corresponding to determined shunting version identifier on described test webpage by tandem CSS mode, and by the content of shunting version that described tandem CSS mode is hidden except this determined shunting version identifier corresponding to other shunting version identifiers on described test webpage.
Shunting version identifier determining unit, also for determined shunting version identifier described in buffer memory in a browser, and arranges the valid expiration date of this shunting version identifier; After browser end obtains the content of described test webpage and each shunting version, and before parse described diffluent information and shunting logic from described test webpage, when judging that current time was within described valid expiration date, on described test webpage, directly present the content of the shunting version corresponding to shunting version identifier of institute's buffer memory, and process ends.
As can be seen from technique scheme, in embodiments of the present invention, test webpage arranges diffluent information and shunting logic, described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately; Browser end obtains the content of described test webpage and each shunting version, parses described diffluent information and shunting logic from described test webpage, determines to shunt version identifier according to described diffluent information and shunting logic; Described test webpage presents the content of the shunting version corresponding to determined shunting version identifier.As can be seen here, after application embodiment of the present invention, without the need to adopting special point streaming server again, but realize flow-dividing control at browser end, thus the higher website higher to access response rate request of Concurrency Access amount can be solved when carrying out A/B test, point streaming server controlling test produces the overhead issues of huge visit capacity and network communication, time delay, and can avoid back-end server problem, the availability of many websites itself and the impact of Consumer's Experience due to test.
In addition, due to without the need to adopting special point streaming server again, further reduces cost.
Accompanying drawing explanation
Fig. 1 is according to a kind of method flow diagram testing website of the present invention.
Fig. 2 is according to a kind of structure drawing of device testing website of the present invention.
Fig. 3 is the shunting process schematic diagram tested according to the website of embodiment of the present invention.
Fig. 4 presents the first schematic diagram for release content according to the present invention.
Fig. 5 presents the second schematic diagram for release content according to the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
Succinct and directly perceived in order to what describe, hereafter by description some representational execution modes, the solution of the present invention is set forth.Details a large amount of in execution mode only understands the solution of the present invention for helping.But these details can be not limited to when clearly, technical scheme of the present invention realizes.In order to avoid unnecessarily fuzzy the solution of the present invention, some execution modes do not describe meticulously, but only give framework.Hereinafter, " comprising " refers to " including but not limited to ", " according to ... " refer to " at least basis ..., but be not limited to only basis ... ".Due to the speech habits of Chinese, when hereinafter not particularly pointing out the quantity of a composition, mean that this composition can be one also can be multiple, or can be regarded as at least one.
It is higher that embodiment of the present invention can solve Concurrency Access amount, to the higher website of access response rate request when carrying out A/B test, the back-end server controlling test produces the overhead issues of huge visit capacity and network communication, time delay, and back-end server problem, the availability of many websites itself and the impact of Consumer's Experience due to test can be avoided.
Fig. 1 is according to a kind of method flow diagram testing website of the present invention.
As shown in Fig. 1, the method comprises:
Step 101: arrange diffluent information and shunting logic on test webpage, described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately.
Such as, test webpage can be pre-set on the Website server performing A/B test, test webpage arranges diffluent information and shunting logic, and wherein diffluent information comprises mark of each shunting version and corresponds to the shunting ratio of the shunting version shunting version identifier separately.
Step 102: browser end obtains the content of described test webpage and each shunting version, parses described diffluent information and shunting logic from described test webpage, determines to shunt version identifier according to described diffluent information and shunting logic.
Step 103: browser end presents the content of the shunting version corresponding to determined shunting version identifier on described test webpage.
In one embodiment:
The described diffluent information that arranges on test webpage comprises with shunting logic: in the HTML label of described test webpage, arrange diffluent information, arrange described shunting logic in the script of described test webpage.
In one embodiment:
Described according to described diffluent information and shunting logic determine shunting version identifier comprise:
According to the measuring accuracy determination number range pre-set, and in described number range, divide based on the shunting ratio of the shunting version corresponding to shunting version identifier separately the numerical value subrange corresponding to each shunting version identifier;
In described number range, generate random number, and determine corresponding shunting version identifier based on the numerical value subrange that this random number is hit.
In one embodiment:
The content of the shunting version that described test webpage presents corresponding to determined shunting version identifier comprises: the content being presented the shunting version corresponding to determined shunting version identifier by tandem CSS mode on described test webpage, and by the content of shunting version that described tandem CSS mode is hidden except this determined shunting version identifier corresponding to other shunting version identifiers on described test webpage.
In one embodiment:
The method comprises further: determined shunting version identifier described in buffer memory in a browser, and arranges the valid expiration date of this shunting version identifier;
After browser end obtains the content of described test webpage and each shunting version, and before parse described diffluent information and shunting logic from described test webpage, the method also comprises:
When judging that current time was within described valid expiration date, on described test webpage, directly present the content of the shunting version corresponding to shunting version identifier of institute's buffer memory, and process ends.
Based on above-mentioned labor, the invention allows for the device of a kind of website test.
Fig. 2 is the structure chart of the device according to website of the present invention test.
As shown in Fig. 2, this device comprises: setting unit 201, shunting version identifier determining unit 202 and content presentation unit 203, wherein:
Setting unit 201, for arranging diffluent information and shunting logic on test webpage, described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately;
Shunting version identifier determining unit 202, the content of described test webpage and each shunting version is obtained for enabled browsers end, from described test webpage, parse described diffluent information and shunting logic, determine to shunt version identifier according to described diffluent information and shunting logic;
Content presentation unit 203, for presenting the content of the shunting version corresponding to determined shunting version identifier on described test webpage.
In one embodiment:
Setting unit 201, for arranging diffluent information in the label of test webpage, arranges described shunting logic in the script of described test webpage.
In one embodiment:
Shunting version identifier determining unit 202, for the measuring accuracy determination number range that basis pre-sets, and in described number range, divide based on the shunting ratio of the shunting version corresponding to shunting version identifier separately the numerical value subrange shunting version identifier corresponding to each; In described number range, generate random number, and determine corresponding shunting version identifier based on the numerical value subrange that this random number is hit.
In one embodiment:
Content presentation unit 203, for being presented the content of the shunting version corresponding to determined shunting version identifier on described test webpage by tandem CSS mode, and by the content of shunting version that described tandem CSS mode is hidden except this determined shunting version identifier corresponding to other shunting version identifiers on described test webpage.
In one embodiment:
Shunting version identifier determining unit 202, also for determined shunting version identifier described in buffer memory in a browser, and arranges the valid expiration date of this shunting version identifier; After browser end obtains the content of described test webpage and each shunting version, and before parse described diffluent information and shunting logic from described test webpage, when judging that current time was within described valid expiration date, on described test webpage, directly present the content of the shunting version corresponding to shunting version identifier of institute's buffer memory, and process ends.
Specifically can realize the present invention by script modes such as Javascript.Fig. 3 is the flow-dividing control process schematic diagram tested according to the website of embodiment of the present invention.
First, at server end, the test webpage of A/B test arranges diffluent information and shunting logic, diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately.Such as, the shunting ratio and shunting version identifier that correspond to the shunting version of shunting version identifier separately can be arranged in web page tag, and shunting logic is arranged in page script (such as JavaScript).
User obtains the content of test webpage and each shunting version by browser.The JavaScript script acquisition shunting logic of test webpage can be resolved at browser end, and perform shunting according to shunting logic.Concrete steps are:
Browser detects in own cache the result (i.e. the mark of the shunting version of hit last time) whether having and shunted last time.If there is the shunting result of buffer memory, and this shunting result is within the valid period, then directly use this result, operates css and shows the content that last time hits shunting version, thus realize presenting of version by javascript.If there is no the shunting result of buffer memory, then call the mark that Diffluence Algorithm obtains hitting version, the mark of hit version is saved in the buffer memory of browser, and operates css to show the hit release content corresponding to this hit version identifier.
Such as, suppose that version to be shunted and corresponding shunting ratio are respectively:
Version A (shunting ratio: 10%); Version B (shunting ratio: 20%); Version C (shunting ratio: 30%); Version d (shunting ratio: 40%);
Limit version number >0, each version shunting ratio sum is 100%.
Require when without unified counting, n time (n>=10) request is carried out to the Random assignment of version, the result version probability of occurrence of Random assignment is close to its default shunting ratio, the true shunting ratio finally counted is less with the error of the ratio preset, then algorithm is better.
Implementation: draw the line by ratio, stochastic generation one random number during each shunting, by scope belonging to random number, determines the version shunted.
Step is as follows:
First, by precision determination total size, if required shunting ratio precision is one thousandth, then set the total size of 0 to 999.(experiment proves, precision increases contrast ratio control again error after reaching one thousandth does not reduce)
Then, divide version scope by ratio, for four versions above, draw the line:
Version A:0 ~ 99; According to total length 10%;
Version B:100 ~ 299; Total length 20%;
Version C:300 ~ 599; Account for total length 30%;
Version d: 600 ~ 999; Account for total length 40%.
Interval position wherein belonging to A, B, C, D version might not, but account for total length ratio need with shunting ratio identical.As above A can between occupied area 200 ~ 299; B can be 0 ~ 199 between occupied area.
In fact, can specifically implement by various ways the abnormality eliminating method that embodiment of the present invention proposes.
Then, generate the random integers of 0 ~ 999, it is interval which integer drops on, then return interval corresponding shunting version.If this generation random number is 888, so this shunting version is D.Particularly, the method generating random number can be: with the parseInt (1000*Math.random ()) of javascript.Math.random () method is the method that Javascript generates pseudo random number, the seed that this random algorithm uses uses the millisecond number of time, the value returned is the decimal of 0 to 1, re-use parseInt method and be converted into integer, finally this result is multiplied by 1000 again, obtains the random number generated.
Exemplarily:
Under the difference test order of magnitude, the example of test error is as follows:
(1), local test 10 shunting results:
Version A10% hit-count: 0
Version B20% hit-count: 3
At version C30% hit-count: 3
At version d 40% hit-count: 4
(2), local test 100 shunting results:
Version A10% hit-count: 8
Version B20% hit-count: 24
Version C30% hit-count: 36
Version d 40% hit-count: 32
(3), local test 1000 shunting results:
Version A (shunting ratio is 10%) hit-count: 102
Version B (shunting ratio is 20%) hit-count: 214
Version C (shunting ratio is 30%) hit-count: 303
Version d (shunting ratio is 40%) hit-count: 381
(4), local test 10000 shunting results:
Version A (shunting ratio is 10%) hit-count: 10117
Version B (shunting ratio is 20%) hit-count: 20030
Version C (shunting ratio is 30%) hit-count: 29930
Version d (shunting ratio is 40%) hit-count: 39923
(5), local test 10,000,000 shunting results:
Version A (shunting ratio is 10%) hit-count: 999351
Version B (shunting ratio is 20%) hit-count: 1998568
Version C (shunting ratio is 30%) hit-count: 3000022
Version d (shunting ratio is 40%) hit-count: 4002059
Can find out from experiment, shunting number of times is more than 10,000 times, and error is less, can apply this scheme.This programme for be high concurrent website, so experiment visit capacity all preferably meets the requirement of 10,000 times.
After having shunted, need shunting result to be saved in client this locality, the present invention can adopt the Web Storage of Html5 as shunting result cache, if browser does not support html5, then cookie can be adopted as shunting result cache.
When adopting localStorage as shunting result cache, js will be called when client first time access test website and realize random shunting, localStorage is used to store shunting result, use same browser access website afterwards, the shunting result used in LocalStorage is shunted.After user closes browser, localStorage is still effective, arranges the localStorage out-of-service time by js.Exemplarily, the out-of-service time can be arranged equal with the redis user's diffluent information cache-time tested set by website (such as 8 hours).Need not arrange the out-of-service time, experiment expired time obtains by the pseudo-attribute of label, if test expires, then deletes this buffer memory.
When LocalStorage do not supported by browser, cookie mechanism buffer memory shunting result can be used.Cookie expired time is the experiment end time, removes cookie when falling clearly localStorage simultaneously.
Exemplarily, the website test flow-dividing control method that the present invention proposes can be applicable to the Android/ios/ Saipan browser of the browser/flat-panel devices of the Android system/ios/ Saipan of the pc/ cell phone apparatus of windows system/mac system and intelligent wearable device, google glasses (glass), Samsung gear etc.
In embodiments of the present invention, preferably the content of all versions is included on test Webpage, but is all set to hide.After the mark being obtained hit version by the Diffluence Algorithm in script, change the content of corresponding version identifier for display.
Fig. 4 presents the first schematic diagram for release content according to the present invention.Fig. 5 presents the second schematic diagram for release content according to the present invention.
Fig. 4 is test webpage is loaded into browser initial condition from Website server.From Fig. 4, browser has obtained the content of version A, version B and version C, and by the content of version A, version B and version C be set to hide.
Fig. 5 is loaded into js script for test webpage, obtains after hit version is C, presenting to the state of user.As seen from Figure 5, having obtained hit version is C, then the content of version of display C within the test zone preset, and version A and version B content continue be set to hide.
In embodiments of the present invention, the version selection algorithm of the shunting that can use javascript to realize.Through test, the hit ratio of each version can be controlled well, to realize testing the shunting ratio preset.
After application embodiment of the present invention, when carrying out A/B test to the webpage of website, Calculation of the shunted current algorithm of the present invention, shunting result cache method and the implementation that presents of version can be utilized to realize the high efficiency shunting of website when getting along well other point of streaming server communication and to represent.
Above for Javascript, embodiment of the present invention is described in detail.It will be appreciated by those of skill in the art that this description is only exemplary, and be not used in the protection range of embodiment of the present invention is limited.
And, for the mode that version presents, the mode carrying out in Website server rear end selecting can be adopted, namely shunt in service end; Also the mutually nested mode of webpage can be used to realize, and the experimental section by webpage splits into multiple subpage frame by version, and be loaded into the subpage frame of corresponding version when hitting, this mode, after shunting completes, may produce the web-page requests new to subpage frame.
Such as, the application programming interfaces of certain specification can be followed, the flow-dividing control method that website is tested is written as the plug-in card program be installed in PC, mobile terminal etc., also can be encapsulated as application program and download use voluntarily for user.When being written as plug-in card program, the multiple card format such as ocx, dll, cab can be implemented as.Also the flow-dividing control method of the website test that embodiment of the present invention proposes can be implemented by the concrete technology such as Flash plug-in unit, RealPlayer plug-in unit, MMS plug-in unit, MIDI staff plug-in unit, ActiveX plug-in unit.
The flow-dividing control method of the website test that embodiment of the present invention is proposed by the storing mode that can be stored by instruction or instruction set is stored on various storage medium.These storage mediums include, but are not limited to: floppy disk, CD, DVD, hard disk, flash memory, U dish, CF card, SD card, mmc card, SM card, memory stick (Memory Stick), xD card etc.
In addition, the flow-dividing control method of the website test that embodiment of the present invention can also be proposed is applied in the storage medium based on flash memory (Nand flash), such as U dish, CF card, SD card, SDHC card, MMC card, SM card, memory stick, xD card etc.
In sum, in embodiments of the present invention, test webpage arranges diffluent information and shunting logic, described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately; Browser end obtains the content of described test webpage and each shunting version, parses described diffluent information and shunting logic from described test webpage, determines to shunt version identifier according to described diffluent information and shunting logic; Described test webpage presents the content of the shunting version corresponding to determined shunting version identifier.As can be seen here, after application embodiment of the present invention, without the need to adopting special point streaming server again, Concurrency Access amount can be solved higher, to the higher website of access response rate request when carrying out A/B test, point streaming server controlling test produces the overhead issues of huge visit capacity and network communication, time delay, and can avoid back-end server problem, the availability of many websites itself and the impact of Consumer's Experience due to test.
In addition, due to without the need to adopting special point streaming server again, further reduces cost.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. test the method for website for one kind, it is characterized in that, the method comprises: on test webpage, arrange diffluent information and shunting logic, and described diffluent information comprises each shunting version identifier and corresponds to the shunting ratio of the shunting version shunting version identifier separately; Browser end obtains the content of described test webpage and each shunting version, parses described diffluent information and shunting logic from described test webpage, determines to shunt version identifier according to described diffluent information and shunting logic; Described test webpage presents the content of the shunting version corresponding to determined shunting version identifier.
2. according to a kind of method of testing website described in claim 1, it is characterized in that, the described diffluent information that arranges on test webpage comprises with shunting logic: in the HTML label of described test webpage, arrange diffluent information, arrange described shunting logic in the script of described test webpage.
3. according to a kind of method of testing website described in claim 1, it is characterized in that, describedly determine that shunting version identifier comprises according to described diffluent information and shunting logic: according to the measuring accuracy determination number range pre-set, and divides in described number range based on the shunting ratio of the shunting version corresponding to separately shunting version identifier and correspond to the numerical value subrange that each shunts version identifier; In described number range, generate random number, and determine corresponding shunting version identifier based on the numerical value subrange that this random number is hit.
4. according to a kind of method of testing website described in claim 1, it is characterized in that, the content of the shunting version that described test webpage presents corresponding to determined shunting version identifier comprises: the content being presented the shunting version corresponding to determined shunting version identifier by tandem CSS mode on described test webpage, and by the content of shunting version that described tandem CSS mode is hidden except this determined shunting version identifier corresponding to other shunting version identifiers on described test webpage.
5. a kind of method of testing website according to claim 1, it is characterized in that, it is characterized in that, the method comprises further: determined shunting version identifier described in buffer memory in a browser, and arranges the valid expiration date of this shunting version identifier; After browser end obtains the content of described test webpage and each shunting version, and before parse described diffluent information and shunting logic from described test webpage, the method also comprises: when judging that current time was within described valid expiration date, on described test webpage, directly present the content of the shunting version corresponding to shunting version identifier of institute's buffer memory, and process ends.
CN201410826096.7A 2014-12-26 2014-12-26 Website testing method and device Pending CN104539481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410826096.7A CN104539481A (en) 2014-12-26 2014-12-26 Website testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410826096.7A CN104539481A (en) 2014-12-26 2014-12-26 Website testing method and device

Publications (1)

Publication Number Publication Date
CN104539481A true CN104539481A (en) 2015-04-22

Family

ID=52854950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410826096.7A Pending CN104539481A (en) 2014-12-26 2014-12-26 Website testing method and device

Country Status (1)

Country Link
CN (1) CN104539481A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598741A (en) * 2016-12-16 2017-04-26 飞狐信息技术(天津)有限公司 Distributed type A/B test method, system and video recommendation system for personalized recommendation system
CN109120720A (en) * 2018-09-28 2019-01-01 北京云测信息技术有限公司 A method of automatic adjustment version tests flow
CN112487323A (en) * 2019-09-11 2021-03-12 北京沃东天骏信息技术有限公司 Webpage experimental method and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010077357A1 (en) * 2009-01-02 2010-07-08 Nestec S.A. Fried-chunk food compositions
CN102004781A (en) * 2010-11-23 2011-04-06 北京酷我科技有限公司 Method and system for acquiring website test data
CN103246597A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Parameter testing method and device
CN103324566A (en) * 2012-03-20 2013-09-25 阿里巴巴集团控股有限公司 Multi-version test method and device for web page product
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN104052809A (en) * 2014-06-17 2014-09-17 北京京东尚科信息技术有限公司 Distribution control method and device for web testing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010077357A1 (en) * 2009-01-02 2010-07-08 Nestec S.A. Fried-chunk food compositions
CN102004781A (en) * 2010-11-23 2011-04-06 北京酷我科技有限公司 Method and system for acquiring website test data
CN103246597A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Parameter testing method and device
CN103324566A (en) * 2012-03-20 2013-09-25 阿里巴巴集团控股有限公司 Multi-version test method and device for web page product
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN104052809A (en) * 2014-06-17 2014-09-17 北京京东尚科信息技术有限公司 Distribution control method and device for web testing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598741A (en) * 2016-12-16 2017-04-26 飞狐信息技术(天津)有限公司 Distributed type A/B test method, system and video recommendation system for personalized recommendation system
CN106598741B (en) * 2016-12-16 2024-03-01 飞狐信息技术(天津)有限公司 Distributed A/B test method and system for personalized recommendation system and video recommendation system
CN109120720A (en) * 2018-09-28 2019-01-01 北京云测信息技术有限公司 A method of automatic adjustment version tests flow
CN112487323A (en) * 2019-09-11 2021-03-12 北京沃东天骏信息技术有限公司 Webpage experimental method and server

Similar Documents

Publication Publication Date Title
CN104052809A (en) Distribution control method and device for web testing
US11570273B2 (en) System for prefetching digital tags
US10481997B2 (en) Distributed code tracing system
CN108804707B (en) Page processing method and device and related equipment
CN107463641B (en) System and method for improving access to search results
CN105210051B (en) Estimate the method and system of the visibility of content item
US8301645B1 (en) Aggregated web analytics request systems and methods
CN103064778B (en) A kind of server performance method of testing, Apparatus and system
CN110598149A (en) Webpage access method, device and storage medium
JP6404816B2 (en) Method and apparatus for responding to web page access request
CN108268622A (en) The method, apparatus and computer readable storage medium of back page
US20120005017A1 (en) Method and system for providing advertisements
CN104025083A (en) Method and apparatus for providing web pages
CN105589917B (en) Method and device for analyzing log information of browser
CN110020273B (en) Method, device and system for generating thermodynamic diagram
CN107707404A (en) The online demographic method in website, device and Website server
CN103150363A (en) Method and device for accessing web pages
CN111966887A (en) Dynamic caching method and device, electronic equipment and storage medium
CN104539481A (en) Website testing method and device
US20220237042A1 (en) Resource pre-fetch using age threshold
CN107526748B (en) Method and equipment for identifying user click behavior
CN110866202A (en) Front-end paging method and device and readable storage medium
CN110266555A (en) Method for analyzing web site service request
US10796079B1 (en) Generating a page layout based upon analysis of session variables with respect to a client device
CN111756744B (en) H5 user identification method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150422

WD01 Invention patent application deemed withdrawn after publication