CN104615534B - interface test method and device - Google Patents
interface test method and device Download PDFInfo
- Publication number
- CN104615534B CN104615534B CN201510043490.8A CN201510043490A CN104615534B CN 104615534 B CN104615534 B CN 104615534B CN 201510043490 A CN201510043490 A CN 201510043490A CN 104615534 B CN104615534 B CN 104615534B
- Authority
- CN
- China
- Prior art keywords
- code file
- test code
- test
- independent
- public
- 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.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of interface test method and device, belong to technical field of measurement and test.Methods described includes:The corresponding independent test code file of target interface of test needed for calling;Public test code file is called by independent test code file, and the corresponding test parameter of target interface and interface path are passed into public test code file;Request data is generated according to test parameter and public test parameter by public test code file, and request address is generated according to interface path and test environment address;Target interface is tested according to request data and request address by public test code file.The problem of reusability for the test code that the present invention exists when solving correlation technique for interface testing is low;By configuring different independent test code files and the public test code file of identical for different interfaces, the test code needed for unified planning and management distinct interface improves the reusability of test code.
Description
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of interface test method and device.
Background technology
Interface testing refers to test the software interface of different system inter-module.Such as, can be set in server has
One or more HTTP (Hypertext Transfer Protocol, HTTP) service interfaces, for client
End provides web services.In order to ensure service quality, it is necessary to test HTTP service interface.
Because there is larger difference in terms of function, agreement and operating specification in different interfaces so that can not be using logical
Testing tool docking port is tested.At present, in related interface test method, for different interfaces, it is necessary to survey
Examination personnel seriatim write different test codes manually, and different interfaces is tested with realizing.
However, aforesaid way lacks unified planning and management to different test codes, cause the multiplexing for testing code
Rate is low.
The content of the invention
In order to the reusability of the test code existed when solving above-mentioned technology for interface testing it is low the problem of, the present invention is real
Example is applied there is provided a kind of interface test method and device.The technical scheme is as follows:
First aspect includes there is provided a kind of interface test method, methods described:
It is pre- in the corresponding independent test code file of target interface of test, the independent test code file needed for calling
First it is provided with the corresponding test parameter of the target interface and interface path;
Public test code file is called by the independent test code file, and by the test parameter and described connect
Mouth path passes in the public test code file, the public test code file and is previously provided with public test parameter
With test environment address;
Number of request is generated according to the test parameter and the public test parameter by the public test code file
According to, and request address is generated according to the interface path and the test environment address;
By the public test code file according to the request data and the request address to the target interface
Tested.
Optionally, it is described by it is described it is public test code file according to the request data and the request address to institute
State after target interface tested, in addition to:
The returned data of the target interface is obtained by the public test code file, the returned data is described
What target interface was obtained after handling the request data;
The independent test code file is called by the public test code file, and the returned data is transmitted
To the independent test code file;
Actual result is extracted from the returned data by the independent test code file, and to the actual result
It is compared with default expected result and obtains test result.
Optionally, it is described that actual result is extracted from the returned data by the independent test code file and right
The actual result is compared with default expected result and obtains test result, including:
When the independent test code file include the first independent test code file and the second independent test code file,
And when the corresponding expected result of the target interface is previously provided with the first independent test code file,
The actual result is extracted from the returned data by the second independent test code file;
The first independent test code file is called by the second independent test code file, and by the reality
As a result the first independent test code file is passed to;
The actual result is compared with the expected result by the first independent test code file and obtained
The test result.
Optionally, it is described that actual result is extracted from the returned data by the independent test code file and right
The actual result and default expected result are compared obtain test result after, in addition to:
Execution ANT scripts are called by the independent test code file, and the test result is passed into the ANT
Script;
Test report is generated according to the test result by the ANT scripts;
The test report is transmitted by the ANT scripts.
Optionally, it is described that public test code file is called by the independent test code file, and by the interface
Path and the test parameter pass to the public test code file, including:
When the independent test code file include the first independent test code file and the second independent test code file,
And the corresponding test parameter of the target interface is previously provided with the first independent test code file, described second is independent
When being previously provided with the corresponding interface path of the target interface in test code file,
The second independent test code file is called by the first independent test code file, and by the test
Parameter passes to the second independent test code file;
The test parameter is pre-processed by the second independent test code file, the pretreatment includes row
At least one of in sequence processing, encryption, packing processing;
The public test code file is called by the second independent test code file, and by pretreated institute
State test parameter and the interface path passes to the public test code file.
Optionally, the public test code file, including:
First public test code file and the second public test code file;
Wherein, the described first public test code file is used for the Hyper text transfer to being conducted interviews with post request methods
Agreement HTTP service interface is tested, and the second public test code file is used for being conducted interviews with get request methods
HTTP service interface tested.
Optionally, it is described call needed for test the corresponding independent test code file of target interface, including:
Execution ANT scripts, institute are called by the autoexec being pre-set in the Mission Planning Program of operating system
State operating system be used for according to it is default call the moment and/or preset call the cycle to call the autoexec;
The corresponding independent test code file of target interface of the required test is called by the ANT scripts.
Second aspect includes there is provided a kind of interface test device, described device:
First calling module, the corresponding independent test code file of target interface of test needed for for calling is described only
The corresponding test parameter of the target interface and interface path are previously provided with vertical test code file;
Second calling module, for calling public test code file by the independent test code file, and by institute
State test parameter and the interface path is passed in the public test code file, the public test code file in advance
It is provided with public test parameter and test environment address;
First generation module, for by it is described it is public test code file according to the test parameter and it is described it is public survey
Parameter generation request data is tried, and request address is generated according to the interface path and the test environment address;
Test module, for by it is described it is public test code file according to the request data and the request address pair
The target interface is tested.
Optionally, described device also includes:
Acquisition module, the returned data for obtaining the target interface by the public test code file is described
Returned data is obtained after the target interface is handled the request data;
3rd calling module, for calling the independent test code file by the public test code file, and
The returned data is passed into the independent test code file;
Extraction module, for extracting actual result from the returned data by the independent test code file, and
The actual result and default expected result are compared and obtain test result.
Optionally, the extraction module, including:Extraction unit, the first call unit and comparing unit;
The extraction unit, for including the first independent test code file and second when the independent test code file
The corresponding expectation of the target interface is previously provided with independent test code file, and the first independent test code file
When as a result, the actual result is extracted from the returned data by the second independent test code file;
First call unit, for calling first independent test by the second independent test code file
Code file, and the actual result is passed into the first independent test code file;
The comparing unit, for being expected by the first independent test code file with described the actual result
As a result it is compared and obtains the test result.
Optionally, described device also includes:
4th calling module, for calling execution ANT scripts by the independent test code file, and by the test
As a result the ANT scripts are passed to;
Second generation module, for generating test report according to the test result by the ANT scripts;
Sending module, for being transmitted the test report by the ANT scripts.
Optionally, second calling module, including:Second call unit, processing unit and the 3rd call unit;
Second call unit, for when the independent test code file include the first independent test code file and
It is corresponding that the target interface is previously provided with second independent test code file, and the first independent test code file
When the corresponding interface path of the target interface is previously provided with test parameter, the second independent test code file, lead to
Cross the first independent test code file and call the second independent test code file, and the test parameter is passed to
The second independent test code file;
The processing unit, for being located in advance to the test parameter by the second independent test code file
Reason, the pretreatment includes at least one in sequence processing, encryption, packing processing;
3rd call unit, for calling the public test code by the second independent test code file
File, and the pretreated test parameter and the interface path are passed into the public test code file.
Optionally, the public test code file, including:
First public test code file and the second public test code file;
Wherein, the described first public test code file is used for the Hyper text transfer to being conducted interviews with post request methods
Agreement HTTP service interface is tested, and the second public test code file is used for being conducted interviews with get request methods
HTTP service interface tested.
Optionally, first calling module, including:4th call unit and the 5th call unit;
4th call unit, for the batch processing text by being pre-set in the Mission Planning Program of operating system
Part calls execution ANT scripts, and the operating system is preset to call the moment and/or preset for basis calls the cycle to call described criticize
Handle file;
5th call unit, for calling the target interface of the required test corresponding by the ANT scripts
Independent test code file.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought includes:
When testing target interface, the corresponding independent test code file of invocation target interface first, by only
Vertical test code file calls public test code file, and the corresponding test parameter of target interface and interface path are passed to
Public test code file, then generates number of request by public test code file according to test parameter and public test parameter
According to, and request address is generated according to interface path and test environment address, and then realization is tested target interface;Solve
Correlation technique is directed to the problem of reusability for testing code existed during interface testing is low;By configuring different for different interfaces
Independent test code file and the public test code file of identical, unified planning and management distinct interface needed for test
Code, improves the reusability of test code.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the method flow diagram for the interface test method that one embodiment of the invention is provided;
Fig. 2 is the method flow diagram for the interface test method that another embodiment of the present invention is provided;
Fig. 3 is the method flow diagram for the interface test method that another embodiment of the present invention is provided;
Fig. 4 is the method flow diagram for the interface test method that another embodiment of the present invention is provided;
Fig. 5 is the method flow diagram for the interface test method that another embodiment of the present invention is provided;
Fig. 6 is the method flow diagram for the interface test method that another embodiment of the present invention is provided;
Fig. 7 is the block diagram for the interface test device that one embodiment of the invention is provided;
Fig. 8 A are the block diagrams for the interface test device that another embodiment of the present invention is provided;
Fig. 8 B are the block diagrams for the extraction module that another embodiment of the present invention is related to;
Fig. 8 C are the block diagrams for the second calling module that another embodiment of the present invention is related to;
Fig. 8 D are the block diagrams for the first calling module that another embodiment of the present invention is related to;
Fig. 9 is the structural representation for the electronic equipment that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is refer to, the method flow diagram of the interface test method provided it illustrates one embodiment of the invention.This connects
Mouth method of testing can be applied in the electronic equipments such as mobile phone, tablet personal computer, pocket computer on knee, desktop computer.
The interface test method can include following several steps:
Step 102, the corresponding independent test code file of target interface of test needed for calling, independent test code text
The corresponding test parameter of target interface and interface path are previously provided with part.
In the present embodiment, it is that different interfaces is pre-configured with different independent test code files.When needing to target
When interface is tested, the corresponding independent test code file of invocation target interface.In each independent test code file,
Tester sets corresponding test parameter and interface path previously according to testing requirement.Wherein, test parameter can be one group,
Can also be multigroup, the present embodiment is not especially limited.
In addition, in the present embodiment, the interface being related to refers to software interface.For example, HTTP service interface.
Step 104, public test code file is called by independent test code file, and by test parameter and interface road
Footpath passes to public test code file, and public test parameter and test environment are previously provided with the public test code file
Address.
In the present embodiment, in order to improve the reusability of test code, it is public to be that different interfaces is pre-configured with identical
Test code file.In public test code file, tester previously according to testing requirement set public test parameter and
Test environment address.
Optionally, when public test parameter needs real-time generation, it can also be given birth to by the public test code file
Into.For example, obtaining access token and/or generation signature etc. by public test code file.
Step 106, request data is generated according to test parameter and public test parameter by public test code file, and
According to interface path and test environment address generation request address.
Public test code file is integrated the corresponding test parameter of target interface and public test parameter, and constituting please
Seek data.Also, public test code file is integrated the corresponding interface path of target interface and test environment address, structure
Into request address.Request address can be URL (Uniform Resource Locator, URL).
Step 108, target interface is tested according to request data and request address by public test code file.
Public test code file access request address, and request data is sent to the request address.Accordingly, target
Interface is handled request data, and target interface is tested so as to realize.
In summary, the interface test method that the present embodiment is provided, when testing target interface, calls mesh first
Mouthful corresponding independent test code file of tag splice, public test code file is called by independent test code file, and by mesh
The corresponding test parameter of tag splice mouthful and interface path pass to public test code file, then pass through public test code file
According to test parameter and public test parameter generation request data, and according to interface path and test environment address generation request ground
Location, so realize target interface is tested;The test code existed when solving correlation technique for interface testing is answered
With rate it is low the problem of;By configuring different independent test code file and the public test code of identical for different interface
Test code needed for file, unified planning and management distinct interface, improves the reusability of test code.
Fig. 2 is refer to, the flow chart of the interface test method provided it illustrates another embodiment of the present invention.In the interface
In method of testing, after the step 108 of embodiment illustrated in fig. 1, in addition to:
Step 110, the returned data of target interface is obtained by public test code file, the returned data is that target connects
What mouth was obtained after handling request data.
After target interface is handled request data, returned data is generated according to result, and returned data is anti-
Feed public test code file.Accordingly, public test code file obtains the returned data of target interface.
Optionally, the data format of returned data can be that (JavaScript Object Notation, one kind is light by JSON
The data interchange format of magnitude) form.
Step 112, independent test code file is called by public test code file, and returned data is passed to solely
Vertical test code file.
Step 114, actual result is extracted from returned data by independent test code file, and to actual result and in advance
If expected result be compared and obtain test result.
Independent test code file is parsed to returned data, and actual result is extracted from returned data.Returned for example, working as
When returning data for JSON character strings, independent test code file is parsed to JSON character strings, and therefrom extraction needs field.
In addition, in each independent test code file, tester pre-sets expectation corresponding with test parameter
As a result.Independent test code file is extracted after actual result, and actual result is compared with expected result, obtains test knot
Really.Such as, when actual result is identical with expected result, test passes through;Conversely, when actual result is different from expected result,
Test does not pass through.
In summary, the interface test method that the present embodiment is provided, it is also automatic to reality by independent test code file
As a result it is compared with default expected result and obtains test result, judgement tests whether to pass through, compared to generally using at present
Artificial contrastive test result, not only increase testing efficiency, it is thus also avoided that artificial erroneous judgement, improve the accurate of test result
Property.
Fig. 3/Fig. 4 is refer to, the flow chart of the interface test method provided it illustrates another embodiment of the present invention.At this
In embodiment, independent test code file includes the first independent test code file and the second independent test code file.Specifically
For:
The corresponding test parameter of target interface is previously provided with as shown in figure 3, working as in the first independent test code file, the
When the corresponding interface path of target interface is previously provided with two independent test code files, the step in embodiment illustrated in fig. 1
104 may include following several sub-steps:
Step 104a, calls the second independent test code file, and test is joined by the first independent test code file
Number passes to the second independent test code file.
When needing to test target interface, the first independent test code file is called first.Each first
In independent test code file, tester sets corresponding test parameter previously according to testing requirement.Afterwards, it is only by first
Vertical test code file calls the second independent test code file, and test parameter is passed into the second independent test code text
Part.
Optionally, for the ease of management, the filename of the first independent test code file can be named with specification.Can in one kind
In the embodiment of energy, the file of the first independent test code file is entitled:Interface name+Test.For example, Login interfaces pair
The file for the first independent test code file answered is entitled " LoginTest.java ".
Step 104b, is pre-processed by the second independent test code file to test parameter.
Wherein, pretreatment includes at least one in sequence processing, encryption, packing processing.Need a bit of explanation
It is:Pretreatment mode is set in advance according to the corresponding interface protocol of distinct interface.For different interfaces, used
Pretreatment mode can be with identical, can also be different.
Optionally, for the ease of management, the filename of the second independent test code file can be named with specification.Can in one kind
In the embodiment of energy, the file of the second independent test code file is entitled:Interface name.For example, Login interfaces corresponding
The file of two independent test code files is entitled " Login.java ".
Step 104c, public test code file is called by the second independent test code file, and will be pretreated
Test parameter and interface path pass to public test code file.
In each second independent test code file, tester pre-sets corresponding interface path.Second is only
Vertical test code file calls public test after the test parameter incoming to the first independent test code file completes pretreatment
Code file, and pretreated test parameter and interface path are passed into public test code file.
Optionally, as shown in figure 4, target interface is corresponding to be expected when being previously provided with the first independent test code file
When as a result, the step 114 in embodiment illustrated in fig. 2 can include following several sub-steps:
Step 114a, actual result is extracted by the second independent test code file from returned data.
Public test code file is obtained after the returned data of target interface, calls the second independent test code file, and
Returned data is passed into the second independent test code file.Second independent test code file possesses data processing function, leads to
Cross the second independent test code file and actual result is extracted from returned data.The extraction process of actual result is real shown in Fig. 2
By the agency of and explanation are applied in example, be will not be repeated here.
Step 114b, the first independent test code file is called by the second independent test code file, and by actual knot
Fruit passes to the first independent test code file.
Step 114c, is compared with expected result to actual result by the first independent test code file and is tested
As a result.
In each first independent test code file, tester pre-sets expectation knot corresponding with test parameter
Really.First independent test code file is got after the incoming actual result of the second independent test code file, to actual result
It is compared with expected result, obtains test result.
In summary, the interface test method that the present embodiment is provided, also by from functional angle by independent test generation
Code file is divided so that code structure is relatively sharp, and use is more flexible, is managed also more convenient.
Fig. 5 is refer to, the flow chart of the interface test method provided it illustrates another embodiment of the present invention.In the interface
In method of testing, after the step 114 of embodiment illustrated in fig. 2, in addition to:
Step 116, execution ANT scripts are called by independent test code file, and test result is passed into ANT pin
This.
ANT is an automatized script engine based on Java, and script format is XML (Extensible Markup
Language, extensible markup language).In the present embodiment, by ANT script applications in interface testing, given birth to by ANT scripts
Into test report.
Optionally, when independent test code file includes the first independent test code file and the second independent test code text
During part, execution ANT scripts are called by the first independent test code file, and test result is passed into ANT scripts.
Step 118, test report is generated according to test result by ANT scripts.
ANT scripts can generate HTML (Hypertext Markup Language, hypertext markup language according to test result
Speech) form test report.
Step 120, test report is transmitted by ANT scripts.
Test report is sent to dependence test personnel by ANT scripts, completes whole automatic test course.
Optionally, test report is transmitted by ANT scripts with mail he.
In summary, the interface test method that the present embodiment is provided, is also generated according to test result by ANT scripts and tested
Report, and test report is sent to dependence test personnel, realize and automatically generate test report, and be easy to tester
Obtain test report.
Fig. 6 is refer to, the flow chart of the interface test method provided it illustrates another embodiment of the present invention.In the interface
In method of testing, above-mentioned steps 102 can include following several sub-steps:
Step 102a, execution is called by the autoexec being pre-set in the Mission Planning Program of operating system
ANT scripts.
Wherein, operating system is preset to call the moment and/or preset for basis calls the cycle to call autoexec.Test
Personnel can add autoexec in the Mission Planning Program of operating system in advance, and set the time of running and/or operation week
Phase.When meeting the time of running and/or the cycle of operation, operating system calls autoexec, and is called by autoexec
Perform ANT scripts.
Step 102b, the corresponding independent test code file of target interface of test needed for being called by ANT scripts.
In the present embodiment, ANT scripts are also equipped with calling the function of independent test code file.It can be determined using ANT scripts
Justice, the independent test code file for calling required operation.
Optionally, when independent test code file includes the first independent test code file and the second independent test code text
During part, the corresponding first independent test code file of target interface of test needed for being called by ANT scripts.
In summary, the interface test method that the present embodiment is provided, also by the Mission Planning Program of operating system
Autoexec is pre-set, and the corresponding time of running and/or the cycle of operation are set, the automatic of testing process is realized and holds
OK, more convenient, automation.
Optionally, in any embodiment shown in above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5 or Fig. 6, the public survey being related to
Code file is tried, can be included:First public test code file and the second public test code file.Wherein, first is public
Test code file is used to test the HTTP service interface conducted interviews with post request methods, the second public test generation
Code file is used to test the HTTP service interface conducted interviews with get request methods.
When public test code file includes the first public test code file and the second public test code file, survey
Examination personnel call previously according to the corresponding request method of distinct interface needed for being set in each independent test code file
Public test code file.Such as, when the corresponding request method of target interface is post request methods, independent test code text
Part calls the first public test code file, and the corresponding test parameter of target interface and interface path are passed into first public affairs
With test code file.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention
The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 7 is refer to, the block diagram of the interface test device provided it illustrates one embodiment of the invention.This connects
Mouth test device can be implemented in combination with some or all of, electronics as electronic equipment by software, hardware or both
Equipment can be mobile phone, tablet personal computer, pocket computer on knee, desktop computer etc..The interface test device can include:
First calling module 710, the second calling module 720, the first generation module 730 and test module 740.
First calling module 710, the corresponding independent test code file of target interface of test, described needed for for calling
The corresponding test parameter of the target interface and interface path are previously provided with independent test code file.
Second calling module 720, for calling public test code file by the independent test code file, and will
The test parameter and the interface path pass to pre- in the public test code file, the public test code file
First it is provided with public test parameter and test environment address.
First generation module 730, for by it is described it is public test code file according to the test parameter and the public affairs
Request data is generated with test parameter, and request address is generated according to the interface path and the test environment address.
Test module 740, for by the public test code file according to the request data and the request
Location is tested the target interface.
In summary, the interface test device that the present embodiment is provided, when testing target interface, calls mesh first
Mouthful corresponding independent test code file of tag splice, public test code file is called by independent test code file, and by mesh
The corresponding test parameter of tag splice mouthful and interface path pass to public test code file, then pass through public test code file
According to test parameter and public test parameter generation request data, and according to interface path and test environment address generation request ground
Location, so realize target interface is tested;The test code existed when solving correlation technique for interface testing is answered
With rate it is low the problem of;By configuring different independent test code file and the public test code of identical for different interface
Test code needed for file, unified planning and management distinct interface, improves the reusability of test code.
Fig. 8 A are refer to, the block diagram of the interface test device provided it illustrates another embodiment of the present invention.Should
Interface test device can be implemented in combination with some or all of, electricity as electronic equipment by software, hardware or both
Sub- equipment can be mobile phone, tablet personal computer, pocket computer on knee, desktop computer etc..The interface test device can be wrapped
Include:First calling module 710, the second calling module 720, the first generation module 730 and test module 740.
First calling module 710, the corresponding independent test code file of target interface of test, described needed for for calling
The corresponding test parameter of the target interface and interface path are previously provided with independent test code file.
Second calling module 720, for calling public test code file by the independent test code file, and will
The test parameter and the interface path pass to pre- in the public test code file, the public test code file
First it is provided with public test parameter and test environment address.
First generation module 730, for by it is described it is public test code file according to the test parameter and the public affairs
Request data is generated with test parameter, and request address is generated according to the interface path and the test environment address.
Test module 740, for by the public test code file according to the request data and the request
Location is tested the target interface.
Optionally, described device also includes:Acquisition module 750, the 3rd calling module 760 and extraction module 770.
Acquisition module 750, the returned data for obtaining the target interface by the public test code file, institute
Stating returned data is obtained after the target interface is handled the request data.
3rd calling module 760, for calling the independent test code file by the public test code file,
And the returned data is passed into the independent test code file.
Extraction module 770, for extracting actual result from the returned data by the independent test code file,
And the actual result and default expected result are compared obtain test result.
As shown in Figure 8 B, in a kind of possible embodiment, the extraction module 770, including:Extraction unit 770a,
First call unit 770b and comparing unit 770c.
The extraction unit 770a, for when the independent test code file include the first independent test code file and
It is corresponding that the target interface is previously provided with second independent test code file, and the first independent test code file
During expected result, the actual result is extracted from the returned data by the second independent test code file.
The first call unit 770b, for calling described first independently by the second independent test code file
Code file is tested, and the actual result is passed into the first independent test code file.
The comparing unit 770c, for by the first independent test code file to the actual result with it is described
Expected result, which is compared, obtains the test result.
Optionally, described device also includes:4th calling module 782, the second generation module 784 and sending module 786.
4th calling module 782, for calling execution ANT scripts by the independent test code file, and will be described
Test result passes to the ANT scripts.
Second generation module 784, for generating test report according to the test result by the ANT scripts.
Sending module 786, for being transmitted the test report by the ANT scripts.
As shown in Figure 8 C, in a kind of possible embodiment, second calling module 720, including:Second calls list
First 720a, processing unit 720b and the 3rd call unit 720c.
The second call unit 720a, for including the first independent test code text when the independent test code file
The target interface pair is previously provided with part and the second independent test code file, and the first independent test code file
The corresponding interface path of the target interface is previously provided with the test parameter answered, the second independent test code file
When, the second independent test code file is called by the first independent test code file, and by the test parameter
Pass to the second independent test code file.
The processing unit 720b, it is pre- for being carried out by the second independent test code file to the test parameter
Processing, the pretreatment includes at least one in sequence processing, encryption, packing processing.
The 3rd call unit 720c, for calling the public test by the second independent test code file
Code file, and the pretreated test parameter and the interface path are passed into the public test code file.
Optionally, the public test code file, including:
First public test code file and the second public test code file;
Wherein, the described first public test code file is used for the Hyper text transfer to being conducted interviews with post request methods
Agreement HTTP service interface is tested, and the second public test code file is used for being conducted interviews with get request methods
HTTP service interface tested.
As in fig. 8d, in a kind of possible embodiment, first calling module 710, including:4th calls list
First 710a and the 5th call unit 710b.
The 4th call unit 710a, for by be pre-set in the Mission Planning Program of operating system batch at
Manage file and call execution ANT scripts, the operating system is preset to call the moment and/or preset for basis calls the cycle to call institute
State autoexec.
The 5th call unit 710b, the target interface pair for calling the required test by the ANT scripts
The independent test code file answered.
In summary, the interface test device that the present embodiment is provided, when testing target interface, calls mesh first
Mouthful corresponding independent test code file of tag splice, public test code file is called by independent test code file, and by mesh
The corresponding test parameter of tag splice mouthful and interface path pass to public test code file, then pass through public test code file
According to test parameter and public test parameter generation request data, and according to interface path and test environment address generation request ground
Location, so realize target interface is tested;The test code existed when solving correlation technique for interface testing is answered
With rate it is low the problem of;By configuring different independent test code file and the public test code of identical for different interface
Test code needed for file, unified planning and management distinct interface, improves the reusability of test code.
Obtained in addition, also actual result is compared with default expected result automatically by independent test code file
Test result, judgement tests whether to pass through, and compared to the artificial contrastive test result generally used at present, not only increases test
Efficiency, it is thus also avoided that artificial erroneous judgement, improves the accuracy of test result.
In addition, also by being divided independent test code file from functional angle so that code structure is more
Clearly, use is more flexible, manages also more convenient.
In addition, also generating test report according to test result by ANT scripts, and test report is sent to dependence test
Personnel, realize and automatically generate test report, and are easy to tester to obtain test report.
In addition, also by pre-setting autoexec in the Mission Planning Program of operating system, and set corresponding
The time of running and/or the cycle of operation, realize the automatic execution of testing process, more convenient, automation.
It should be noted that:The interface test device that above-described embodiment is provided is when carrying out interface testing, only with above-mentioned each
The division progress of functional module is for example, in practical application, as needed can distribute above-mentioned functions by different work(
Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, interface test device and the embodiment of the method for interface test method that above-described embodiment is provided belong to same structure
Think, it implements process and refer to embodiment of the method, repeats no more here.
Fig. 9 is refer to, the structural representation of the electronic equipment provided it illustrates one embodiment of the invention.The electronics is set
It is ready for use on the interface test method for implementing to be provided in above-described embodiment.Specifically:
Electronic equipment 900 can include RF (Radio Frequency, radio frequency) circuit 910, include one or one with
Memory 920, input block 930, display unit 940, sensor 950, the voicefrequency circuit of upper computer-readable recording medium
960th, WiFi (wireless fidelity, Wireless Fidelity) module 970, include one or more than one processing core
The part such as processor 980 and power supply 990.It will be understood by those skilled in the art that the electronic devices structure shown in Fig. 9 is simultaneously
The restriction to electronic equipment is not constituted, can be included than illustrating more or less parts, either combines some parts or not
Same part arrangement.Wherein:
RF circuits 910 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 980 is handled;In addition, being sent to up data are related to
Base station.Generally, RF circuits 910 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.The radio communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short
Messaging Service, Short Message Service) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation
Software program and module, so as to perform various function application and data processing.Memory 920 can mainly include storage journey
Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored to be created according to using for electronic equipment 900
Data (such as voice data, phone directory etc.) etc..In addition, memory 920 can include high-speed random access memory, may be used also
With including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.Correspondingly, memory 920 can also include Memory Controller, to provide processor 980 and input block 930 pairs of storages
The access of device 920.
Input block 930 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 930 may include figure
As input equipment 931 and other input equipments 932.Image input device 931 can be camera or optoelectronic scanning
Equipment.Except image input device 931, input block 930 can also include other input equipments 932.Specifically, other are inputted
Equipment 932 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One or more in mark, action bars etc..
Display unit 940 can be used for the information and electronic equipment for showing the information inputted by user or being supplied to user
900 various graphical user interface, these graphical user interface can by figure, text, icon, video and its any combination Lai
Constitute.Display unit 940 may include display panel 941, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 941.
Electronic equipment 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 941, proximity transducer can when electronic equipment 900 is moved in one's ear,
Close display panel 941 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as electronic equipment 900 etc. other
Sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and electronic equipment 900.
Electric signal after the voice data received conversion can be transferred to loudspeaker 961, is changed by loudspeaker 961 by voicefrequency circuit 960
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is connect by voicefrequency circuit 960
Be converted to voice data after receipts, then after voice data output processor 980 is handled, it is such as another to be sent to through RF circuits 910
One electronic equipment, or voice data is exported to memory 920 so as to further processing.Voicefrequency circuit 960 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and electronic equipment 900.
WiFi belongs to short range wireless transmission technology, and electronic equipment 900 can help user to receive and dispatch by WiFi module 970
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9
WiFi module 970 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for electronic equipment 900, completely can root
Omitted according to needs in the essential scope for do not change invention.
Processor 980 is the control centre of electronic equipment 900, utilizes each of various interfaces and connection whole mobile phone
Part, by operation or performs and is stored in software program and/or module in memory 920, and calls and be stored in memory
Data in 920, perform the various functions and processing data of electronic equipment 900, so as to carry out integral monitoring to mobile phone.It is optional
, processor 980 may include one or more processing cores;It is preferred that, processor 980 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Electronic equipment 900 also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can lead to
Cross power-supply management system and processor 980 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 990 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, electronic equipment 900 can also will not be repeated here including bluetooth module etc..
Specifically in the present embodiment, electronic equipment 900 also includes memory, and one or more than one journey
Sequence, one of them or more than one program storage is configured to by one or more than one processor in memory
Perform.Said one or more than one program bag, which contain, to be used to perform such as above-mentioned Fig. 1 connecing into any embodiment shown in Fig. 6
The instruction of mouth method of testing.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one
It is individual " (" a ", " an ", " the ") be intended to also include plural form.It is to be further understood that "and/or" used herein is
Referring to includes any of one or more than one project listed in association and is possible to combine.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (14)
1. a kind of interface test method, it is characterised in that methods described includes:
Set in advance in the corresponding independent test code file of target interface of test, the independent test code file needed for calling
It is equipped with the corresponding test parameter of the target interface and interface path;
Public test code file is called by the independent test code file, and by the test parameter and the interface road
Footpath passes in the public test code file, the public test code file and is previously provided with public test parameter and survey
Test ring condition location;
Request data is generated according to the test parameter and the public test parameter by the public test code file, and
According to the interface path and test environment address generation request address;
The target interface is carried out according to the request data and the request address by the public test code file
Test.
2. according to the method described in claim 1, it is characterised in that it is described by the public test code file according to
After request data and the request address are tested the target interface, in addition to:
The returned data of the target interface is obtained by the public test code file, the returned data is the target
What interface was obtained after handling the request data;
The independent test code file is called by the public test code file, and the returned data is passed into institute
State independent test code file;
Actual result is extracted from the returned data by the independent test code file, and to the actual result and in advance
If expected result be compared and obtain test result.
3. method according to claim 2, it is characterised in that described to be returned by the independent test code file from described
Extracting data actual result is returned, and the actual result and default expected result are compared obtain test result, is wrapped
Include:
When the independent test code file includes the first independent test code file and the second independent test code file, and institute
State when the corresponding expected result of the target interface is previously provided with the first independent test code file,
The actual result is extracted from the returned data by the second independent test code file;
The first independent test code file is called by the second independent test code file, and by the actual result
Pass to the first independent test code file;
The actual result and the expected result are compared by the first independent test code file and obtain described
Test result.
4. method according to claim 2, it is characterised in that described to be returned by the independent test code file from described
Return extracting data actual result, and the actual result and default expected result are compared obtain test result it
Afterwards, in addition to:
Execution ANT scripts are called by the independent test code file, and the test result is passed into the ANT pin
This;
Test report is generated according to the test result by the ANT scripts;
The test report is transmitted by the ANT scripts.
5. according to the method described in claim 1, it is characterised in that it is described called by the independent test code file it is public
Code file is tested, and the interface path and the test parameter are passed into the public test code file, including:
When the independent test code file includes the first independent test code file and the second independent test code file, and institute
State and the corresponding test parameter of the target interface is previously provided with the first independent test code file, second independent test
When the corresponding interface path of the target interface is previously provided with code file,
The second independent test code file is called by the first independent test code file, and by the test parameter
Pass to the second independent test code file;
The test parameter is pre-processed by the second independent test code file, the pretreatment is included at sequence
At least one of in reason, encryption, packing processing;
The public test code file is called by the second independent test code file, and described surveyed pretreated
Examination parameter and the interface path pass to the public test code file.
6. according to any described method of claim 1 to 5, it is characterised in that the public test code file, including:
First public test code file and the second public test code file;
Wherein, the described first public test code file is used for the HTTP to being conducted interviews with post request methods
HTTP service interface is tested, and the second public test code file is used for being conducted interviews with get request methods
HTTP service interface is tested.
7. according to any described method of claim 1 to 5, it is characterised in that described to call the required target interface pair tested
The independent test code file answered, including:
Execution ANT scripts, the behaviour are called by the autoexec being pre-set in the Mission Planning Program of operating system
Make system be used for according to it is default call the moment and/or preset call the cycle to call the autoexec;
The corresponding independent test code file of target interface of the required test is called by the ANT scripts.
8. a kind of interface test device, it is characterised in that described device includes:
First calling module, the corresponding independent test code file of target interface of test needed for for calling, the independent survey
The corresponding test parameter of the target interface and interface path are previously provided with examination code file;
Second calling module, for calling public test code file by the independent test code file, and is surveyed described
Examination parameter and the interface path are passed to be pre-set in the public test code file, the public test code file
There are public test parameter and test environment address;
First generation module, for being joined by the public test code file according to the test parameter and the public test
Number generation request data, and request address is generated according to the interface path and the test environment address;
Test module, for by it is described it is public test code file according to the request data and the request address to described
Target interface is tested.
9. device according to claim 8, it is characterised in that described device also includes:
Acquisition module, the returned data for obtaining the target interface by the public test code file, the return
Data are obtained after the target interface is handled the request data;
3rd calling module, for calling the independent test code file by the public test code file, and by institute
State returned data and pass to the independent test code file;
Extraction module, for extracting actual result from the returned data by the independent test code file, and to institute
State actual result and default expected result is compared and obtains test result.
10. device according to claim 9, it is characterised in that the extraction module, including:Extraction unit, first call
Unit and comparing unit;
The extraction unit, for including the first independent test code file and second independently when the independent test code file
The corresponding expected result of the target interface is previously provided with test code file, and the first independent test code file
When, the actual result is extracted from the returned data by the second independent test code file;
First call unit, for calling the first independent test code by the second independent test code file
File, and the actual result is passed into the first independent test code file;
The comparing unit, for by the first independent test code file to the actual result and the expected result
It is compared and obtains the test result.
11. device according to claim 9, it is characterised in that described device also includes:
4th calling module, for calling execution ANT scripts by the independent test code file, and by the test result
Pass to the ANT scripts;
Second generation module, for generating test report according to the test result by the ANT scripts;
Sending module, for being transmitted the test report by the ANT scripts.
12. device according to claim 8, it is characterised in that second calling module, including:Second call unit,
Processing unit and the 3rd call unit;
Second call unit, for including the first independent test code file and second when the independent test code file
The corresponding test of the target interface is previously provided with independent test code file, and the first independent test code file
When the corresponding interface path of the target interface is previously provided with parameter, the second independent test code file, pass through institute
State the first independent test code file and call the second independent test code file, and the test parameter passed to described
Second independent test code file;
The processing unit, for being pre-processed by the second independent test code file to the test parameter, institute
Stating pretreatment includes at least one in sequence processing, encryption, packing processing;
3rd call unit, for calling the public test code text by the second independent test code file
Part, and the pretreated test parameter and the interface path are passed into the public test code file.
13. according to any described device of claim 8 to 12, it is characterised in that the public test code file, including:
First public test code file and the second public test code file;
Wherein, the described first public test code file is used for the HTTP to being conducted interviews with post request methods
HTTP service interface is tested, and the second public test code file is used for being conducted interviews with get request methods
HTTP service interface is tested.
14. according to any described device of claim 8 to 12, it is characterised in that first calling module, including:4th
Call unit and the 5th call unit;
4th call unit, is adjusted for the autoexec by being pre-set in the Mission Planning Program of operating system
With ANT scripts are performed, the operating system is preset to call the moment and/or preset for basis calls the cycle to call the batch processing
File;
5th call unit, the corresponding independence of target interface for calling the required test by the ANT scripts
Test code file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043490.8A CN104615534B (en) | 2015-01-28 | 2015-01-28 | interface test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043490.8A CN104615534B (en) | 2015-01-28 | 2015-01-28 | interface test method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104615534A CN104615534A (en) | 2015-05-13 |
CN104615534B true CN104615534B (en) | 2017-08-01 |
Family
ID=53149991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510043490.8A Active CN104615534B (en) | 2015-01-28 | 2015-01-28 | interface test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104615534B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550083A (en) * | 2015-12-09 | 2016-05-04 | 北京交控科技股份有限公司 | MSS (maintenance support subsystem) automatic test method and system |
CN106874174B (en) * | 2015-12-11 | 2020-08-21 | 阿里巴巴集团控股有限公司 | Method and device for realizing interface test and function test |
CN105516322B (en) * | 2015-12-16 | 2019-03-05 | 方正宽带网络服务有限公司 | A kind of interface test method and device based on http agreement |
CN105681126B (en) * | 2015-12-30 | 2019-07-26 | 合一网络技术(北京)有限公司 | A kind of automated testing method and system based on protocol interface |
CN107305528B (en) * | 2016-04-25 | 2020-09-01 | 北京京东尚科信息技术有限公司 | Application testing method and device |
CN108241573B (en) * | 2016-12-23 | 2021-06-29 | 北京国双科技有限公司 | Integrated test code generation method and device |
CN107070735B (en) * | 2016-12-30 | 2018-04-20 | 上海壹账通金融科技有限公司 | Method, test terminal and the system of asynchronous interface test |
CN107026773B (en) * | 2017-05-16 | 2020-03-17 | 四川长虹电器股份有限公司 | Automatic association method for interface automation test |
CN107704386B (en) * | 2017-09-25 | 2020-10-30 | 金蝶软件(中国)有限公司 | Unit testing method and device of business process, computer equipment and storage medium |
CN107908545A (en) * | 2017-09-26 | 2018-04-13 | 深圳市牛鼎丰科技有限公司 | Interface test method, device, computer equipment and storage medium |
CN107748717A (en) * | 2017-09-26 | 2018-03-02 | 深圳市牛鼎丰科技有限公司 | Automatic interface testing method, device, storage medium and computer equipment |
CN107678963A (en) * | 2017-09-27 | 2018-02-09 | 国云科技股份有限公司 | A kind of automatic interface testing method based on JAVA |
CN108628750B (en) * | 2018-05-16 | 2021-11-05 | 无线生活(杭州)信息科技有限公司 | Test code processing method and device |
CN108900369B (en) * | 2018-05-31 | 2021-08-27 | 武汉虹信技术服务有限责任公司 | Interface testing method based on post request |
CN109194609B (en) * | 2018-07-20 | 2021-07-27 | 西安四叶草信息技术有限公司 | Method and device for detecting vulnerability file |
CN110858172A (en) * | 2018-08-23 | 2020-03-03 | 北京京东尚科信息技术有限公司 | Automatic test code generation method and device |
CN109828870A (en) * | 2018-12-15 | 2019-05-31 | 中国平安人寿保险股份有限公司 | Interface testing environmental management technique, device, electronic equipment and storage medium |
CN109918126A (en) * | 2019-01-28 | 2019-06-21 | 平安普惠企业管理有限公司 | Method, apparatus, computer equipment and the storage medium of Code Edit |
CN110377462B (en) * | 2019-06-17 | 2023-07-21 | 中国平安人寿保险股份有限公司 | Interface testing method and device and terminal equipment |
CN113407229B (en) * | 2020-03-17 | 2024-05-14 | 百度在线网络技术(北京)有限公司 | Method and device for generating offline scripts |
CN113472785B (en) * | 2021-06-30 | 2022-10-04 | 中国工商银行股份有限公司 | Data processing method and device, electronic equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1632747A (en) * | 2003-12-22 | 2005-06-29 | 联想(北京)有限公司 | Software interface testing method |
CN1866221A (en) * | 2006-02-27 | 2006-11-22 | 华为技术有限公司 | Software interface testing method and apparatus |
CN101247292A (en) * | 2008-02-22 | 2008-08-20 | 中兴通讯股份有限公司 | Test equipment and method based on universal test meter API |
CN101266570A (en) * | 2007-03-15 | 2008-09-17 | 中兴通讯股份有限公司 | Software system test method and apparatus |
EP2056202A1 (en) * | 2007-10-31 | 2009-05-06 | Siemens Aktiengesellschaft | Method for testing of a COM interface |
CN101576843A (en) * | 2008-05-07 | 2009-11-11 | 阿里巴巴集团控股有限公司 | Method and device for testing application program interface |
CN101996132A (en) * | 2009-08-14 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for automatically testing common object request broker architecture (CORBA) interfaces |
-
2015
- 2015-01-28 CN CN201510043490.8A patent/CN104615534B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1632747A (en) * | 2003-12-22 | 2005-06-29 | 联想(北京)有限公司 | Software interface testing method |
CN1866221A (en) * | 2006-02-27 | 2006-11-22 | 华为技术有限公司 | Software interface testing method and apparatus |
CN101266570A (en) * | 2007-03-15 | 2008-09-17 | 中兴通讯股份有限公司 | Software system test method and apparatus |
EP2056202A1 (en) * | 2007-10-31 | 2009-05-06 | Siemens Aktiengesellschaft | Method for testing of a COM interface |
CN101247292A (en) * | 2008-02-22 | 2008-08-20 | 中兴通讯股份有限公司 | Test equipment and method based on universal test meter API |
CN101576843A (en) * | 2008-05-07 | 2009-11-11 | 阿里巴巴集团控股有限公司 | Method and device for testing application program interface |
CN101996132A (en) * | 2009-08-14 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for automatically testing common object request broker architecture (CORBA) interfaces |
Also Published As
Publication number | Publication date |
---|---|
CN104615534A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615534B (en) | interface test method and device | |
CN103702297B (en) | Short message enhancement, apparatus and system | |
CN106502906B (en) | A kind of method and apparatus of test application program | |
CN107863095A (en) | Acoustic signal processing method, device and storage medium | |
CN104598263B (en) | Application program operation method, configuration file generation method and device | |
CN104598513A (en) | Data flow control method and system based on webpage frame | |
CN105528297A (en) | Method and device for testing web page | |
CN104954233B (en) | Information-pushing method, device and system | |
CN106708676A (en) | Interface test method and apparatus | |
CN104298558B (en) | Information processing method and device | |
CN107040609A (en) | A kind of network request treating method and apparatus | |
CN105847325B (en) | The adjustment method and device of applications client | |
CN110058850A (en) | A kind of development approach of application, device and storage medium | |
CN110417543A (en) | A kind of data ciphering method, device and storage medium | |
CN106021112A (en) | Program testing system, method and device | |
CN105740145B (en) | The method and device of element in orient control | |
CN106294108A (en) | Applied program testing method and device | |
CN104516624B (en) | A kind of method and device inputting account information | |
CN107276602B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN106126411A (en) | A kind of method and apparatus that tested program code is tested | |
CN107590397A (en) | A kind of method and apparatus for showing embedded webpage | |
CN107992498B (en) | Method and system for importing data into data warehouse | |
CN107786569A (en) | A kind of identifying code sending method, method of reseptance and relevant device | |
CN106649126A (en) | Method and apparatus for testing application program | |
CN110378107A (en) | A kind of method and relevant apparatus of installation kit detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Patentee after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Patentee before: Guangzhou KuGou Networks Co., Ltd. |
|
CP02 | Change in the address of a patent holder |