CN109857634A - Interface testing parameter verification method, apparatus, electronic equipment and storage medium - Google Patents
Interface testing parameter verification method, apparatus, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109857634A CN109857634A CN201811536796.7A CN201811536796A CN109857634A CN 109857634 A CN109857634 A CN 109857634A CN 201811536796 A CN201811536796 A CN 201811536796A CN 109857634 A CN109857634 A CN 109857634A
- Authority
- CN
- China
- Prior art keywords
- parameter value
- parameter
- verification
- data
- feedback data
- 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
- 238000012795 verification Methods 0.000 title claims abstract description 159
- 238000012360 testing method Methods 0.000 title claims abstract description 76
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012546 transfer Methods 0.000 claims description 20
- 238000000605 extraction Methods 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 12
- 238000004590 computer program Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 230000004044 response Effects 0.000 description 11
- 241000208340 Araliaceae Species 0.000 description 5
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 5
- 235000003140 Panax quinquefolius Nutrition 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 235000008434 ginseng Nutrition 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000013524 data verification Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of interface testing parameter verification method, apparatus, electronic equipment and storage medium.The interface testing parameter verification method includes: to receive the address date of user's input after receiving parameter verification request instruction;According to the address date, preconfigured data packet is sent to server;Receive the feedback data that the server is returned according to preset protocol;According to the data packet, the feedback data is verified;User-defined first parameter value is transferred from configuration database;From extracting the second parameter value obtained after first parameter value executes in the feedback data;According to first parameter value, second parameter value is verified.The present invention can execute automatically complete parameter verification process in interface test process, promote test experience.
Description
Technical field
The present invention relates to interface testing technical field more particularly to a kind of interface testing parameter verification method, apparatus, electronics
Equipment and storage medium.
Background technique
In prior art, regular expression rule or JSONPath rule are generallyd use, in interface testing
Parameter partial node is verified, that is to say, that in a checking procedure can only check part parameter, and can not complete checks connect
All parameters in mouth test.
In view of this, then developer then needs when user wants to verify all parameters in interface testing
Multiple program codes are write, due to the larger workload of programming, the difficulty of parameter verification is not only increased, also improves to exploitation
The technical requirement of personnel.
Summary of the invention
In view of the foregoing, it is necessary to a kind of interface testing parameter verification method, apparatus, electronic equipment and storage are provided and are situated between
Matter can execute automatically complete parameter verification process in interface test process, promote test experience.
A kind of interface testing parameter verification method, which comprises
After receiving parameter verification request instruction, the address date of user's input is received;
According to the address date, preconfigured data packet is sent to server;
Receive the feedback data that the server is returned according to preset protocol;
According to the data packet, the feedback data is verified;
User-defined first parameter value is transferred from configuration database;
From extracting the second parameter value obtained after first parameter value executes in the feedback data;
First parameter value and second parameter value are compared, to verify second parameter value.
Preferred embodiment according to the present invention, after receiving parameter verification request instruction, the method also includes:
From the parameter verification request instruction, the identity information of the user is obtained;
According to the identity information, the user is authenticated.
Preferred embodiment according to the present invention, the preset protocol include any of the following:
Hypertext transfer protocol, safely for the hypertext transfer protocol of target.
Preferred embodiment according to the present invention, described according to the data packet, verifying the feedback data includes:
Determine the second structure of data in the first structure and third parameter value and the data packet of the feedback data
And the 4th parameter value;
According to the second structure of data in the first structure of the feedback data and third parameter value and the data packet
And the 4th parameter value, verify the feedback data.
Preferred embodiment according to the present invention, the first structure and third parameter value according to the feedback data, and
The second structure and the 4th parameter value of data in the data packet, verifying the feedback data includes:
The first structure and second structure are compared, to carry out fuzzy verification to the feedback data;Or
Person
The first structure and second structure are compared, and the third parameter value and the described 4th are joined
Numerical value compares, strictly to be verified to the feedback data.
Preferred embodiment according to the present invention, it is described to be obtained after extracting the first parameter value execution in the feedback data
The second parameter value include:
Obtain the parameter name of first parameter value;
According to the parameter name of first parameter value, second parameter value is determined.
Preferred embodiment according to the present invention, it is described to compare first parameter value and second parameter value, with
Verifying second parameter value includes:
When first parameter value is consistent with second parameter value, determine that second parameter value passes through verification;Or
Person
When first parameter value and second parameter value are inconsistent, determine that second parameter value does not pass through school
It tests.
A kind of interface testing parameter calibrator, described device include:
Receiving unit, for receiving the address date of user's input after receiving parameter verification request instruction;
Transmission unit, for according to the address date, preconfigured data packet to be sent to server;
The receiving unit is also used to receive the feedback data that the server is returned according to preset protocol;
Verification unit, for verifying the feedback data according to the data packet;
Unit is transferred, for transferring user-defined first parameter value from configuration database;
Extraction unit, for from extracting the second parameter obtained after first parameter value executes in the feedback data
Value;
The verification unit is also used to compare first parameter value and second parameter value, to verify
State the second parameter value.
Preferred embodiment according to the present invention, the method also includes:
Acquiring unit, for from the parameter verification request instruction, obtaining after receiving parameter verification request instruction
The identity information of the user;
Authenticating unit, for being authenticated to the user according to the identity information.
Preferred embodiment according to the present invention, the preset protocol include any of the following:
Hypertext transfer protocol, safely for the hypertext transfer protocol of target.
Preferred embodiment according to the present invention, according to the data packet, verify the feedback data includes the verification unit:
Determine the second structure of data in the first structure and third parameter value and the data packet of the feedback data
And the 4th parameter value;
According to the second structure of data in the first structure of the feedback data and third parameter value and the data packet
And the 4th parameter value, verify the feedback data.
Preferred embodiment according to the present invention, the verification unit is according to the first structure and third parameter of the feedback data
The second structure and the 4th parameter value of data in value and the data packet, verifying the feedback data includes:
The first structure and second structure are compared, to carry out fuzzy verification to the feedback data;Or
Person
The first structure and second structure are compared, and the third parameter value and the described 4th are joined
Numerical value compares, strictly to be verified to the feedback data.
Preferred embodiment according to the present invention, the extraction unit are specifically used for:
Obtain the parameter name of first parameter value;
According to the parameter name of first parameter value, second parameter value is determined.
Preferred embodiment according to the present invention, the verification unit carry out first parameter value and second parameter value
It compares, includes: to verify second parameter value
When first parameter value is consistent with second parameter value, determine that second parameter value passes through verification;Or
Person
When first parameter value and second parameter value are inconsistent, determine that second parameter value does not pass through school
It tests.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the interface testing parameter verification method.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium
At least one instruction is stated to be executed by the processor in electronic equipment to realize the interface testing parameter verification method.
As can be seen from the above technical solutions, the present invention can be according to the address date, by preconfigured data packet
It is sent to server, to make the server make targeted response, and receives the server according to preset protocol
The feedback data of return verifies the feedback data first according to the data packet, then extracts from the feedback data described the
The second parameter value that one parameter value obtains after executing, first parameter value and second parameter value is compared, with school
Second parameter value is tested, to execute the process of parameter verification, completely to meet user demand.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of interface testing parameter verification method of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of interface testing parameter calibrator of the present invention.
Fig. 3 is the structural representation of the electronic equipment for the preferred embodiment that the present invention realizes interface testing parameter verification method
Figure.
Main element symbol description
Electronic equipment | 1 |
Memory | 12 |
Processor | 13 |
Interface testing parameter calibrator | 11 |
Receiving unit | 110 |
Transmission unit | 111 |
Verification unit | 112 |
Transfer unit | 113 |
Extraction unit | 114 |
Acquiring unit | 115 |
Authenticating unit | 116 |
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of interface testing parameter verification method of the present invention.According to different
Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.
The interface testing parameter verification method is applied in one or more electronic equipment, and the electronic equipment is one
Kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, and hardware includes
But be not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC),
Programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal
Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter
Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship
Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but
It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud
Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially
With network (Virtual Private Network, VPN) etc..
S10, after receiving parameter verification request instruction, the electronic equipment receives the address date of user's input.
Parameter verification method of the invention is applied in an interface testing platform, and the interface testing platform is equivalent to one
A WEB server (Website server), is developed using Java sentence, is deployed in Linux platform, when there is external server
When accessing the interface testing platform, the interface testing platform provides interface document test, interface for the external server
The service such as document management.
In at least one embodiment of the present invention, after interface testing is finished, in order to further ensure that interface is surveyed
The accuracy of implementing result is tried, the electronic equipment will carry out school to the relevant parameter (such as feedback data) in interface testing
It tests, to verify the correctness of interface testing.
Such as: the electronic equipment can carry out the answer code in interface testing, head response, response body etc. feedback data
Verification.
In at least one embodiment of the present invention, the parameter verification request instruction includes, but are not limited to following one kind
Or a variety of combination:
(1) user that the electronic equipment receives touches the signal of parameter verification request key.
Specifically, touch operation may include, but be not limited to the combination of following one or more:
Clicking operation (such as: double-clicking or click), slide.
Further, the parameter verification request key can be a physical button, be also possible to a virtual key
(such as: the virtual key can be virtual icon on the display of the electronic equipment etc.), the present invention is herein not
It is limited.
(2) the parameter verification voice request signal for the user input that the electronic equipment receives.
Specifically, the parameter verification voice request signal refer to one section stored in the electronic equipment it is preconfigured
Voice, in this way, can determine and connect when the electronic equipment receives voice signal consistent with the preconfigured voice
Have received the parameter verification voice request signal.
Such as: the parameter verification voice request signal can be " executing parameter verification " etc..
Further, the preconfigured voice can be configured by the electronic equipment, can also be by user's root
It is configured according to use habit, the present invention does not limit.
It should be noted that the user can also change the preconfigured voice according to newest demand, with reality
The flexible configuration of the existing preconfigured voice.
Certainly, in other embodiments, the parameter verification request instruction also may include other forms, and the present invention is unlimited
System.
In at least one embodiment of the present invention, the address date refers to what the user inputted according to verification demand
The address of designated position in server, by the address date, the electronic equipment can be accurately located described specified
Position, and interacted in the designated position and the server.
Preferably, after receiving parameter verification request instruction, the method also includes:
The electronic equipment obtains the identity information of the user from the parameter verification request instruction, and according to institute
Identity information is stated, the user is authenticated.
It is understood that corresponding to above-mentioned various forms of parameter verification request instructions, the mode of authentication also will
It is different, it specifically includes:
(1) when the parameter verification request instruction is that the user touch parameter verification that the electronic equipment receives is asked
When seeking the signal of key, the electronic equipment obtains the logon information of the user, and according to logon information acquisition
The identity information of user, the electronic equipment matches the identity information with pre-stored identity information, to institute
Identity information is stated to be authenticated.
Specifically, the electronic equipment includes: according to the identity information that the logon information obtains the user
The electronic equipment obtains the user name of the user from the log-on message, according to the user name, from finger
Determine database (such as: the internal database of the external data base or the electronic equipment that communicate with the electronic equipment
Deng) in transfer the identity information.
Further, the electronic equipment matches the identity information with pre-stored identity information, with right
The identity information carries out authentication
When the identity information and the pre-stored identity information successful match, described in the electronic equipment determination
User passes through authentication;Either, when it fails to match for the identity information and the pre-stored identity information, the electronics
Equipment determines that the user does not pass through authentication.
(2) when the parameter verification that the parameter verification request instruction is the user input that the electronic equipment receives
When voice request signal, the electronic equipment carries out the parameter verification voice request signal and the preconfigured voice
Matching, to be authenticated to the identity information.
Further, the electronic equipment can be to the parameter verification voice request signal and the preconfigured language
Sound carries out matching and matching of content of tone color etc., in this way, not only limiting the content of instruction, can also further limit
Make specific personnel, to can be further improved the safety of parameter verification, and it is possible to prevente effectively from the case where malicious operation go out
It is existing, unnecessary loss is reduced for user.
By above embodiment, the only described electronic equipment has been pre-configured with the personnel of verification permission, just can be implemented
The operation of parameter verification.
S11, the electronic equipment are sent to server according to the address date, by preconfigured data packet.
In at least one embodiment of the present invention, the electronic equipment stores the test case in interface test process
For the data packet, that is to say, that include at least one test case generated in interface test process, institute in the data packet
State the designated position that electronic equipment sends the data packet in the server, wherein the designated position is with described
Location data are corresponding.
In at least one embodiment of the present invention, the server is communicated with the electronic equipment, the server
The data packet is received, and is responded according to the data packet.
S12, the electronic equipment receive the feedback data that the server is returned according to preset protocol.
In at least one embodiment of the present invention, the server is on the corresponding position of the address date, according to
Preset protocol responds the data packet, and generates the feedback data, and the server is further by the feedback coefficient
According to being sent to the electronic equipment.
Specifically, the feedback data may include, but be not limited to: answer code, head response, response body etc..The feedback
Data can characterize the data packet and set after the server, generating according to the preset protocol and return to the electronics
Standby data.
Preferably, the preset protocol include, but are not limited to it is following any one:
Http protocol (Hyper Text Transfer Protocol, hypertext transfer protocol), HTTPS agreement (Hyper
Text Transfer Protocol over Secure Socket Layer, safely for the http protocol of target) etc..
By above embodiment, the electronic equipment is ready to receive to arrive the feedback data, convenient for subsequent to described anti-
Feedback data are verified.
S13, the electronic equipment verify the feedback data according to the data packet.
In at least one embodiment of the present invention, the electronic equipment can determine test case from the data packet
The structure and parameter of middle data.
Specifically, each data have a kind of data structure, such as: in JSON sentence, data structure be can be
Code+message+data etc.;And every part in data structure all has corresponding parameter value, such as: in said structure,
The parameter value that the parameter value of code can be 00, message can be Request successfully, and the parameter value of data can
To be User ID.
Preferably, according to the data packet, verify the feedback data includes the electronic equipment:
The electronic equipment determines number in the first structure and third parameter value and the data packet of the feedback data
According to the second structure and the 4th parameter value, and according to the first structure of the feedback data and third parameter value and the number
According to the second structure and the 4th parameter value of data in packet, the feedback data is verified.
In at least one embodiment of the present invention, the first structure and the third parameter value indicate the feedback coefficient
According to data attribute, that is, react the feedback data data structure and corresponding parameter value;Second structure and institute
Stating the 4th parameter value indicates the data attribute of data in the data packet, that is, reacts the data knot of data in the data packet
Structure and corresponding parameter value.
By comparing the data structure and parameter value between data, that is, it can determine the consistency of data.
Specifically, the electronic equipment will be to the third parameter value and the first structure and the 4th parameter
Value and second structure compare respectively, to judge whether the feedback data passes through verification.
Further, the electronic equipment, which verify to the feedback data, includes, but are not limited to following two verification
Mode: fuzzy verification and stringent verification.It is understood that corresponding to different checking modes, the electronic equipment will also be adopted
Take different methods of calibration.
Preferably, the electronic equipment is according to the first structure and third parameter value of the feedback data and the number
According to the second structure and the 4th parameter value of data in packet, verifying the feedback data includes:
The electronic equipment compares the first structure and second structure, to carry out to the feedback data
Fuzzy verification.
Alternatively, the electronic equipment compares the first structure and second structure, and by the third
Parameter value is compared with the 4th parameter value, strictly to be verified to the feedback data.
By above embodiment, the electronic equipment can be according to different verification demands, to the feedback data point
Fuzzy verification or stringent verification are not carried out.
Specifically, according to verification demand, when not needing to verify the parameter value of the feedback data, the electronics
Equipment can take the mode of fuzzy verification.And according to verification demand, when the parameter value and structure of the feedback data require
When being verified, the electronic equipment can take the mode strictly verified.
S14, the electronic equipment transfer user-defined first parameter value from configuration database.
In at least one embodiment of the present invention, user-defined first ginseng is store in the configuration database
Numerical value, and the electronic equipment can from the configuration database called data.That is, the present invention is to the configuration number
With no restrictions according to library.
In at least one embodiment of the present invention, first parameter value is the customized content of user, that is to say, that
After program execution, the parameter value in implementing result should be consistent with first parameter value.
Such as: in calling interface to realize in the program for adding good friend, first parameter value is user input
Customized good friend's name A, therefore, after program finishes execution, the parameter value in the implementing result of output also should be described
Good friend name A is carried out by customized good friend's name A of parameter value and user input in the implementing result that will export
Compare, the calling interface that whether succeeds can be tested out.
Further, first parameter value can be used as benchmark, to judge that the implementing result in the feedback data is
It is no correct.
S15, the electronic equipment are joined from second obtained after first parameter value executes is extracted in the feedback data
Numerical value.
In at least one embodiment of the present invention, second parameter value be program execute after, in implementing result with
The corresponding parameter value of first parameter value.That is, first parameter value is after execution, implementing result is described second
Parameter value.
Therefore, first parameter value is a pair of corresponding value with second parameter value, such as: first parameter value
It can be that user is customized and desired output valve, second parameter value should be with first parameter value one
It causes, is just able to satisfy the expection of user.
Preferably, the electronic equipment is from extracting second obtained after first parameter value executes in the feedback data
Parameter value includes:
The electronic equipment obtains the parameter name of first parameter value, and according to the parameter name of first parameter value,
Determine second parameter value.
By above embodiment, the electronic equipment can be according to parameter name, and determination is held with first parameter value
Corresponding second parameter value of row result.
S16, the electronic equipment compare first parameter value and second parameter value, to verify described
Two parameter values.
It at least one embodiment of the present invention, is institute after being executed to program to the verification of second parameter value
The verification of obtained implementing result, that is, the matching to the customized parameter of user saved in the configuration database,
After being executed with proving program, if implementing result is consistent with customized first parameter of the user, to further sentence
The correctness of disconnected implementing result.
Preferably, according to first parameter value, verify second parameter value includes: the electronic equipment
When first parameter value is consistent with second parameter value, the electronic equipment determines second parameter value
Pass through verification.
When first parameter value and second parameter value are inconsistent, the electronic equipment determines second parameter
It is worth unverified.
Specifically, the electronic equipment compares first parameter value and second parameter value, can be completed
Above-mentioned verification operation, to further be completed after the verification for carrying out the feedback data (i.e. the checking procedure of relevant parameter)
Verification (i.e. the checking procedure of implementing result) to second parameter value.
In conclusion preconfigured data packet can be sent to server according to the address date by the present invention, with
Just so that the server is made targeted response, and receive the feedback data that the server is returned according to preset protocol,
First according to the data packet, the feedback data is verified, then after extracting the first parameter value execution in the feedback data
The second obtained parameter value compares first parameter value and second parameter value, to verify second parameter
Value, to execute the process of parameter verification, completely to meet user demand.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of interface testing parameter calibrator of the present invention.It is described to connect
Mouth test parameter calibration equipment 11 includes receiving unit 110, transmission unit 111, verification unit 112, transfers unit 113, extracts
Unit 114, acquiring unit 115 and authenticating unit 116.So-called module/the unit of the present invention refers to that one kind can be by processor 13
It is performed, and the series of computation machine program segment of fixed function can be completed, storage is in memory 12.In the present embodiment
In, the function about each module/unit will be described in detail in subsequent embodiment.
After receiving parameter verification request instruction, receiving unit 110 receives the address date of user's input.
Parameter verification method of the invention is applied in an interface testing platform, and the interface testing platform is equivalent to one
A WEB server (Website server), is developed using Java sentence, is deployed in Linux platform, when there is external server
When accessing the interface testing platform, the interface testing platform provides interface document test, interface for the external server
The service such as document management.
In at least one embodiment of the present invention, after interface testing is finished, in order to further ensure that interface is surveyed
The accuracy of implementing result is tried, the electronic equipment will carry out school to the relevant parameter (such as feedback data) in interface testing
It tests, to verify the correctness of interface testing.
Such as: the electronic equipment can carry out the answer code in interface testing, head response, response body etc. feedback data
Verification.
In at least one embodiment of the present invention, the parameter verification request instruction includes, but are not limited to following one kind
Or a variety of combination:
(1) user that the receiving unit 110 receives touches the signal of parameter verification request key.
Specifically, touch operation may include, but be not limited to the combination of following one or more:
Clicking operation (such as: double-clicking or click), slide.
Further, the parameter verification request key can be a physical button, be also possible to a virtual key
(such as: the virtual key can be virtual icon on the display of the electronic equipment etc.), the present invention is herein not
It is limited.
(2) the parameter verification voice request signal for the user input that the receiving unit 110 receives.
Specifically, the parameter verification voice request signal refer to one section stored in the electronic equipment it is preconfigured
Voice, in this way, can determine and connect when the electronic equipment receives voice signal consistent with the preconfigured voice
Have received the parameter verification voice request signal.
Such as: the parameter verification voice request signal can be " executing parameter verification " etc..
Further, the preconfigured voice can be configured by the electronic equipment, can also be by user's root
It is configured according to use habit, the present invention does not limit.
It should be noted that the user can also change the preconfigured voice according to newest demand, with reality
The flexible configuration of the existing preconfigured voice.
Certainly, in other embodiments, the parameter verification request instruction also may include other forms, and the present invention is unlimited
System.
In at least one embodiment of the present invention, the address date refers to what the user inputted according to verification demand
The address of designated position in server, by the address date, the electronic equipment can be accurately located described specified
Position, and interacted in the designated position and the server.
Preferably, after receiving parameter verification request instruction, the method also includes:
Acquiring unit 115 obtains the identity information of the user, authenticating unit from the parameter verification request instruction
116, according to the identity information, authenticate the user.
It is understood that corresponding to above-mentioned various forms of parameter verification request instructions, the mode of authentication also will
It is different, it specifically includes:
(1) when the parameter verification request instruction is that the user that the receiving unit 110 receives touches parameter school
When testing the signal of request key, the acquiring unit 115 obtains the logon information of the user, and is obtained according to the logon information
Take the identity information of the user, the authenticating unit 116 carries out the identity information and pre-stored identity information
Match, to be authenticated to the identity information.
Specifically, the acquiring unit 115 includes: according to the identity information that the logon information obtains the user
The acquiring unit 115 obtains the user name of the user from the log-on message, according to the user name, from
Specified database is (such as: the internal database of the external data base or the electronic equipment that communicate with the electronic equipment
Deng) in transfer the identity information.
Further, the authenticating unit 116 matches the identity information with pre-stored identity information, with
Carrying out authentication to the identity information includes:
When the identity information and the pre-stored identity information successful match, the authenticating unit 116 is determined
The user passes through authentication;Either, described when it fails to match for the identity information and the pre-stored identity information
Authenticating unit 116 determines that the user does not pass through authentication.
(2) when the parameter that the parameter verification request instruction is the user input that the receiving unit 110 receives
Verify voice request signal when, the authenticating unit 116 by the parameter verification voice request signal with it is described preconfigured
Voice is matched, to authenticate to the identity information.
Further, the authenticating unit 116 can be pre-configured with the parameter verification voice request signal with described
Voice carry out the matching and matching of content etc. of tone color, can also be into one in this way, not only limit the content of instruction
Step is restricted to specific personnel, to can be further improved the safety of parameter verification, and it is possible to prevente effectively from malicious operation feelings
Condition occurs, and reduces unnecessary loss for user.
By above embodiment, the only described electronic equipment has been pre-configured with the personnel of verification permission, just can be implemented
The operation of parameter verification.
Transmission unit 111 is sent to server according to the address date, by preconfigured data packet.
In at least one embodiment of the present invention, the transmission unit 111 is by the test case in interface test process
It is stored as the data packet, that is to say, that include that at least one test generated in interface test process is used in the data packet
Example, the transmission unit 111 send the data packet to the designated position in the server, wherein the designated position
It is corresponding with the address date.
In at least one embodiment of the present invention, the server is communicated with the electronic equipment, the server
The data packet is received, and is responded according to the data packet.
The receiving unit 110 receives the feedback data that the server is returned according to preset protocol.
In at least one embodiment of the present invention, the server is on the corresponding position of the address date, according to
Preset protocol responds the data packet, and generates the feedback data, and the server is further by the feedback coefficient
According to being sent to the electronic equipment.
Specifically, the feedback data may include, but be not limited to: answer code, head response, response body etc..The feedback
Data can characterize the data packet and set after the server, generating according to the preset protocol and return to the electronics
Standby data.
Preferably, the preset protocol include, but are not limited to it is following any one:
Http protocol, HTTPS agreement etc..
By above embodiment, the electronic equipment is ready to receive to arrive the feedback data, convenient for subsequent to described anti-
Feedback data are verified.
Verification unit 112 verifies the feedback data according to the data packet.
In at least one embodiment of the present invention, the verification unit 112 can determine test from the data packet
The structure and parameter of data in use-case.
Specifically, each data have a kind of data structure, such as: in JSON sentence, data structure be can be
Code+message+data etc.;And every part in data structure all has corresponding parameter value, such as: in said structure,
The parameter value that the parameter value of code can be 00, message can be Request successfully, and the parameter value of data can
To be User ID.
Preferably, according to the data packet, verify the feedback data includes the verification unit 112:
The first structure and third parameter value of the determining feedback data of the verification unit 112 and the data packet
The second structure and the 4th parameter value of middle data, and according to the first structure of the feedback data and third parameter value, Yi Jisuo
The second structure and the 4th parameter value for stating data in data packet, verify the feedback data.
In at least one embodiment of the present invention, the first structure and the third parameter value indicate the feedback coefficient
According to data attribute, that is, react the feedback data data structure and corresponding parameter value;Second structure and institute
Stating the 4th parameter value indicates the data attribute of data in the data packet, that is, reacts the data knot of data in the data packet
Structure and corresponding parameter value.
By comparing the data structure and parameter value between data, that is, it can determine the consistency of data.
Specifically, the verification unit 112 will be to the third parameter value and the first structure and the 4th ginseng
Numerical value and second structure compare respectively, to judge whether the feedback data passes through verification.
Further, the verification unit 112, which verify to the feedback data, includes, but are not limited to following two school
Test mode: fuzzy verification and stringent verification.It is understood that corresponding to different checking modes, the verification unit 112
Different methods of calibration will be taken.
Preferably, the verification unit 112 is according to the first structure and third parameter value of the feedback data and described
The second structure and the 4th parameter value of data in data packet, verifying the feedback data includes:
The verification unit 112 compares the first structure and second structure, to the feedback data
Carry out fuzzy verification.
Alternatively, the verification unit 112 compares the first structure and second structure, and by described
Three parameter values are compared with the 4th parameter value, strictly to be verified to the feedback data.
By above embodiment, the verification unit 112 can be according to different verification demands, to the feedback data
Fuzzy verification or stringent verification are carried out respectively.
Specifically, according to verification demand, when not needing to verify the parameter value of the feedback data, the verification
Unit 112 can take the mode of fuzzy verification.And according to verification demand, when the parameter value and structure of the feedback data all need
When being verified, the verification unit 112 can take the mode strictly verified.
It transfers unit 113 and transfers user-defined first parameter value from configuration database.
In at least one embodiment of the present invention, user-defined first ginseng is store in the configuration database
Numerical value, and it is described transfer unit 113 can from the configuration database called data.That is, the present invention matches to described
Set database with no restrictions.
In at least one embodiment of the present invention, first parameter value is the customized content of user, that is to say, that
After program execution, the parameter value in implementing result should be consistent with first parameter value.
Such as: in calling interface to realize in the program for adding good friend, first parameter value is user input
Customized good friend's name A, therefore, after program finishes execution, the parameter value in the implementing result of output also should be described
Good friend name A is carried out by customized good friend's name A of parameter value and user input in the implementing result that will export
Compare, the calling interface that whether succeeds can be tested out.
Further, first parameter value can be used as benchmark, to judge that the implementing result in the feedback data is
It is no correct.
Extraction unit 114 is from extracting the second parameter value obtained after first parameter value executes in the feedback data.
In at least one embodiment of the present invention, second parameter value be program execute after, in implementing result with
The corresponding parameter value of first parameter value.That is, first parameter value is after execution, implementing result is described second
Parameter value.
Therefore, first parameter value is a pair of corresponding value with second parameter value, such as: first parameter value
It can be that user is customized and desired output valve, second parameter value should be with first parameter value one
It causes, is just able to satisfy the expection of user.
Preferably, the extraction unit 114 obtains after extracting the first parameter value execution in the feedback data
Second parameter value includes:
The extraction unit 114 obtains the parameter name of first parameter value, and according to the parameter of first parameter value
Name, determines second parameter value.
By above embodiment, the extraction unit 114 can be determining and first parameter value according to parameter name
Corresponding second parameter value of implementing result.
The verification unit 112 compares first parameter value and second parameter value, to verify described
Two parameter values.
It at least one embodiment of the present invention, is institute after being executed to program to the verification of second parameter value
The verification of obtained implementing result, that is, the matching to the customized parameter of user saved in the configuration database,
After being executed with proving program, if implementing result is consistent with customized first parameter of the user, to further sentence
The correctness of disconnected implementing result.
Preferably, the verification unit 112 compares first parameter value and second parameter value, with verification
Second parameter value includes:
When first parameter value is consistent with second parameter value, the verification unit 112 determines second ginseng
Numerical value passes through verification.
When first parameter value and second parameter value are inconsistent, the verification unit 112 determines described second
Parameter value is unverified.
Specifically, the verification unit 112 compares first parameter value and second parameter value, can be complete
At above-mentioned verification operation, thus after the verification for carrying out the feedback data (i.e. the checking procedure of relevant parameter), it is further complete
The verification (i.e. the checking procedure of implementing result) of pairs of second parameter value.
In conclusion preconfigured data packet can be sent to server according to the address date by the present invention, with
Just so that the server is made targeted response, and receive the feedback data that the server is returned according to preset protocol,
First according to the data packet, the feedback data is verified, then after extracting the first parameter value execution in the feedback data
The second obtained parameter value compares first parameter value and second parameter value, to verify second parameter
Value, to execute the process of parameter verification, completely to meet user demand.
As shown in figure 3, being the knot of the electronic equipment for the preferred embodiment that the present invention realizes interface testing parameter verification method
Structure schematic diagram.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or
The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number
Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user
The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone,
Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet
Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially
With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13,
And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as interface testing parameter
Checking routine.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons
The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components
Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection
The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation
Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place
Reason device 13 executes the application program to realize the step in above-mentioned each interface testing parameter verification embodiment of the method, such as schemes
Step S10, S11, S12, S13, S14, S15, S16 shown in 1.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program
The function of member, such as: after receiving parameter verification request instruction, receive the address date of user's input;According to the address
Preconfigured data packet is sent to server by data;Receive the feedback data that the server is returned according to preset protocol;
According to the data packet, the feedback data is verified;User-defined first parameter value is transferred from configuration database;From
The second parameter value obtained after first parameter value executes is extracted in the feedback data;By first parameter value with it is described
Second parameter value compares, to verify second parameter value.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one
Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching
State implementation procedure of the computer program in the electronic equipment 1.It is connect for example, the computer program can be divided into
It receives unit 110, transmission unit 111, verification unit 112, transfer unit 113, extraction unit 114, acquiring unit 115 and authentication list
Member 116.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or
The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12,
Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area,
In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image
Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone
Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly
Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states
Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described
Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access
Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to
Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real
All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program
At the computer program can be stored in a computer readable storage medium, which is being executed by processor
When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code
Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can
Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code
Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access
Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium
The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments
Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize a kind of interface testing ginseng
The multiple instruction can be performed to realize in number method of calibration, the processor 13: after receiving parameter verification request instruction,
Receive the address date of user's input;According to the address date, preconfigured data packet is sent to server;Receive institute
State the feedback data that server is returned according to preset protocol;According to the data packet, the feedback data is verified;From configuration data
User-defined first parameter value is transferred in library;It is obtained from being extracted in the feedback data after first parameter value executes
The second parameter value;First parameter value and second parameter value are compared, to verify second parameter value.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
From the parameter verification request instruction, the identity information of the user is obtained;
According to the identity information, the user is authenticated.
Preferred embodiment according to the present invention, the preset protocol include any of the following:
Hypertext transfer protocol, safely for the hypertext transfer protocol of target.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Determine the second structure of data in the first structure and third parameter value and the data packet of the feedback data
And the 4th parameter value;
According to the second structure of data in the first structure of the feedback data and third parameter value and the data packet
And the 4th parameter value, verify the feedback data.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The first structure and second structure are compared, to carry out fuzzy verification to the feedback data;Or
Person
The first structure and second structure are compared, and the third parameter value and the described 4th are joined
Numerical value compares, strictly to be verified to the feedback data.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Obtain the parameter name of first parameter value;
According to the parameter name of first parameter value, second parameter value is determined.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
When first parameter value is consistent with second parameter value, determine that second parameter value passes through verification;Or
Person
When first parameter value and second parameter value are inconsistent, determine that second parameter value does not pass through school
It tests.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment
The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.It is described to be said as separation unit
Bright module may or may not be physically separated, and the component shown as module can be or can not also
It is physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual need
Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this
The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in
All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit
Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims
The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used
It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of interface testing parameter verification method, which is characterized in that the described method includes:
After receiving parameter verification request instruction, the address date of user's input is received;
According to the address date, preconfigured data packet is sent to server;
Receive the feedback data that the server is returned according to preset protocol;
According to the data packet, the feedback data is verified;
User-defined first parameter value is transferred from configuration database;
From extracting the second parameter value obtained after first parameter value executes in the feedback data;
First parameter value and second parameter value are compared, to verify second parameter value.
2. interface testing parameter verification method as described in claim 1, which is characterized in that refer to receiving parameter verification request
After order, the method also includes:
From the parameter verification request instruction, the identity information of the user is obtained;
According to the identity information, the user is authenticated.
3. interface testing parameter verification method as described in claim 1, which is characterized in that the preset protocol includes following
It anticipates one kind:
Hypertext transfer protocol, safely for the hypertext transfer protocol of target.
4. interface testing parameter verification method as described in claim 1, which is characterized in that described according to the data packet, school
Testing the feedback data includes:
Determine the second structure of data and in the first structure and third parameter value and the data packet of the feedback data
Four parameter values;
According to the second structure of data in the first structure of the feedback data and third parameter value and the data packet and
Four parameter values verify the feedback data.
5. interface testing parameter verification method as claimed in claim 4, which is characterized in that described according to the feedback data
The second structure and the 4th parameter value of data, verify the feedback in first structure and third parameter value and the data packet
Data include:
The first structure and second structure are compared, to carry out fuzzy verification to the feedback data;Or
The first structure and second structure are compared, and by the third parameter value and the 4th parameter value
It compares, strictly to be verified to the feedback data.
6. interface testing parameter verification method as described in claim 1, which is characterized in that described to be mentioned from the feedback data
The second parameter value obtained after taking first parameter value to execute includes:
Obtain the parameter name of first parameter value;
According to the parameter name of first parameter value, second parameter value is determined.
7. interface testing parameter verification method as described in claim 1, which is characterized in that it is described by first parameter value with
Second parameter value compares, and includes: to verify second parameter value
When first parameter value is consistent with second parameter value, determine that second parameter value passes through verification;Or
When first parameter value and second parameter value are inconsistent, determine that second parameter value is unverified.
8. a kind of interface testing parameter calibrator, which is characterized in that described device includes:
Receiving unit, for receiving the address date of user's input after receiving parameter verification request instruction;
Transmission unit, for according to the address date, preconfigured data packet to be sent to server;
The receiving unit is also used to receive the feedback data that the server is returned according to preset protocol;
Verification unit, for verifying the feedback data according to the data packet;
Unit is transferred, for transferring user-defined first parameter value from configuration database;
Extraction unit, for from extracting the second parameter value obtained after first parameter value executes in the feedback data;
The verification unit is also used to compare first parameter value and second parameter value, to verify described
Two parameter values.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize interface as claimed in any of claims 1 to 7 in one of claims
Test parameter method of calibration.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium
A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 7
The interface testing parameter verification method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536796.7A CN109857634A (en) | 2018-12-15 | 2018-12-15 | Interface testing parameter verification method, apparatus, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536796.7A CN109857634A (en) | 2018-12-15 | 2018-12-15 | Interface testing parameter verification method, apparatus, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109857634A true CN109857634A (en) | 2019-06-07 |
Family
ID=66891254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811536796.7A Pending CN109857634A (en) | 2018-12-15 | 2018-12-15 | Interface testing parameter verification method, apparatus, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109857634A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110275831A (en) * | 2019-06-18 | 2019-09-24 | 广州华多网络科技有限公司 | The mock data verification method and device of protocol interface |
CN111752847A (en) * | 2020-06-30 | 2020-10-09 | 贝壳技术有限公司 | Interface comparison method, micro server, computer readable storage medium and electronic device |
CN113641585A (en) * | 2021-08-20 | 2021-11-12 | 成方金融科技有限公司 | Test data generation method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5495571A (en) * | 1992-09-30 | 1996-02-27 | Microsoft Corporation | Method and system for performing parametric testing of a functional programming interface |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
CN104111885A (en) * | 2013-04-22 | 2014-10-22 | 腾讯科技(深圳)有限公司 | Method and device for verifying interface test results |
CN105099811A (en) * | 2015-06-03 | 2015-11-25 | 北京金山安全软件有限公司 | Interface testing method and device |
CN105897497A (en) * | 2015-07-20 | 2016-08-24 | 广州华多网络科技有限公司 | Interface test method, application device and service device |
CN106155891A (en) * | 2015-04-02 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Interface test method, interface description data library generating method and device |
CN106776324A (en) * | 2016-12-19 | 2017-05-31 | 广州酷狗计算机科技有限公司 | Interface test method and device |
-
2018
- 2018-12-15 CN CN201811536796.7A patent/CN109857634A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5495571A (en) * | 1992-09-30 | 1996-02-27 | Microsoft Corporation | Method and system for performing parametric testing of a functional programming interface |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
CN104111885A (en) * | 2013-04-22 | 2014-10-22 | 腾讯科技(深圳)有限公司 | Method and device for verifying interface test results |
CN106155891A (en) * | 2015-04-02 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Interface test method, interface description data library generating method and device |
CN105099811A (en) * | 2015-06-03 | 2015-11-25 | 北京金山安全软件有限公司 | Interface testing method and device |
CN105897497A (en) * | 2015-07-20 | 2016-08-24 | 广州华多网络科技有限公司 | Interface test method, application device and service device |
CN106776324A (en) * | 2016-12-19 | 2017-05-31 | 广州酷狗计算机科技有限公司 | Interface test method and device |
Non-Patent Citations (1)
Title |
---|
林连进等: "《软件测试技术》", 北京理工大学出版社, pages: 97 - 100 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110275831A (en) * | 2019-06-18 | 2019-09-24 | 广州华多网络科技有限公司 | The mock data verification method and device of protocol interface |
CN110275831B (en) * | 2019-06-18 | 2023-10-27 | 广州华多网络科技有限公司 | Mock data verification method and device of protocol interface |
CN111752847A (en) * | 2020-06-30 | 2020-10-09 | 贝壳技术有限公司 | Interface comparison method, micro server, computer readable storage medium and electronic device |
CN113641585A (en) * | 2021-08-20 | 2021-11-12 | 成方金融科技有限公司 | Test data generation method, device, equipment and storage medium |
CN113641585B (en) * | 2021-08-20 | 2023-04-07 | 成方金融科技有限公司 | Test data generation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10915702B2 (en) | Methods and systems for validating multiple methods of input using a unified rule set | |
CN110602052B (en) | Micro-service processing method and server | |
US10740411B2 (en) | Determining repeat website users via browser uniqueness tracking | |
US20120079576A1 (en) | Authentication Method and Apparatus | |
US10691822B1 (en) | Policy validation management | |
EP3191998A1 (en) | Methods and systems for secure and reliable identity-based computing | |
US11763202B2 (en) | Shared prediction engine for machine learning model deployment | |
WO2021260398A1 (en) | Determining risk metrics for access requests in network environments using multivariate modeling | |
CN110311891B (en) | Account management method and device, computer equipment and storage medium | |
CN109857634A (en) | Interface testing parameter verification method, apparatus, electronic equipment and storage medium | |
CN113076104A (en) | Page generation method, device, equipment and storage medium | |
CN113761514B (en) | Cloud desktop multi-factor security authentication method and system | |
CN108243154B (en) | verification code data processing method and device | |
US10158650B1 (en) | Token verification from incremental inputs | |
CN109542757A (en) | Interface testing environment determines method, apparatus, electronic equipment and storage medium | |
US7962847B2 (en) | Method for providing dynamic process step annotations | |
US10270771B1 (en) | Mid-session live user authentication | |
CN112181482B (en) | Version verification method and device, electronic equipment and storage medium | |
CN113781084A (en) | Questionnaire display method and device | |
CN108632348B (en) | Service checking method and device | |
EP3285179A1 (en) | Data transfer method and device | |
US11928051B2 (en) | Test space sampling for model-based biased random system test through rest API | |
CN112052152A (en) | Simulation test method and device | |
CN111897728B (en) | Interface debugging method and related equipment | |
CN109582450B (en) | Application program management method, device, medium and electronic equipment |
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 |