CN109446081A - For the test method of HTML5 webpage, system, equipment and medium - Google Patents

For the test method of HTML5 webpage, system, equipment and medium Download PDF

Info

Publication number
CN109446081A
CN109446081A CN201811230479.2A CN201811230479A CN109446081A CN 109446081 A CN109446081 A CN 109446081A CN 201811230479 A CN201811230479 A CN 201811230479A CN 109446081 A CN109446081 A CN 109446081A
Authority
CN
China
Prior art keywords
business datum
user information
test
webpage
database
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
CN201811230479.2A
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.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN201811230479.2A priority Critical patent/CN109446081A/en
Publication of CN109446081A publication Critical patent/CN109446081A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses a kind of for the test method of HTML5 webpage, system, equipment and medium, it include: the business datum received in the user information and tested webpage that test equipment is sent for the test method of HTML5 webpage at network equipment end, wherein, the user information includes an authentication code;It is compared in a database according to the authentication code, if there are the authentication codes in the database, the business datum in the tested webpage is stored in the database, and establish the mapping relations of the user information Yu the business datum;It include the user information in the data inquiry request when receiving that the test equipment sends to the data inquiry request of the business datum;In response to the data inquiry request, the business datum corresponding with the user information being stored in the database is sent to the test equipment end.

Description

For the test method of HTML5 webpage, system, equipment and medium
Technical field
The present invention relates to a kind of webpage measuring technologies, more specifically, being related to a kind of test for HTML5 webpage Method, system, equipment and medium.
Background technique
H5 (HTML5) page mostly uses in APP client, is typically necessary after verification user right, can just obtain Take user data.The H5 page is static page after being opened by browser, does not have user information data, can not be counted with rear end According to the interaction of layer, the automatic test for the H5 page for having data Layer to interact with rear end also can not be just completed by browser.
Summary of the invention
In view of the problems of the existing technology, the purpose of the present invention is to provide a kind of test sides for HTML5 webpage Method, system, equipment and medium can test the static HTML5 page, during establishing network connection, pass through Authentication code is verified to authenticate to user, and can store and send the HTML5 page according to cell-phone number and authentication code etc. Business datum improves testing efficiency, and further improves test accuracy, even if can find that the HTML5 page is deposited Defect, so that technical staff corrects in time.
According to an aspect of the present invention, a kind of test method being used for HTML5 webpage at network equipment end, packet are provided It includes:
Receive the business datum in the user information and tested webpage that test equipment is sent, wherein the user information Including an authentication code;
It is compared in a database according to the authentication code, it, will if there are the authentication codes in the database The business datum in the tested webpage is stored in the database, and establishes the user information and the business datum Mapping relations;
When receiving that the test equipment sends to the data inquiry request of the business datum, the data query is asked It include the user information in asking;
It is corresponding with the user information described in the database by being stored in response to the data inquiry request Business datum is sent to the test equipment end.
Preferably, further includes:
If the authentication code is not present in the database, a prompt error message is sent to the test equipment.
Preferably, described to send the business datum corresponding with the user information being stored in the database To the test equipment end, comprising:
The storage address of the corresponding business datum is obtained according to the authentication code;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
Preferably, which is characterized in that the user information includes the first Customs Assigned Number, described to be stored in the database In the business datum corresponding with the user information be sent to the test equipment end, further includes:
The storage address of the corresponding business datum is obtained according to first Customs Assigned Number;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
Preferably, first Customs Assigned Number is the phone number of user.
Preferably, the user information include second user number, it is described by be stored in the database with it is described The corresponding business datum of user information is sent to the test equipment end, further includes:
The storage address of the corresponding business datum is obtained according to second user number;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
Preferably, the authentication code is with the transmission of Base64 coding form.
According to an aspect of the present invention, a kind of test method being used for HTML5 webpage at test equipment end, packet are provided It includes:
User information is extracted in a test script;
The business datum in the user information and tested webpage is sent to the network equipment, wherein the user information Including an authentication code.
Preferably, further includes:
Receive the business datum about the tested webpage that the network equipment issues;
The business datum received is verified.
Preferably, the user information further includes the first Customs Assigned Number.
Preferably, the user information includes following at least any one:
Second user number;
User identity description information.
According to an aspect of the present invention, a kind of system for webpage test is provided, to realize the above method, the system System includes:
First receiving module, for receive test equipment transmission user information and tested webpage in business datum its In, the user information includes an authentication code;
Authentication module is compared, if there are the mirror in the database in a database according to the authentication code The business datum in the tested webpage is then stored in the database by weighted code;
Second receiving module receives the data inquiry request to the business datum that the test equipment is sent, described It include the user information in data inquiry request;
Sending module, in response to the data inquiry request, by be stored in the database with the user information The corresponding business datum is sent to the test equipment end.
According to an aspect of the present invention, a kind of test equipment for webpage test is provided, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor executes at test equipment end for HTML5 webpage the executable instruction when executed Test method the step of.
According to an aspect of the present invention, a kind of network equipment for webpage test is provided, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor executes at network equipment end for HTML5 webpage the executable instruction when executed Test method the step of.
According to an aspect of the present invention, a kind of computer readable storage medium is provided, for storing program, described program It is performed the step of realizing the above method.
The beneficial effect of above-mentioned technical proposal is: the test method, system, equipment for HTML5 webpage of the invention with And medium, the static HTML5 page can be tested, during establishing network connection, by authentication code come to user It is authenticated, and can store and send the business datum of the HTML5 page according to cell-phone number and authentication code etc., improve test Efficiency, and test accuracy is further improved, even if defect existing for the HTML5 page can be found, for technology people Member's amendment in time.
Other features and advantages of the present invention and various embodiments of the present invention structurally and operationally, will referring to Attached drawing is described in detail.It should be noted that the present invention is not limited to specific embodiments described hereins.It is given herein these The purpose that embodiment is merely to illustrate that.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 is a kind of test method at network equipment end for HTML5 webpage in preferred embodiment of the invention Scene is embodied;
Fig. 2 is a kind of test method at test equipment end for HTML5 webpage in preferred embodiment of the invention Flow diagram;
Fig. 3 is a kind of test method at network equipment end for HTML5 webpage in preferred embodiment of the invention Flow diagram;
Fig. 4 is a kind of structural block diagram of the system for webpage test in preferred embodiment of the invention;
Fig. 5 is a kind of structural schematic diagram of the network equipment for webpage test in preferred embodiment of the invention;
Fig. 6 is a kind of structural schematic diagram of computer readable storage medium in preferred embodiment of the invention.
From the detailed description below in conjunction with attached drawing, the features and advantages of the present invention will become more apparent.Through attached drawing, Identical attached drawing identifies respective element.In the accompanying drawings, same reference numerals be indicated generally at it is identical, functionally similar and/or Similar element in structure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
" first ", " second " used in the disclosure and similar word are not offered as any sequence, quantity or again The property wanted, and be used only to distinguish different component parts.The similar word such as " comprising " or "comprising" means before there is the word The element or object in face are covered the element for appearing in the word presented hereinafter or object and its are equal, and are not excluded for other elements Or object." connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but can be with It is either direct or indirect including electrical connection."upper", "lower", "left", "right" etc. are only used for indicating relative position Relationship, after the absolute position for being described object changes, then the relative positional relationship may also correspondingly change.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
Fig. 1 is a kind of specific implementation scene of test method at network equipment end for HTML5 webpage, includes surveying in figure Try equipment 100, the network equipment 200 and database server 300,100 network equipment 200 of test equipment and data server Between by network be connected.Test equipment 100, which can be but not limited to any one, to carry out the production of human-computer interaction electronics with user Product, such as smart phone, tablet computer and server etc., mobile electronic product can be any operating system, such as Android Operating system, IOS operating system etc..The network equipment 200 can be but not limited to what one kind can set or store according to realization Instruction, the automatic numerical value that carries out calculate and the electronic equipment of information processing, and hardware includes but is not limited to microprocessor, dedicated integrated Circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), digital signal processor (DSP) and Embedded device etc..The network equipment 200 can be desktop computer, network host, single network server, multiple network services The cloud that device cluster or multiple servers are constituted;Here, cloud by based on cloud computing (Cloud Computing) a large amount of computers or Network server is constituted, wherein cloud computing is one kind of distributed computing, is made of the computer of a group loose couplings virtual Supercomputer.Network can include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), VPN network, wireless self-organization network (Ad Hoc network) etc..Further, equipment, which can also be, runs on network rules, the program in test equipment 100.
The test method for HTML5 webpage is described in detail below based on specific implementation scene shown in fig. 1.
Fig. 2 is a kind of flow diagram of test method at test equipment end for HTML5 webpage, including step S201, step S202, step S203 and step S204.
In step s 201, user information is extracted in a test script.Test script is run in test equipment 100, It can be one section of code, for testing HTML5 webpage.Such as one is surveyed for adding the HTML5 webpage of information of vehicles When examination, test script is tested i.e. addition information of vehicles to the HTML5 page.This is used to add the HTML5 net of information of vehicles Type of vehicle, license plate number, Vehicle Identify Number, motor number can be inputted in the page page, and can be by above-mentioned information of vehicles (vehicle class Type, license plate number, Vehicle Identify Number, motor number) it is saved by the network equipment 200 into database server 300.Test script operation When, type of vehicle, license plate number, Vehicle Identify Number and motor number can be sequentially input in the corresponding position of the HTML5 page.At this point, Information of vehicles (type of vehicle, license plate number, Vehicle Identify Number, motor number) is exactly the business datum as user, is wrapped in test script User information containing user, wherein user information includes the authentication code for authentication.
User information further includes the first Customs Assigned Number, and user information can also include that second user number, user identity is retouched State information.First Customs Assigned Number and second user number contribute to identity user.First Customs Assigned Number can be the hand of user Machine number.Second user number is to alter 19 decimal numbers, such as " 6078002645551809105 ", second user are compiled It number is that and can be used as subsequent business datum inquiry foundation for further identity user.
In step S202, the business datum in user information and tested webpage is sent to the network equipment 200.Pass through fortune Row test script has input information of vehicles (business datum) in tested webpage.Completing information of vehicles (business datum) After input, test equipment 100 sends the user information in test script and the business in tested webpage to the network equipment 200 Data.After the business datum received and user information are established mapping by the network equipment 200, by business datum storage to data In library server 300.
In step S203, the business datum about tested webpage that the network equipment 200 issues is received.Test equipment 100 Data inquiry request is sent to the network equipment 200, inquires the business datum being stored in data server in step S202.Network Equipment 200 is sent in the tested webpage being stored in step S202 in response to the data inquiry request to test equipment 100 Business datum (information of vehicles).Test equipment 100 receives the business datum for the tested webpage that the network equipment 200 issues.
In step S204, the business datum received is verified.Test equipment 100 carries out school to business datum It tests, i.e., compares the information that the business datum received includes with the corresponding information in test script, it should if consistent Tested webpage passes through test.By taking information of vehicles as an example, that is, the type of vehicle in business datum that receives, license plate number, Vehicle Identify Number, Motor number is compared with the type of vehicle in test script, license plate number, Vehicle Identify Number, motor number.
Fig. 3 is a kind of flow diagram of test method at network equipment end for HTML5 webpage, should be in the network equipment Test method of 200 ends for HTML5 webpage includes step S301, step S302, step S303 and step S304.
In step S301, the business datum in the user information and tested webpage that test equipment 100 is sent is received, In, user information includes an authentication code.Test equipment 100 by test script to tested webpage incoming traffic data (such as: vehicle Information) after, connection is established by http protocol and the network equipment 200, in the form of HTTP message by user information and by The business data transmission corresponding with user information of survey grid page input is to the network equipment 200.User information includes authentication therein Code is with the transmission of Base64 coding form.
In step s 302, it is compared in a database according to authentication code, it, will if there are authentication codes in database Business datum in tested webpage is stored in database.After the network equipment 200 receives the message of the sending of test equipment 100, The decryption of Base64 coding is carried out to user information, obtains user information, and extract the authentication code in user information.The network equipment 200 compare authentication code in authentication code and database (database server 300), if there is authentication in database server 300 Code, then the authentication is passed.Later, the business datum that test equipment 100 is sent is stored to database.If there is no mirror in database Weighted code then sends a prompt error message to test equipment 100, shows that authentication cannot pass through, which can be The prompt such as " inactive users " " re-entering user information ".Business datum is stored to database, establish business datum with Mapping relations between the user information directly inquire acquisition business datum so as to subsequent according to user information.
In step S303, when receiving that test equipment 100 sends to the data inquiry request of business datum, data are looked into Asking includes user information in request.After the network equipment 200 completes the storage of business datum, test equipment 100 can issue one A data inquiry request, to obtain the business datum stored in database (for example, information of vehicles).
In step s 304, in response to data inquiry request, the industry corresponding with user information that will be stored in database profession Business data are sent to 100 end of test equipment.200 response data inquiry request of the network equipment, according to user information and business datum Mapping relations corresponding business datum is extracted in database, and business datum is sent to test equipment 100.
In some embodiments, the business datum corresponding with user information being stored in database profession is sent to test equipment The specific steps at 100 ends include: the storage address that (a) obtains corresponding business datum according to authentication code;(b) according to storage address Business datum is extracted in database;(c) business datum is sent to test equipment 100.In step s 302, the network equipment 200 establish the mapping relations between user information and the business datum of the user, more specifically according in user information Authentication code establish mapping relations, i.e., establish mapping relations between authentication code and business datum.The direct root of the network equipment 200 The storage address of required business datum is obtained according to the authentication code in user information and the mapping relations between business datum.And Afterwards, business datum is extracted directly into database service according to acquisition storage address.Finally, the industry that the network equipment 200 will extract Business data are sent to test equipment 100.
It is right with user information (user information includes the first Customs Assigned Number) by what is be stored in database profession in some embodiments It includes: (a) according to the corresponding industry of the first Customs Assigned Number acquisition that the business datum answered, which is sent to the specific steps at 100 end of test equipment, The storage address for data of being engaged in, the first Customs Assigned Number are the phone number of user;(b) industry is extracted in database according to storage address Business data;(c) business datum is sent to test equipment 100.In step s 302, the network equipment 200 establishes user information Mapping relations between the business datum of the user, more specifically according to the first Customs Assigned Number (hand in user information Machine number) Lai Jianli mapping relations, i.e., mapping relations are established between the first Customs Assigned Number and business datum.The network equipment 200 Required business datum is directly obtained according to the first Customs Assigned Number in user information and the mapping relations between business datum Storage address.Then, business datum is extracted directly into database service according to acquisition storage address.Finally, the network equipment 200 The business datum extracted is sent to test equipment 100.
It is right with user information (user information includes second user number) by what is be stored in database profession in some embodiments It includes: (a) according to the corresponding industry of second user number acquisition that the business datum answered, which is sent to the specific steps at 100 end of test equipment, The storage address for data of being engaged in;(b) business datum is extracted in database according to storage address;(c) business datum is sent to survey Try equipment 100.In step s 302, the network equipment 200 establishes the mapping between user information and the business datum of the user Relationship more specifically establishes mapping relations according to the second user number in user information, i.e., second user number with Mapping relations are established between business datum.The network equipment 200 is directly according to the second user number and business in user information Mapping relations between data obtain the storage address of required business datum.Then, according to obtain storage address directly into Business datum is extracted in database service.Finally, the business datum extracted is sent to test equipment 100 by the network equipment 200.
According to an aspect of the present invention, a kind of system 400 for webpage test is provided, above-mentioned is set in network with realizing Standby end is used for the test method of HTML5 webpage.
Fig. 4 is a kind of structural block diagram of system for webpage test.The system 400 includes:
First receiving module 401, the business in user information and tested webpage for receiving the transmission of test equipment 100 Wherein, user information includes an authentication code to data;
Authentication module 402 is compared in a database according to authentication code, will if there are authentication codes in database Business datum in tested webpage is stored in database;
Second receiving module 403, receives the data inquiry request to business datum that test equipment 100 is sent, and data are looked into Asking includes user information in request;
Sending module 404, in response to data inquiry request, the business corresponding with user information that will be stored in database profession Data are sent to 100 end of test equipment.
According to an aspect of the present invention, a kind of test equipment for webpage test is provided, comprising: processor;Storage Device, wherein being stored with the executable instruction of processor;Wherein, processor is executed in test equipment executable instruction when executed End is used for the step of test method of HTML5 webpage.
According to an aspect of the present invention, a kind of network equipment for webpage test is provided, comprising: processor;Storage Device, wherein being stored with the executable instruction of processor;Wherein, processor is executed in the network equipment executable instruction when executed End is used for the step of test method of HTML5 webpage.
Fig. 5 is the structural schematic diagram of the network equipment for webpage test of the invention.Basis is described referring to Fig. 5 The electronic equipment 600 of the embodiment of the invention.The electronic equipment 600 that Fig. 5 is shown is only an example, should not be to this The function and use scope of inventive embodiments bring any restrictions.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part The step of mode.For example, processing unit 610 can execute step as shown in Figure 2.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage platform etc..
According to an aspect of the present invention, a kind of computer readable storage medium is provided, for storing program, described program It is performed the step of realizing the above method.
Fig. 6 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 6, describing according to this The program product 800 for realizing the above method of the embodiment of invention can use the read-only storage of portable compact disc Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, journey of the invention Sequence product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the journey Sequence can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (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 above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
To sum up, the present invention can test the static HTML5 page, during establishing network connection, pass through mirror Weighted code is verified to authenticate to user, and can store and send the industry of the HTML5 page according to cell-phone number and authentication code etc. Business data, improve testing efficiency, and further improve test accuracy, even if can find that the HTML5 page exists Defect, so that technical staff corrects in time.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (15)

1. a kind of test method for being used for HTML5 webpage at network equipment end characterized by comprising
Receive the business datum in the user information and tested webpage that test equipment is sent, wherein the user information includes One authentication code;
It is compared in a database according to the authentication code, it, will be described if there are the authentication codes in the database The business datum in tested webpage is stored in the database, and establishes reflecting for the user information and the business datum Penetrate relationship;
When receiving that the test equipment sends to the data inquiry request of the business datum, in the data inquiry request Including the user information;
In response to the data inquiry request, the business corresponding with the user information that will be stored in the database Data are sent to the test equipment end.
2. the test method according to claim 1 for being used for HTML5 webpage at network equipment end, which is characterized in that also wrap It includes:
If the authentication code is not present in the database, a prompt error message is sent to the test equipment.
3. the test method according to claim 1 for being used for HTML5 webpage at network equipment end, which is characterized in that described The business datum corresponding with the user information being stored in the database is sent to the test equipment end, is wrapped It includes:
The storage address of the corresponding business datum is obtained according to the authentication code;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
4. the test method according to claim 1 for being used for HTML5 webpage at network equipment end, which is characterized in that described User information includes the first Customs Assigned Number, the industry corresponding with the user information that will be stored in the database Business data are sent to the test equipment end, further includes:
The storage address of the corresponding business datum is obtained according to first Customs Assigned Number;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
5. the test method according to claim 4 for being used for HTML5 webpage at network equipment end, which is characterized in that described First Customs Assigned Number is the phone number of user.
6. the test method according to claim 1 for being used for HTML5 webpage at network equipment end, which is characterized in that described User information includes second user number, the industry corresponding with the user information that will be stored in the database Business data are sent to the test equipment end, further includes:
The storage address of the corresponding business datum is obtained according to second user number;
The business datum is extracted in the database according to the storage address;
The business datum is sent to the test equipment.
7. the test method according to claim 1 for being used for HTML5 webpage at network equipment end, which is characterized in that described Authentication code is with the transmission of Base64 coding form.
8. a kind of test method for being used for HTML5 webpage at test equipment end characterized by comprising
User information is extracted in a test script;
The business datum in the user information and tested webpage is sent to the network equipment, wherein the user information includes One authentication code.
9. the test method according to claim 8 for being used for HTML5 webpage at test equipment end, which is characterized in that also wrap It includes:
Receive the business datum about the tested webpage that the network equipment issues;
The business datum received is verified.
10. the test method according to claim 8 for being used for HTML5 webpage at test equipment end, which is characterized in that described User information further includes the first Customs Assigned Number.
11. the test method according to claim 10 for being used for HTML5 webpage at test equipment end, which is characterized in that institute Stating user information includes following at least any one:
Second user number;
User identity description information.
12. a kind of system for webpage test, to realize any the method in claim 1 to 7, which is characterized in that institute The system of stating includes:
First receiving module, for receiving the business datum in the user information and tested webpage that test equipment is sent wherein, The user information includes an authentication code;
Authentication module is compared in a database according to the authentication code, if there are the authentication code in the database, The business datum in the tested webpage is then stored in the database;
Second receiving module receives the data inquiry request to the business datum that the test equipment is sent, the data It include the user information in inquiry request;
Sending module, it is corresponding with the user information in the database by being stored in response to the data inquiry request The business datum be sent to the test equipment end.
13. a kind of test equipment for webpage test characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor perform claim requires any one of 8 to 11 the methods to the executable instruction when executed The step of.
14. a kind of network equipment for webpage test characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor perform claim requires any one of 1 to 7 the method to the executable instruction when executed Step.
15. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power Benefit requires the step of any one of 1 to 11 the method.
CN201811230479.2A 2018-10-22 2018-10-22 For the test method of HTML5 webpage, system, equipment and medium Pending CN109446081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230479.2A CN109446081A (en) 2018-10-22 2018-10-22 For the test method of HTML5 webpage, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230479.2A CN109446081A (en) 2018-10-22 2018-10-22 For the test method of HTML5 webpage, system, equipment and medium

Publications (1)

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

Family

ID=65547249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230479.2A Pending CN109446081A (en) 2018-10-22 2018-10-22 For the test method of HTML5 webpage, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN109446081A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111860026A (en) * 2019-04-30 2020-10-30 罗德施瓦兹两合股份有限公司 Test or measurement instrument and method
CN112769627A (en) * 2021-02-03 2021-05-07 阿里巴巴集团控股有限公司 Network environment simulation method, system and computer program product
CN112799941A (en) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 Equipment information calling method and device and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030152904A1 (en) * 2001-11-30 2003-08-14 Doty Thomas R. Network based educational system
WO2007005919A2 (en) * 2005-07-02 2007-01-11 Tara Chand Singhal System and method for security in global computer transactions that enable reverse-authentication of a server by a client
CN101615196A (en) * 2009-07-28 2009-12-30 公安部第一研究所 The test macro and the method for testing of millions one-to-many face recognition products
CN102710595A (en) * 2012-04-11 2012-10-03 佳都新太科技股份有限公司 Method for requesting authentication for digital television user service in three-network integration
CN102882676A (en) * 2011-07-15 2013-01-16 深圳市汇川控制技术有限公司 Method and system for equipment to safely access Internet of things
CN104978267A (en) * 2015-06-24 2015-10-14 小米科技有限责任公司 Web page testing method, terminal and server
CN106844220A (en) * 2017-03-09 2017-06-13 北京融信易安信息技术有限公司 A kind of method of testing and system of simulation computer web application real running environment
CN106998551A (en) * 2016-01-25 2017-08-01 中兴通讯股份有限公司 A kind of method, system, device and the terminal of application access authentication
US20170324803A1 (en) * 2016-05-09 2017-11-09 Salesforce.Com, Inc. Automated testing of perceptible web page elements
CN107609364A (en) * 2017-10-30 2018-01-19 泰康保险集团股份有限公司 User identification confirmation method and apparatus
US10055591B1 (en) * 2015-09-23 2018-08-21 Amazon Technologies, Inc. Secure protocol attack mitigation

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030152904A1 (en) * 2001-11-30 2003-08-14 Doty Thomas R. Network based educational system
WO2007005919A2 (en) * 2005-07-02 2007-01-11 Tara Chand Singhal System and method for security in global computer transactions that enable reverse-authentication of a server by a client
CN101615196A (en) * 2009-07-28 2009-12-30 公安部第一研究所 The test macro and the method for testing of millions one-to-many face recognition products
CN102882676A (en) * 2011-07-15 2013-01-16 深圳市汇川控制技术有限公司 Method and system for equipment to safely access Internet of things
CN102710595A (en) * 2012-04-11 2012-10-03 佳都新太科技股份有限公司 Method for requesting authentication for digital television user service in three-network integration
CN104978267A (en) * 2015-06-24 2015-10-14 小米科技有限责任公司 Web page testing method, terminal and server
US10055591B1 (en) * 2015-09-23 2018-08-21 Amazon Technologies, Inc. Secure protocol attack mitigation
CN106998551A (en) * 2016-01-25 2017-08-01 中兴通讯股份有限公司 A kind of method, system, device and the terminal of application access authentication
US20170324803A1 (en) * 2016-05-09 2017-11-09 Salesforce.Com, Inc. Automated testing of perceptible web page elements
CN106844220A (en) * 2017-03-09 2017-06-13 北京融信易安信息技术有限公司 A kind of method of testing and system of simulation computer web application real running environment
CN107609364A (en) * 2017-10-30 2018-01-19 泰康保险集团股份有限公司 User identification confirmation method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUCHEN ZHOU等: "SSOScan: Automated Testing of Web Applications for Single Sign-On Vulnerabilities", 《23RD USENIX SECURITY SYMPOSIUM》 *
赵雷: "基于SOA的自动化测试系统的设计及实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111860026A (en) * 2019-04-30 2020-10-30 罗德施瓦兹两合股份有限公司 Test or measurement instrument and method
CN112799941A (en) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 Equipment information calling method and device and electronic equipment
CN112769627A (en) * 2021-02-03 2021-05-07 阿里巴巴集团控股有限公司 Network environment simulation method, system and computer program product
CN112769627B (en) * 2021-02-03 2024-03-22 阿里巴巴集团控股有限公司 Network environment simulation method, system and computer program product

Similar Documents

Publication Publication Date Title
JP6364496B2 (en) Mobile cloud service architecture
CN104081713B (en) The long-range trust identification of server and client computer in cloud computing environment and geographical location
JP6871943B2 (en) Preformed instructions for mobile cloud services
US10581199B2 (en) Guided cable plugging in a network
US10044837B2 (en) Generation and distribution of named, definable, serialized tokens
US10783128B2 (en) Rule based data processing
US10325091B2 (en) Generation of secure passwords in real-time using personal data
CN109446081A (en) For the test method of HTML5 webpage, system, equipment and medium
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
US20180089677A1 (en) Scalable credit card system
CN109740324A (en) Multi-platform method for authenticating, device and computer readable storage medium
CN115102744A (en) Data access method and device
US20160080407A1 (en) Managing operations in a cloud management system
US9886572B2 (en) Lie vault
CN110022327B (en) Short message authentication test method and device
US10172001B1 (en) Authentication mechanism
US10642966B2 (en) Passwords defined using sequences of images
US11580210B2 (en) Password authentication
US20150195708A1 (en) Application installation system and method
US10893041B2 (en) Single use passcode authentication
CN111125759A (en) Database login account shielding method and device and electronic equipment
US10789791B2 (en) Lock status detection
US20230126238A1 (en) Security for usb-based device configuration
US11222105B2 (en) Graphic color-based authentication
US10885163B2 (en) Authentication without inputting passwords

Legal Events

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

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication