CN106407109A - Automatic test method and device for realizing popularization information control - Google Patents
Automatic test method and device for realizing popularization information control Download PDFInfo
- Publication number
- CN106407109A CN106407109A CN201610805740.1A CN201610805740A CN106407109A CN 106407109 A CN106407109 A CN 106407109A CN 201610805740 A CN201610805740 A CN 201610805740A CN 106407109 A CN106407109 A CN 106407109A
- Authority
- CN
- China
- Prior art keywords
- promotion message
- hyperlink request
- cookie
- preset value
- advertisement
- 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
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an automatic test method and device for realizing popularization information control. The method comprises the steps of obtaining a cookie containing a user identifier and the times of accessing a popularization information request link; and realizing a automatic test for the popularization information control according to the cookie containing the user identifier, the times of accessing the popularization information request link, a preset value of the times of accessing the popularization information request link, and a result of accessing advertisement returned by the popularization information request link. Through adoption of the method, the whole process of carrying out the test on the popularization information control is no longer carried out artificially, the whole process can be finished directly by simulating artificial operation through an automatic test tool or device; and in this way, the manpower cost can be reduced, the time of the whole regression test is shortened, and the test efficiency is improved.
Description
Technical field
The application is related to field of computer technology, more particularly, to a kind of automated testing method realizing promotion message control
And device.
Background technology
With the continuous development of computer technology, adding various promotion messages in website has become more and more frequent,
Wherein, this promotion message is the information that service provider is used for export-oriented user publicity.
At present, in order to preferably provide the user service, website would generally be entered to the promotion message being added in website
Row controls, i.e. for some user, within the unit interval (e.g., one day), only can provide same in this website to this user
If the fixing number of times of promotion message that is to say, that within the unit interval, provide the offer of some promotion message for this user
Number of times exceedes fixing number of times, then when user accesses this website within this unit interval, will not provide the user to website again
This promotion message.
Further, the demand being controlled for the promotion message being added in website, needs to develop complete set
Control program, in order to be controlled to the promotion message being added in website, and, follow-up in order to make to develop
Control program can normally run, need the control program developed is tested.
In the prior art, for certain promotion message hyperlink request, by control program to be tested, this popularization is believed
Breath hyperlink request is controlled, and subsequently, people labour union passes through this promotion message hyperlink request of browser access, accesses this each time and pushes away
After the breath hyperlink request of Guangxin, observe whether this promotion message is returned, if promotion message is returned, illustrate now to control journey
Sort run is normal, if promotion message is not returned, illustrates that now control program operation is abnormal, until artificial access should
When the number of times of promotion message hyperlink request reaches default control number of times, ask chain again by this promotion message of browser access
Connect, observe whether this promotion message is returned, if promotion message is returned, illustrate that now control program operation is abnormal,
If promotion message is not returned, now control program normal operation is described.
Obviously, manual testing not only labor intensive cost in addition it is also necessary to take a substantial amount of time and less efficient, thus
Lead to the whole regression tested time longer.
Content of the invention
The embodiment of the present application provides a kind of automated testing method realizing promotion message control and device, existing in order to solve
Have in technology manual testing not only labor intensive cost in addition it is also necessary to take a substantial amount of time and less efficient, thus leading to
Longer problem of whole regression tested time.
The embodiment of the present application provides a kind of automated testing method realizing promotion message control, including:
The number of times obtaining the cookie including ID and accessing promotion message hyperlink request;
According to the cookie including ID, the number of times accessing described promotion message hyperlink request, access described popularization
The preset value of number of times of information request link and the result realization popularization accessing described promotion message hyperlink request return advertisement
The automatic test that information controls.
Preferably, user accesses promotion message hyperlink request, obtains the cookie including ID, and records user's visit
Ask the number of times of this promotion message hyperlink request, the cookie according to including ID accesses described promotion message hyperlink request,
And update the number of times that user accesses this promotion message hyperlink request.
Preferably, when the number of times accessing described promotion message hyperlink request according to the cookie including ID is less than
Access described promotion message hyperlink request the preset value of number of times when, if described promotion message hyperlink request return advertisement knot
Fruit is not return advertisement, then realize the automatic test failure of promotion message control.
Preferably, when the number of times ratio accessing described promotion message hyperlink request according to the cookie including ID accesses
When one time more than the preset value of the number of times of described promotion message hyperlink request, if described promotion message hyperlink request returns advertisement
Result is to return advertisement, then realize the automatic test failure of promotion message control;If described promotion message hyperlink request returns
The result returning advertisement is not return advertisement, then realize the automatic test success of promotion message control.
Preferably, user accesses promotion message hyperlink request according to the cookie including null character string, obtains and includes user
The cookie of mark.
The embodiment of the present application provides a kind of automatic test device realizing promotion message control, including:
Acquisition module, for the number of times obtaining the cookie including ID and access promotion message hyperlink request;
Test module, for according to include ID cookie, access described promotion message hyperlink request number of times,
Access the preset value of number of times of described promotion message hyperlink request and access described promotion message hyperlink request return advertisement
Result realizes the automatic test of promotion message control.
Preferably, described acquisition module includes:Acquiring unit and number of times updating block;Described acquiring unit specifically for,
User accesses promotion message hyperlink request, obtains and includes the cookie of ID, and records user and access this promotion message and ask
Seek the number of times of link;Described number of times updating block accesses described promotion message according to the cookie including ID and asks chain
Connect, and update the number of times that user accesses this promotion message hyperlink request.
Preferably, described test module includes:Preset value judging unit and test result unit;Described preset value judges single
Unit is specifically for the number of times that the cookie according to including ID accesses described promotion message hyperlink request is less than access institute
State the preset value of the number of times of promotion message hyperlink request;Described test result unit is specifically for when described preset value judges list
Unit is less than described popularization of access according to the number of times that the cookie of inclusion ID accesses described promotion message hyperlink request and believes
During the preset value of number of times of breath hyperlink request, if the result that described promotion message hyperlink request returns advertisement is not return extensively
Accuse, then realize the automatic test failure of promotion message control.
Preferably, test module described in described test module includes:Preset value judging unit and test result unit;Described
Preset value judging unit is specifically for the cookie according to including ID accesses the number of times of described promotion message hyperlink request
More than the preset value of the number of times accessing described promotion message hyperlink request once;Described test result unit is specifically for working as institute
State preset value judging unit to be accessed according to the number of times ratio that the cookie including ID accesses described promotion message hyperlink request
When one time more than the preset value of the number of times of described promotion message hyperlink request, if described promotion message hyperlink request returns advertisement
Result is to return advertisement, then realize the automatic test failure of promotion message control;If described promotion message hyperlink request returns
The result returning advertisement is not return advertisement, then realize the automatic test success of promotion message control.
Preferably, described acquisition module is specifically for user accesses promotion message according to the cookie including null character string
Hyperlink request, obtains the cookie including ID.
The embodiment of the present application provides a kind of automated testing method realizing promotion message control and device, and the method is first
The number of times obtaining the cookie including ID and accessing promotion message hyperlink request, and according to inclusion ID
Cookie, access described promotion message hyperlink request number of times, access described promotion message hyperlink request the preset value of number of times,
And access described promotion message hyperlink request and return the result of advertisement and realize the automatic test of promotion message control.By upper
State method, control the whole process tested no longer by manually going to implement to realizing promotion message, but can be directly by automatic
Change testing tool or the artificial operation of equipment simulating to complete, so can save human cost, and shorten whole recurrence and survey
The examination time, improve testing efficiency.
Brief description
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please is used for explaining the application, does not constitute the improper restriction to the application.In the accompanying drawings:
A kind of process schematic of automatic test realizing promotion message control that Fig. 1 provides for the embodiment of the present application;
A kind of structural representation of automatic test device realizing promotion message control that Fig. 2 provides for the embodiment of the present application
Figure.
Specific embodiment
Purpose, technical scheme and advantage for making the application are clearer, below in conjunction with the application specific embodiment and
Corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
The every other embodiment being obtained under the premise of going out creative work, broadly falls into the scope of the application protection.
The automatic test course realizing promotion message control that Fig. 1 provides for the embodiment of the present application, specifically includes following
Step:
S101:The number of times obtaining the cookie including ID and accessing promotion message hyperlink request.
In actual applications, in order to preferably provide the user service, website would generally be to pushing away of being added in website
Guangxin breath is controlled, i.e. for some user, within the unit interval (e.g., one day), only can provide this website to this user
If in the fixing number of times of same promotion message that is to say, that within the unit interval, providing some to promote letter for this user
The number of times that provides of breath exceedes fixing number of times, then when user accesses this website within this unit interval, to website will not be again
User provides this promotion message.
Further, the demand being controlled for the promotion message being added in website, needs to develop complete set
Control program, in order to be controlled to the promotion message being added in website, and, follow-up in order to make to develop
Control program can normally run, need the control program developed is tested.
During the automatic test realizing promotion message control, due to needing to know within the unit interval, for
In same promotion message, which user to provide this promotion message to provide how many times for, therefore, in this application, need
Obtain the cookie including ID and the number of times accessing promotion message hyperlink request.
It should be noted that in actual applications, web application is using http protocol transmission data to here, and
Http protocol is stateless agreement, once data exchange finishes, the connection of client and server may turn off, and hands over again
Changing data needs to set up new connection.This mean that server cannot from connect trace session, e.g., user A have purchased one
Shopping in-car put into by part commodity, and when buying commodity again, server cannot judge that this purchasing behavior is belonging to user A's
Session or the session of user B.In order to bring the facility accessing website to user, therefore it will usually in user first
During secondary this website of access, the server of this website can issue the cookie, this cookie of an inclusion ID to this user
It is also the identity of this user, when user accesses this website again, the browser in terminal only needs to the net of this website
Location and this cookie send jointly to the server of this website, and this website is checked this cookie, to be recognized the body of this user with this
Part.
Further, in this application, there is provided obtain include ID cookie method, specifically can by with
Family accesses promotion message hyperlink request, obtains and includes the cookie of ID, and records user and access this promotion message and ask
The number of times of link, and, during this website of user first access to last this website of access, included in this cookie
ID will not change, this also specify that the identity of user.
Here is it should be noted that because whole process is automated test tool or equipment completes, and user accesses
Promotion message hyperlink request, obtaining during accessed promotion message hyperlink request before the cookie including ID is not have
Cookie's, for the needs of automatic test, therefore, access promotion message hyperlink request in user, obtain and include user's mark
The cookie specifically user knowing accesses promotion message hyperlink request according to the cookie including null character string, obtains and includes user
The cookie of mark.
And, the number of times for acquired access promotion message hyperlink request, first user access promotion message request
Link, while acquisition includes the cookie of ID, can record the number of times that user accesses this promotion message hyperlink request,
I.e., once, subsequently, this promotion message hyperlink request is accessed according to the cookie including ID, and update user's access and be somebody's turn to do
The number of times of promotion message hyperlink request is asked that is to say, that accessing this promotion message according to the cookie including ID every time
Ask link, all can front once access this corresponding number of times of promotion message hyperlink request on the basis of Jia one.
S102:According to the cookie including ID, the number of times accessing described promotion message hyperlink request, access
The preset value of the number of times of promotion message hyperlink request and the result realization accessing described promotion message hyperlink request return advertisement
The automatic test that promotion message controls.
Because the control of promotion message refers to for some user, within the unit interval (e.g., one day), only can be to this use
Family provides the fixing number of times of same promotion message in this website, therefore, in this application, needs to preset access and promote to believe
Breath hyperlink request number of times control marginal value, this control marginal value be exactly access this promotion message hyperlink request number of times pre-
If value, when the number of times accessing this promotion message hyperlink request is less than this control marginal value set in advance, access each time
This promotion message hyperlink request all can have advertisement to return, and presets when the number of times accessing this promotion message hyperlink request exceedes this
Control marginal value when, access this promotion message hyperlink request then do not have advertisement return.
By above-mentioned as can be seen that will determine that the automatic programming realizing promotion message control tests whether successfully, to need
Know it is the promotion message hyperlink request which user accesses on earth, this user access the number of times of this promotion message hyperlink request with
Magnitude relationship between the preset value of the number of times accessing this promotion message hyperlink request, and access this promotion message hyperlink request and return
Return this four parameters of result of advertisement.
Test whether successfully according to the automatic programming that aforementioned four parameter determination realizes promotion message control, specifically permissible
Ask when the number of times accessing this promotion message hyperlink request according to the cookie including ID is less than this promotion message of access
Ask link the preset value of number of times when, if the result that this promotion message hyperlink request returns advertisement is not return advertisement, real
The automatic test failure that existing promotion message controls, and please if this promotion message is accessed according to the cookie including ID
Ask link, the result that this promotion message hyperlink request returns advertisement is to return advertisement, then then continue according to inclusion ID
Cookie access described promotion message hyperlink request, until according to include ID cookie access described promotion message
More than the preset value of the number of times than the described promotion message hyperlink request of access for the number of times of hyperlink request once.
Push away described in accessing when the number of times ratio accessing described promotion message hyperlink request according to the cookie including ID
When one time more than the preset value of number of times of Guangxin breath hyperlink request, if the result that described promotion message hyperlink request returns advertisement is
Return advertisement, then realize the automatic test failure of promotion message control;If described promotion message hyperlink request returns advertisement
Result be not return advertisement, then realize the automatic test success of promotion message control, illustrate to realize what promotion message controlled
Program can normally be run.
For example, certain website is in order to realize the advertisement added in website is controlled, i.e. for some use
Family, within one day (that is, unit interval), only can provide same advertisement in this website (that is, to access this popularization 3 times to this user
The preset value of the number of times of information request link), thus developing a program realizing advertisement control, in order to ensure the operation of this program
Normally, therefore, this website carries out automatic test by automated test tool to this program.
Automated test tool (that is, user) accesses promotion message hyperlink request according to the cookie of null character string, obtains
Including the cookie of user A (that is, ID), and record the number of times (that is, that user accesses this promotion message hyperlink request
Secondary), determine that the result that this promotion message hyperlink request returns advertisement is to return advertisement;
Continue the cookie according to user A (that is, ID) and access described promotion message hyperlink request, and update user
Access the number of times of this promotion message hyperlink request, that is, in front this corresponding number of times of promotion message hyperlink request that once accesses
On the basis of Jia one, i.e. 2 times, determine this promotion message hyperlink request return advertisement result be return advertisement;
Continue the cookie according to user A (that is, ID) and access described promotion message hyperlink request, and update user
Access the number of times of this promotion message hyperlink request, that is, in front this corresponding number of times of promotion message hyperlink request that once accesses
On the basis of Jia one, i.e. 3 times, determine this promotion message hyperlink request return advertisement result be return advertisement.
The cookie that automated test tool continues according to user A (that is, ID) accesses described promotion message request
Link, and update the number of times that user accesses this promotion message hyperlink request, that is, once access the request of this promotion message front
Jia one on the basis of linking corresponding number of times, i.e. 4 times, determine that the result that promotion message hyperlink request returns advertisement is not return
Advertisement, then realize the automatic test success of promotion message control.
By said method, control the whole process tested no longer by manually going to implement to realizing promotion message, and
It is directly to be completed by the artificial operation of automated test tool or equipment simulating, so can save human cost, and contract
The short whole regression test time, improve testing efficiency.
Last here it should be noted that the main body carrying into execution a plan of the application is automated test tool or equipment, by
To execute this programme in the artificial operation of automated test tool or equipment simulating, therefore, in this application it is also possible to will apply for
User in file is interpreted as automated test tool or equipment.
The automated testing method realizing promotion message control providing for the embodiment of the present application above, based on same think of
Road, the embodiment of the present application also provides a kind of automatic test device realizing promotion message control.
As shown in Fig. 2 a kind of automatic test device realizing promotion message control that the embodiment of the present application provides, bag
Include:
Acquisition module 201, for obtaining the cookie including ID and accessing the secondary of promotion message hyperlink request
Number;
Test module 202, for according to include ID cookie, access described promotion message hyperlink request time
Number, the preset value of number of times accessing described promotion message hyperlink request and the described promotion message hyperlink request of access return wide
The result accused realizes the automatic test of promotion message control.
Described acquisition module 201 includes:Acquiring unit 2011 and number of times updating block 2012;
Described acquiring unit 2011 is specifically for user accesses promotion message hyperlink request, obtains and includes ID
Cookie, and record the number of times that user accesses this promotion message hyperlink request;
Described number of times updating block 2012 accesses described promotion message hyperlink request according to the cookie including ID,
And update the number of times that user accesses this promotion message hyperlink request.
Described test module 202 includes:Preset value judging unit 2021 and test result unit 2022;
Described preset value judging unit 2021 is specifically for the cookie according to including ID accesses described popularization to be believed
The number of times of breath hyperlink request is less than the preset value of the number of times accessing described promotion message hyperlink request;
Described test result unit 2022 is specifically for when described preset value judging unit 2021 is according to inclusion ID
Cookie access the number of times of described promotion message hyperlink request and be less than the number of times accessing described promotion message hyperlink request
During preset value, if the result that described promotion message hyperlink request returns advertisement is not return advertisement, realize promotion message control
The automatic test failure of system.
Described test module 202 includes:Preset value judging unit 2021 and test result unit 2022;
Described preset value judges Unit 2021 specifically for the cookie according to including ID accesses described popularization to be believed
More than the preset value of number of times than the described promotion message hyperlink request of access for the number of times of breath hyperlink request once;
Described test result unit 2022 is specifically for when described preset value judging unit 2021 is according to inclusion ID
Cookie access described promotion message hyperlink request number of times more default than the number of times accessing described promotion message hyperlink request
When being worth many one time, if the result that described promotion message hyperlink request returns advertisement is to return advertisement, realize promotion message control
The automatic test failure of system;If the result that described promotion message hyperlink request returns advertisement is not return advertisement, realize
The automatic test success that promotion message controls.
Described acquisition module 201 is specifically for user accesses promotion message request according to the cookie including null character string
Link, obtains the cookie including ID.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology is realizing information Store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, can be used for storing the information that can be accessed by a computing device.Define according to herein, calculate
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), the such as data signal of modulation and carrier wave.
Also, it should be noted term " inclusion ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that including a series of process of key elements, method, commodity or equipment not only include those key elements, but also wrapping
Include other key elements being not expressly set out, or also include for this process, method, commodity or intrinsic the wanting of equipment
Element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including described wanting
Also there is other identical element in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program.
Therefore, the application can adopt complete hardware embodiment, complete software embodiment or combine the embodiment of software and hardware aspect
Form.And, the application can be deposited using can use in one or more computers wherein including computer usable program code
The shape of the upper computer program implemented of storage media (including but not limited to disk memory, CD-ROM, optical memory etc.)
Formula.
The foregoing is only embodiments herein, be not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent
Replace, improve etc., within the scope of should be included in claims hereof.
Claims (10)
1. a kind of automated testing method realizing promotion message control is it is characterised in that include:
The number of times obtaining the cookie including ID and accessing promotion message hyperlink request;
According to the cookie including ID, the number of times accessing described promotion message hyperlink request, access described promotion message
The result of the preset value of the number of times of hyperlink request and access described promotion message hyperlink request return advertisement realizes promotion message
The automatic test controlling.
2. the method for claim 1 is it is characterised in that obtaining the cookie including ID and accessing popularization letter
The number of times of breath hyperlink request, specifically includes:
User accesses promotion message hyperlink request, obtains and includes the cookie of ID, and records user and access this popularization and believe
The number of times of breath hyperlink request;
Described promotion message hyperlink request is accessed according to the cookie of inclusion ID, and updates user and access this promotion message
The number of times of hyperlink request.
3. the method for claim 1 it is characterised in that according to include ID cookie, access described popularization
The number of times of information request link, the preset value of number of times accessing described promotion message hyperlink request and described popularization of access are believed
The result that breath hyperlink request returns advertisement realizes the automatic test that promotion message controls, and specifically includes:
Push away described in being less than and access when the number of times accessing described promotion message hyperlink request according to the cookie including ID
When Guangxin ceases the preset value of number of times of hyperlink request, if the result that described promotion message hyperlink request returns advertisement is not return
Advertisement, then realize the automatic test failure of promotion message control.
4. the method for claim 1 it is characterised in that according to include ID cookie, access described popularization
The number of times of information request link, the preset value of number of times accessing described promotion message hyperlink request and described popularization of access are believed
The result that breath hyperlink request returns advertisement realizes the automatic test that promotion message controls, and specifically includes:
Promote letter when the number of times accessing described promotion message hyperlink request according to the cookie including ID is more described than accessing
During many one time of the preset value of the number of times of breath hyperlink request, if the result that described promotion message hyperlink request returns advertisement is to return
Advertisement, then realize the automatic test failure of promotion message control;If described promotion message hyperlink request returns the knot of advertisement
Fruit is not return advertisement, then realize the automatic test success of promotion message control.
5. method as claimed in claim 2, it is characterised in that user accesses promotion message hyperlink request, obtains and includes user
The cookie of mark, specifically includes:
User accesses promotion message hyperlink request according to the cookie including null character string, obtains and includes ID
cookie.
6. a kind of automatic test device realizing promotion message control is it is characterised in that include:
Acquisition module, for the number of times obtaining the cookie including ID and access promotion message hyperlink request;
Test module, for according to the cookie including ID, the number of times accessing described promotion message hyperlink request, access
The preset value of number of times of described promotion message hyperlink request and the result accessing described promotion message hyperlink request return advertisement
Realize the automatic test of promotion message control.
7. device as claimed in claim 6 is it is characterised in that described acquisition module includes:Acquiring unit and number of times update list
Unit;
Described acquiring unit accesses promotion message hyperlink request specifically for, user, obtains the cookie including ID, and
Record user accesses the number of times of this promotion message hyperlink request;
Described number of times updating block accesses described promotion message hyperlink request according to the cookie including ID, and updates use
Family accesses the number of times of this promotion message hyperlink request.
8. device as claimed in claim 6 is it is characterised in that described test module includes:Preset value judging unit and test
Result unit;
Described preset value judging unit is specifically for the cookie according to including ID accesses described promotion message and asks chain
The number of times connecing is less than the preset value of the number of times accessing described promotion message hyperlink request;
Described test result unit is specifically for when described preset value judging unit accesses according to the cookie including ID
When the number of times of described promotion message hyperlink request is less than the preset value of number of times accessing described promotion message hyperlink request, if
The result that described promotion message hyperlink request returns advertisement is not return advertisement, then realize the automatic test of promotion message control
Failure.
9. device as claimed in claim 6 is it is characterised in that test module described in described test module includes:Preset value is sentenced
Disconnected unit and test result unit;
Described preset value judging unit is specifically for the cookie according to including ID accesses described promotion message and asks chain
More than the preset value of the number of times than the described promotion message hyperlink request of access for the number of times connecing once;
Described test result unit is specifically for when described preset value judging unit accesses according to the cookie including ID
When the number of times of described promotion message hyperlink request is one time more than the preset value of the number of times accessing described promotion message hyperlink request, such as
The result that really described promotion message hyperlink request returns advertisement is to return advertisement, then realize the automatic test of promotion message control
Failure;If the result that described promotion message hyperlink request returns advertisement is not return advertisement, realize promotion message control
Automatic test success.
10. device as claimed in claim 7 is it is characterised in that described acquisition module is specifically for user is according to the empty word of inclusion
The cookie of symbol string accesses promotion message hyperlink request, obtains the cookie including ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610805740.1A CN106407109A (en) | 2016-09-06 | 2016-09-06 | Automatic test method and device for realizing popularization information control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610805740.1A CN106407109A (en) | 2016-09-06 | 2016-09-06 | Automatic test method and device for realizing popularization information control |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106407109A true CN106407109A (en) | 2017-02-15 |
Family
ID=57999756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610805740.1A Pending CN106407109A (en) | 2016-09-06 | 2016-09-06 | Automatic test method and device for realizing popularization information control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106407109A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815106A (en) * | 2017-11-21 | 2019-05-28 | 腾讯科技(深圳)有限公司 | The interactive function test method and device of information release platform |
CN110968511A (en) * | 2019-11-29 | 2020-04-07 | 车智互联(北京)科技有限公司 | Recommendation engine testing method, device, computing equipment and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593328A (en) * | 2008-05-29 | 2009-12-02 | 上海艾腾信息技术有限公司 | A kind of control device and method of selecting users to release advertisement information |
CN102164311A (en) * | 2010-12-02 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Advertising strategy verification method, device and system |
US20150149384A1 (en) * | 2012-06-06 | 2015-05-28 | Tencent Technology (Shenzhen) Company Limited | Method and system for displaying information and computer readable medium |
CN104731831A (en) * | 2013-12-24 | 2015-06-24 | 北京国双科技有限公司 | Monitoring method and device of pushed information |
CN105045896A (en) * | 2015-07-31 | 2015-11-11 | 北京奇虎科技有限公司 | Method and apparatus for pushing promotion content to appointed page |
-
2016
- 2016-09-06 CN CN201610805740.1A patent/CN106407109A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593328A (en) * | 2008-05-29 | 2009-12-02 | 上海艾腾信息技术有限公司 | A kind of control device and method of selecting users to release advertisement information |
CN102164311A (en) * | 2010-12-02 | 2011-08-24 | 青岛海信传媒网络技术有限公司 | Advertising strategy verification method, device and system |
US20150149384A1 (en) * | 2012-06-06 | 2015-05-28 | Tencent Technology (Shenzhen) Company Limited | Method and system for displaying information and computer readable medium |
CN104731831A (en) * | 2013-12-24 | 2015-06-24 | 北京国双科技有限公司 | Monitoring method and device of pushed information |
CN105045896A (en) * | 2015-07-31 | 2015-11-11 | 北京奇虎科技有限公司 | Method and apparatus for pushing promotion content to appointed page |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815106A (en) * | 2017-11-21 | 2019-05-28 | 腾讯科技(深圳)有限公司 | The interactive function test method and device of information release platform |
CN109815106B (en) * | 2017-11-21 | 2021-08-10 | 腾讯科技(深圳)有限公司 | Interactive function testing method and device of information delivery platform |
CN110968511A (en) * | 2019-11-29 | 2020-04-07 | 车智互联(北京)科技有限公司 | Recommendation engine testing method, device, computing equipment and system |
CN110968511B (en) * | 2019-11-29 | 2023-10-20 | 车智互联(北京)科技有限公司 | Recommendation engine testing method, device, computing equipment and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110058873B (en) | Application page updating method, device, equipment and storage medium | |
CN106648556B (en) | Method and device for front-end and back-end integrated development test | |
CN106502905A (en) | A kind of method of testing of application program, apparatus and system | |
CN109933593B (en) | Asset data recording method, device and equipment | |
US8311794B2 (en) | Testing executable logic | |
CN106487603A (en) | A kind of response test method and device | |
CN108319550A (en) | A kind of test system and test method | |
CN108681504A (en) | Automated testing method, test server and computer readable storage medium | |
CN110059003B (en) | Automatic test method, device, electronic equipment and readable storage medium | |
US20200379865A1 (en) | Distributed website load testing system running on mobile devices | |
US20140304683A1 (en) | Method, server and computer-readable recording media for managing metastore | |
CN113452613B (en) | Method, device, electronic equipment and storage medium for acquiring page routing address | |
CN112131504A (en) | Webpage editing and displaying method, device, equipment and storage medium | |
CN106407123A (en) | Automated testing method and device of server interface | |
CN109271778A (en) | Using installation source differentiating method, electronic equipment and computer storage medium | |
CN106407109A (en) | Automatic test method and device for realizing popularization information control | |
CN110908907A (en) | Web page testing method, device, equipment and storage medium | |
CN109815083B (en) | Application crash monitoring method and device, electronic equipment and medium | |
CN109697164A (en) | Test method, device, storage medium and the terminal of App have been adjusted in browser | |
CN104166541A (en) | Method and device for updating measured control library | |
CN107273112A (en) | A kind of present list method for information display and device | |
CN108540344A (en) | A kind of router upgrade test method and system | |
CN108270871A (en) | The file block method for down loading and device of a kind of client | |
CN108021464B (en) | Bottom-pocketing processing method and device for application response data | |
CN115185907A (en) | Front-end resource management method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100080 A 5 C, block A, China International Steel Plaza, 8 Haidian Avenue, Haidian District, Beijing. Applicant after: Youku network technology (Beijing) Co., Ltd. Address before: 100080 A 5 C, block A, China International Steel Plaza, 8 Haidian Avenue, Haidian District, Beijing. Applicant before: 1Verge Inc. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
RJ01 | Rejection of invention patent application after publication |