CN105897497A - Interface test method, application device and service device - Google Patents
Interface test method, application device and service device Download PDFInfo
- Publication number
- CN105897497A CN105897497A CN201510426772.6A CN201510426772A CN105897497A CN 105897497 A CN105897497 A CN 105897497A CN 201510426772 A CN201510426772 A CN 201510426772A CN 105897497 A CN105897497 A CN 105897497A
- Authority
- CN
- China
- Prior art keywords
- interface
- request
- service equipment
- test
- target component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/53—Network services using third party service providers
Abstract
An embodiment of the invention discloses an interface test method, an application device and a service device. The method comprises the following steps: the application device receives a test request, sent by the service device, carrying a type of an interface to be tested; an interface calling request is generated according to the type of the interface to be tested; the interface calling request is sent to the service device, and the service device is enabled to call an interface corresponding to the type of the interface to be tested according to the interface calling request, an interface response result returned by the service device, a test result is generated according to the interface response result and a preset test condition, and the response result is generated when the interface is called by the service device. Via use of the interface test method, the application device and the service device, labor cost and communication cost can be lowered, and interface test efficiency can be improved.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of interface test method, application apparatus and
Service equipment.
Background technology
In current most of internet products, all can access third party's service, user is interconnected by these
Net product can use third party's Service Source of correspondence.Generally third party's service all can provide some HTTP
(Hypertext transfer protocol, HTTP) interface, these HTTP interface are by the Internet
Product goes to call, to inform that third party services the operation that execution is corresponding.
Internet product, before third party's service of reaching the standard grade, is required for entering the HTTP interface of third party's service
Row test.Current interface testing mode is usually: write document by third party service provider, to inform
How the developer of internet product side accesses this service, then by the developer of internet product side according to
The document writes access logical code, then writes code and tests, and when being found to have problem, both sides position together
Solve.Manpower, communication cost that current this interface testing mode needs are the highest, and test process compares
Complicated loaded down with trivial details, have a strong impact on the efficiency of interface testing.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of interface test method, application set
Standby and service equipment, it is possible to decrease manpower, link up cost, and improve the efficiency of interface testing.
First aspect present invention provides a kind of interface test method, including:
The test request carrying interface type to be tested that application apparatus reception service equipment sends, and according to
Described interface type to be tested generates interface interchange request;
Described application apparatus sends described interface interchange and asks described service equipment, so that described service equipment
According to the interface that described interface interchange request call is corresponding with described interface type to be tested;
Described application apparatus receives the interface response results that described service equipment returns, and rings according to described interface
Should result and default test condition generation test result;Described response results is to be adjusted by described service equipment
Generated during with described interface.
Second aspect present invention provides a kind of interface test method, including:
Service equipment sends and carries the test request of interface type to be tested to application apparatus, answers so that described
Interface interchange request is generated according to described interface type to be tested with equipment;
Described service equipment receives the described interface interchange request that described application apparatus sends, and connects according to described
Mouth call request calls the interface corresponding with described interface type to be tested;
Described service equipment generates interface response results when calling described interface, and sends the response of described interface
Result is to described application apparatus, so that described application apparatus is according to described interface response results and default test
Condition generates test result.
Third aspect present invention provides a kind of application apparatus, including:
First receiver module, the test carrying interface type to be tested sent for receiving service equipment please
Ask, and generate interface interchange request according to described interface type to be tested;
Call request sending module, is used for sending described interface interchange and asks described service equipment, so that institute
State service equipment according to the described interface interchange request call interface corresponding with described interface type to be tested;
Second receiver module, for receiving the interface response results that described service equipment returns, and according to described
Interface response results and the test condition preset generate test result;Described response results is to be set by described service
For generated when calling described interface.
Fourth aspect present invention provides a kind of service equipment, including:
Test request sending module, sets to application for sending the test request carrying interface type to be tested
It is standby, so that described application apparatus generates interface interchange request according to described interface type to be tested;
Call request receiver module, for receiving the described interface interchange request that described service equipment sends, and
According to the interface that described interface interchange request call is corresponding with described interface type to be tested;
Generate sending module, for generating interface response results when calling described interface, and connect described in transmission
Mouth response results is to described application apparatus, so that described application apparatus according to described interface response results and is preset
Test condition generate test result.
Application apparatus in the embodiment of the present invention carries interface class to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send described
Interface interchange asks described service equipment, so that described service equipment is according to described interface interchange request call
The interface corresponding with described interface type to be tested, described application apparatus receives what described service equipment returned again
Interface response results, and generate test result, institute according to described interface response results and the test condition preset
State response results to be generated when calling described interface by described service equipment;As can be seen here, application sets
Manpower can be reduced with automatic interaction to complete interface testing, link up cost between standby and service equipment, and
And without writing test code again in test process, improve the efficiency of interface testing.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of interface test method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of interface test method that the embodiment of the present invention provides;
Fig. 2 a is a kind of test interface schematic diagram that the embodiment of the present invention provides;
Fig. 2 b is the another kind of test interface schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another interface test method that the embodiment of the present invention provides;
Fig. 4 is the schematic flow sheet of another interface test method that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of application apparatus that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of call request sending module that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of second receiver module that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of service equipment that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, be the schematic flow sheet of a kind of interface test method that the embodiment of the present invention provides, described
Method includes:
S101, application apparatus receives the test request carrying interface type to be tested that service equipment sends,
And generate interface interchange request according to described interface type to be tested;
Concrete, described application apparatus can include client and the background server that internet product is corresponding,
Described internet product is the product being integrated with third party's service;Described service equipment can include that third party takes
The client corresponding to provider of business and background server.In service equipment side, user can be default
In visual interface testing interface, input needs the interface type carrying out testing, and user inputs needs and surveys
The interface type of examination after clicking on confirmation, described service equipment can generate and carry interface type to be tested
Test request, now, described application apparatus can receive described service equipment send carry to be measured trying
The test request of mouth type, described application apparatus generates interface interchange further according to described interface type to be tested please
Ask.
Wherein, the third party in described service equipment service interface can include increase interface, delete interface,
Revising interface, check interface etc., such as, third party's service provides cloud space, and (be placed on network deposits
Storage space), then when application apparatus calls the increase interface during third party services, service equipment can be should
A memory space is increased with the user of equipment side.The URL corresponding to each interface of described third party service
(Uniform Resource Locator, URL) is identical, but HTTP method is different,
Such as, increase interface as shown in table 1 below, delete interface, revise interface, check interface:
Table 1
S102, described application apparatus sends described interface interchange and asks described service equipment, so that described clothes
Business equipment is according to the described interface interchange request call interface corresponding with described interface type to be tested;
Concrete, after described application apparatus generates the request of described interface interchange, described interface interchange can be sent
Request is to described service equipment, so that described service equipment is treated with described according to described interface interchange request call
The interface that test interface type is corresponding.Such as, user wants to test the deletion interface in third party's service, uses
It is to delete interface that family can input interface type to be tested in described service equipment side, described service equipment send out
Send carry interface type to be tested be delete interface test request to described application apparatus, then by described answer
Send the interface interchange corresponding with deleting interface with equipment and ask described service equipment, i.e. send HTTP side
Method is that the URL that third party's service interface is corresponding is arrived in the request of DELETE, to call deleting in third party's service
Except interface.
S103, described application apparatus receives the interface response results that described service equipment returns, and according to described
Interface response results and the test condition preset generate test result;Described response results is to be set by described service
For generated when calling described interface;
Concrete, described service equipment is the described interface corresponding function of execution in the process calling described interface
Process, such as, if described service equipment call be delete interface, the most described service equipment will be from user
Project is deleted specific plug-in resource.Described service equipment can generate sound during calling described interface
Should result, described response results can include response time, conditional code, response format, response ID etc.,
Now, described application apparatus can receive the interface response results that described service equipment returns, and according to described
Interface response results and the test condition preset generate test result, and described test condition can include basis number
According to complete, response has not timed out, the conditional code that returns is 200, response format is JSON (JavaScript Object
Notation, data interchange format) form, respond packet is containing ID etc..Such as, response results comprises state
Code and response format, described test condition includes that the conditional code returned is 200 and response format is JSON form,
If the conditional code in described response results be also 200 and response format also for JSON, then according to described response knot
The test result that fruit and described test condition are generated will comprise regular prompt information;If in described response results
Conditional code be not 200 and/or response format not for JSON, then according to described response results and described test strip
The test result that part is generated will comprise miscue information and positioning problems information.
After described application apparatus generates test result, described test result can be again returned to described service and set
Standby, and show described test result in the visual interface testing interface of described service equipment so that institute
State the user of service equipment side can be visually known described interface whether can with and whether meet specification, it is not necessary to
The full-time staff of described application apparatus side assists test, manpower is greatly reduced, links up cost.
Application apparatus in the embodiment of the present invention carries interface class to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send described
Interface interchange asks described service equipment, so that described service equipment is according to described interface interchange request call
The interface corresponding with described interface type to be tested, described application apparatus receives what described service equipment returned again
Interface response results, and generate test result, institute according to described interface response results and the test condition preset
State response results to be generated when calling described interface by described service equipment;As can be seen here, application sets
Manpower can be reduced with automatic interaction to complete interface testing, link up cost between standby and service equipment, and
And without writing test code again in test process, improve the efficiency of interface testing.
Refer to Fig. 2 again, be the schematic flow sheet of a kind of interface test method that the embodiment of the present invention provides, institute
The method of stating includes:
S201, application apparatus receives the test request carrying interface type to be tested that service equipment sends,
And generate interface interchange request according to described interface type to be tested;Described test request also includes at least one
Target component type;
Concrete, described application apparatus can include client and the background server that internet product is corresponding,
Described internet product is the product being integrated with third party's service;Described service equipment can include that third party takes
The client corresponding to provider of business and background server.In service equipment side, user can be default
In visual interface testing interface, input needs the interface type carrying out testing, and user inputs needs and surveys
The interface type of examination after clicking on confirmation, described service equipment can generate and carry interface type to be tested
Test request, now, described application apparatus can receive described service equipment send carry to be measured trying
The test request of mouth type, described application apparatus generates interface interchange further according to described interface type to be tested please
Ask.Further, the user of described service equipment side can also be in described visual interface testing interface
Input at least one target component type so that the test request that described service equipment is generated can include institute
State interface type to be tested and at least one target component type described.
Wherein, the third party in described service equipment service interface can include increase interface, delete interface,
Revising interface, check interface etc., such as, third party's service provides cloud space, and (be placed on network deposits
Storage space), then when application apparatus calls the increase interface during third party services, service equipment can be should
A memory space is increased with the user of equipment side.The URL corresponding to each interface of described third party service
(Uniform Resource Locator, URL) is identical, but HTTP method is different,
Specifically may refer to the table 1 in the S101 in above-mentioned Fig. 1 correspondence embodiment.
Refer to Fig. 2 a again, be a kind of test interface schematic diagram of embodiment of the present invention offer, described test circle
Face is the visual interface testing interface of display on described service equipment, shown in described test interface
Return parameters includes at least one the target component type filled in by user, and the institute in described test interface is defeated
At least one the target component type entered includes: token, channel, rsync_hosts_allow,
rsync_password、project、tenant_id、id、des_project、refresh_domain。
S202, at least one target component type package described is become parameter request by described application apparatus;
Concrete, described application apparatus receives and carries described interface type to be tested and at least one mesh described
After the test request of mark parameter type, at least one target component type described can be sealed by described application apparatus
Dress up parameter request.Such as, if at least one target component type described include channel,
Rsync_hosts_allow, plan, then the parameter request after encapsulation can be:
S203, sends described parameter request and described interface interchange asks described service equipment, so that described
Service equipment according to the described interface interchange request call interface corresponding with described interface type to be tested, and
Generate when calling described interface basic status parameter and with described parameter request in described at least one target
The target component that parameter type is respectively corresponding, and using described basic status parameter and described target component as sound
Should result;
Concrete, after described application apparatus generates described parameter request and the request of described interface interchange, Ke Yifa
Send described parameter request and described interface interchange to ask described service equipment so that described service equipment according to
The interface that described interface interchange request call is corresponding with described interface type to be tested, and calling described interface
Shi Shengcheng basic status parameter and with described parameter request in described at least one target component type respectively
Corresponding target component, and using described basic status parameter and described target component as response results.Wherein,
Described parameter request and described interface interchange can be asked to be sent to described service equipment by described application apparatus
Specify URL so that described service equipment can receive the request of described interface interchange and described parameter request.
Described service equipment is the process performing described interface corresponding function in the process calling described interface, such as,
If what described service equipment called is to delete interface, the most described service equipment will delete appointment from user items
Plug-in resource.Described service equipment can generate described basic status parameter during calling described interface
With described target component;Described basic status parameter can include response time, conditional code, response format,
Response ID etc., described target component includes and each target component class at least one target component type described
The parameter that type is respectively corresponding, such as, described target component can include channel parameter values,
The parameter values of rsync_hosts_allow, the parameter values of plan.Described service equipment generates described basic shape
After state parameter and described target component, more described basic status parameter and described target component are packaged into one
Response results.
S204, described application apparatus receives the interface response results that described service equipment returns;
Concrete, after described service equipment generates described response results, described application apparatus receives described service
The interface response results that equipment returns.
S205, detects the test strip whether described basic status parameter in described response results is satisfied by presetting
Part;
Concrete, described test condition can include that basic data is complete, respond the state having not timed out, returning
Code is 200, response format is JSON form, respond packet contains ID etc..Such as, if in response results
Described basic status parameter comprises conditional code and response format, and the most described application apparatus needs to detect described state
Whether code is 200, and whether described response format is JSON form.
S206, generates abnormality test result;
Concrete, the described basic status parameter in S205 detects described response results is not satisfied by presetting
Test condition time, described application apparatus will generate abnormality test result, described abnormality test result will comprise
Miscue information and positioning problems information.Such as, if the conditional code in described basic status parameter
Being 401, response format is JSON, and the most described application apparatus can detect that conditional code is not 200, i.e. examines
Measuring the test condition that described basic status parameter is not satisfied by presetting, now, described application apparatus can be given birth to
Become abnormality test result.
S207, it is judged that at least one target component type described whether with described target component one_to_one corresponding;
Concrete, described basic status parameter in S205 detects described response results is satisfied by presetting
During test condition, described application apparatus may determine that at least one target component type described whether with described mesh
Mark parameter one_to_one corresponding, i.e. judges whether the target component type of described target component correspondence respectively includes described
Target complete parameter type entrained in test request.
S208, generates proper testing result;
Concrete, when S207 judges at least one target component type described and described target component one a pair
At once, illustrate that the user comprising described service equipment side in described response results surveys at described visual interface
The target complete parameter type inputted in examination interface, now, described application apparatus can generate proper testing
As a result, described proper testing result can comprise test regular prompt information.
When S207 judges at least one target component type described not with described target component one_to_one corresponding,
Performing the step of S206, the most described application apparatus will generate abnormality test result, and described abnormality test result will
Comprise miscue information and positioning problems information.
Refer to Fig. 2 b again, be the another kind of test interface schematic diagram of embodiment of the present invention offer, in Fig. 2 a institute
After the test interface shown inputs and confirms parameters, i.e. can get the test interface shown in Fig. 2 b, Fig. 2 b
Shown test interface is as a example by increasing interface, i.e. establishing resource, shows in the test interface shown in Fig. 2 b
POST request is sent to URL address, i.e. illustrates that described application apparatus sends and carry increase interface type
Interface interchange ask described service equipment;In test interface shown in Fig. 2 b, the request body of display is i.e.
For described parameter request, i.e. illustrate that described service equipment can be asked according to described when calling described increase interface
Body is asked to obtain multiple target components;The expectation return of display in the test interface shown in Fig. 2 b includes described
The parameter that service equipment should generate in normal state;In test interface shown in Fig. 2 b, the actual of display returns
Return and include the parameter that described service equipment actually generates during calling described increase interface;Shown in Fig. 2 b
Test interface in display test result be abnormality test result, this abnormality test result includes conditional code
It it is not the information of 200.By display test interface, the user of described service equipment side can be made directly perceived
Ground understand described interface whether can with and whether meet specification, it is not necessary to the full-time staff association of described application apparatus side
Help test, manpower is greatly reduced, links up cost.
Application apparatus in the embodiment of the present invention carries interface class to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send described
Interface interchange asks described service equipment, so that described service equipment is according to described interface interchange request call
The interface corresponding with described interface type to be tested, described application apparatus receives what described service equipment returned again
Interface response results, and generate test result, institute according to described interface response results and the test condition preset
State response results to be generated when calling described interface by described service equipment;As can be seen here, application sets
Manpower can be reduced with automatic interaction to complete interface testing, link up cost between standby and service equipment, and
And without writing test code again in test process, improve the efficiency of interface testing.
Refer to Fig. 3, be the schematic flow sheet of another interface test method that the embodiment of the present invention provides, institute
The method of stating may include that
S301, service equipment sends and carries the test request of interface type to be tested to application apparatus, so that
Described application apparatus generates interface interchange request according to described interface type to be tested;
Concrete, described application apparatus can include client and the background server that internet product is corresponding,
Described internet product is the product being integrated with third party's service;Described service equipment can include that third party takes
The client corresponding to provider of business and background server.In service equipment side, user can be default
In visual interface testing interface, input needs the interface type carrying out testing, and user inputs needs and surveys
The interface type of examination after clicking on confirmation, described service equipment can generate and carry interface type to be tested
Test request, and described test request is sent to described application apparatus, described application apparatus is further according to described
Interface type to be tested generates interface interchange request.
Wherein, the third party in described service equipment service interface can include increase interface, delete interface,
Revising interface, check interface etc., such as, third party's service provides cloud space, and (be placed on network deposits
Storage space), then when application apparatus calls the increase interface during third party services, service equipment can be should
A memory space is increased with the user of equipment side.The URL that each interface of described third party service is corresponding is
Identical, but HTTP method is different.
S302, described service equipment receives the described interface interchange of described application apparatus transmission and asks, and according to
The interface that described interface interchange request call is corresponding with described interface type to be tested;
Concrete, after described application apparatus generates the request of described interface interchange, described service equipment can receive
The described interface interchange request that described application apparatus sends, and according to described interface interchange request call with described
The interface that interface type to be tested is corresponding.Such as, user wants to test the deletion interface in third party's service,
User can input interface type to be tested for deleting interface, by described service equipment in described service equipment side
Send carry interface type to be tested be the test request deleting interface to described application apparatus, then by described
Application apparatus generates the interface interchange corresponding with deleting interface and asks described service equipment, i.e. sends HTTP
Method is that the URL that third party's service interface is corresponding is arrived in the request of DELETE, to call in third party's service
Delete interface.
S303, described service equipment generates interface response results, and connects described in transmission when calling described interface
Mouth response results is to described application apparatus, so that described application apparatus according to described interface response results and is preset
Test condition generate test result;
Concrete, described service equipment is the described interface corresponding function of execution in the process calling described interface
Process, such as, if described service equipment call be delete interface, the most described service equipment will be from user
Project is deleted specific plug-in resource.Described service equipment can generate sound during calling described interface
Should result, and send described interface response results to described application apparatus, described response results can include ringing
Answering duration, conditional code, response format, response ID etc., now, described application apparatus can be according to reception
The interface response results arrived and the test condition preset generate test result, and described test condition can include base
The conditional code that plinth data are complete, response has not timed out, return is 200, response format is JSON form, response
Comprise ID etc..Such as, response results comprises conditional code and response format, and described test condition includes returning
Conditional code be 200 and response format is JSON form, if the conditional code in described response results is also 200
And response format is also JSON, then the test result generated according to described response results and described test condition
Regular prompt information will be comprised;If the conditional code in described response results be not 200 and/or response format be not
JSON, then the test result generated according to described response results and described test condition will comprise miscue
Information and positioning problems information.
After described application apparatus generates test result, described test result can be again returned to described service and set
Standby, and show described test result in the visual interface testing interface of described service equipment so that institute
State the user of service equipment side can be visually known described interface whether can with and whether meet specification, it is not necessary to
The full-time staff of described application apparatus side assists test, manpower is greatly reduced, links up cost.
Application apparatus in the embodiment of the present invention carries interface class to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send described
Interface interchange asks described service equipment, so that described service equipment is according to described interface interchange request call
The interface corresponding with described interface type to be tested, described application apparatus receives what described service equipment returned again
Interface response results, and generate test result, institute according to described interface response results and the test condition preset
State response results to be generated when calling described interface by described service equipment;As can be seen here, application sets
Manpower can be reduced with automatic interaction to complete interface testing, link up cost between standby and service equipment, and
And without writing test code again in test process, improve the efficiency of interface testing.
Refer to Fig. 4, be the schematic flow sheet of another interface test method that the embodiment of the present invention provides, institute
The method of stating may include that
S401, service equipment sends and carries the test request of interface type to be tested to application apparatus, so that
Described application apparatus generates interface interchange request according to described interface type to be tested, and described test request is also wrapped
Include at least one target component type;
Concrete, described application apparatus can include client and the background server that internet product is corresponding,
Described internet product is the product being integrated with third party's service;Described service equipment can include that third party takes
The client corresponding to provider of business and background server.In service equipment side, user can be default
In visual interface testing interface, input needs the interface type carrying out testing, and user inputs needs and surveys
The interface type of examination after clicking on confirmation, described service equipment can generate and carry interface type to be tested
Test request, and send and carry the test request of interface type to be tested to application apparatus, answer so that described
Interface interchange request is generated according to described interface type to be tested with equipment.Further, described service equipment
The user of side can also input at least one target component type in described visual interface testing interface,
The test request that described service equipment is generated can include described interface type to be tested and described extremely
A few target component type.
Wherein, the third party in described service equipment service interface can include increase interface, delete interface,
Revising interface, check interface etc., such as, third party's service provides cloud space, and (be placed on network deposits
Storage space), then when application apparatus calls the increase interface during third party services, service equipment can be should
A memory space is increased with the user of equipment side.The URL that each interface of described third party service is corresponding is
Identical, but HTTP method is different.
S402, parameter request and described interface interchange that the described service equipment described application apparatus of reception sends please
Ask, and according to the described interface interchange request call interface corresponding with described interface type to be tested, described ginseng
At least one target component type described is packaged obtained by described application apparatus by number request;
Concrete, described application apparatus receives and carries described interface type to be tested and at least one mesh described
After the test request of mark parameter type, at least one target component type described can be sealed by described application apparatus
Dressing up parameter request, now, described parameter request and described interface interchange can be asked by described application apparatus
It is sent to the appointment URL of described service equipment so that described service equipment can receive described application apparatus and send out
The parameter request sent and the request of described interface interchange, and to be measured with described according to described interface interchange request call
The interface that examination interface type is corresponding.
S403, described service equipment generate when calling described interface basic status parameter and with described parameter
The target component that at least one target component type described in request is the most corresponding, and by described basic status
Parameter and described target component are as response results, and send described interface response results to described application apparatus;
Concrete, described service equipment can be according to described interface interchange request call and described interface to be tested
The interface that type is corresponding, and when calling described interface generate basic status parameter and with described parameter request
In the respectively corresponding target component of at least one target component type described, and by described basic status parameter
With described target component as response results.Such as, if described service equipment call be delete interface, then
Described service equipment will delete specific plug-in resource from user items.Described service equipment connects described in calling
Described basic status parameter and described target component can be generated during Kou;Described basic status parameter can
To include response time, conditional code, response format, response ID etc., described target component includes with described
The parameter that at least one target component type, each target component type is the most corresponding, such as, described target is joined
Number can include the parameter values of channel, the parameter values of rsync_hosts_allow, the parameter number of plan
Value.After described service equipment generates described basic status parameter and described target component, then by described basic shape
State parameter and described target component are packaged into a response results, and send described interface response results to described
Application apparatus.Described application apparatus receive described service equipment return interface response results after, described should
Whether the described basic status parameter that can detect in described response results with equipment is satisfied by the test strip preset
Part, described test condition can include that basic data is complete, response has not timed out, the conditional code that returns is 200,
Response format is that JSON form, respond packet are containing ID etc..Such as, if the described basic shape in response results
State parameter comprises conditional code and response format, and whether the most described application apparatus needs to detect described conditional code and be
200, and whether described response format be JSON form.When described application apparatus detects described basic status
When parameter is not satisfied by the test condition preset, described application apparatus will generate abnormality test result, described different
Often test result will comprise miscue information and positioning problems information;When described application apparatus detects
Go out described basic status parameter when being satisfied by the test condition preset, determine whether at least one target described
Parameter type whether with described target component one_to_one corresponding, if being judged as YES, then generate proper testing result,
Described proper testing result can comprise test regular prompt information, if being judged as NO, the most still generates exception
Test result.
After described application apparatus generates test result, described test result can be again returned to described service and set
Standby, and show described test result in the visual interface testing interface of described service equipment so that institute
State the user of service equipment side can be visually known described interface whether can with and whether meet specification, it is not necessary to
The full-time staff of described application apparatus side assists test, manpower is greatly reduced, links up cost.
Application apparatus in the embodiment of the present invention carries interface class to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send described
Interface interchange asks described service equipment, so that described service equipment is according to described interface interchange request call
The interface corresponding with described interface type to be tested, described application apparatus receives what described service equipment returned again
Interface response results, and generate test result, institute according to described interface response results and the test condition preset
State response results to be generated when calling described interface by described service equipment;As can be seen here, application sets
Manpower can be reduced with automatic interaction to complete interface testing, link up cost between standby and service equipment, and
And without writing test code again in test process, improve the efficiency of interface testing.
Refer to Fig. 5, be the structural representation of a kind of application apparatus that the embodiment of the present invention provides, described application
Equipment 1 may include that the first receiver module 11, call request sending module the 12, second receiver module 13;
Described first receiver module 11, carries interface type to be tested for receive that service equipment sends
Test request, and generate interface interchange request according to described interface type to be tested;
Concrete, described application apparatus 1 can include client and the background service that internet product is corresponding
Device, described internet product is the product being integrated with third party's service;Described service equipment can include the 3rd
The client corresponding to provider of side's service and background server.In service equipment side, user can be in advance
If visual interface testing interface in input need to carry out the interface type tested, user input need into
The interface type of row test after clicking on confirmation, described service equipment can generate and carry interface class to be tested
The test request of type, now, described first receiver module 11 can receive carrying of described service equipment transmission
Needing the test request of test interface type, described first receiver module 11 is further according to described interface class to be tested
Type generates interface interchange request.
Wherein, the third party in described service equipment service interface can include increase interface, delete interface,
Revising interface, check interface etc., such as, third party's service provides cloud space, and (be placed on network deposits
Storage space), then when application apparatus 1 calls the increase interface during third party services, service equipment can be
The user of application apparatus 1 side increases a memory space.The URL corresponding to each interface of described third party service
It is identical, but HTTP method is different.
Described call request sending module 12, is used for sending described interface interchange and asks described service equipment,
So that described service equipment is according to described interface interchange request call and described corresponding the connecing of interface type to be tested
Mouthful;
Concrete, after generating the request of described interface interchange, described call request sending module 12 can send institute
State interface interchange and ask described service equipment, so that described service equipment is adjusted according to the request of described interface interchange
With the interface corresponding with described interface type to be tested.Such as, user wants to test deleting in third party's service
Except interface, user can input interface type to be tested for deleting interface, by described in described service equipment side
Service equipment send carry interface type to be tested be delete interface test request to described application apparatus 1,
Sent the interface interchange corresponding with deleting interface by described call request sending module 12 again and ask described service
Equipment, the most described call request sending module 12 sends request that HTTP method is DELETE to third party
The URL that service interface is corresponding, to call the deletion interface in third party's service.
Described second receiver module 13, for receiving the interface response results that described service equipment returns, and root
Test result is generated according to described interface response results and the test condition preset;Described response results is by described
Service equipment is generated when calling described interface;
Concrete, described service equipment is the described interface corresponding function of execution in the process calling described interface
Process, such as, if described service equipment call be delete interface, the most described service equipment will be from user
Project is deleted specific plug-in resource.Described service equipment can generate sound during calling described interface
Should result, described response results can include response time, conditional code, response format, response ID etc.,
Now, described second receiver module 13 can receive the interface response results that described service equipment returns, and root
Generating test result according to described interface response results and the test condition preset, described test condition can include
The conditional code that basic data is complete, response has not timed out, return is 200, response format is JSON form, sound
ID etc. should be comprised.Such as, response results comprises conditional code and response format, and described test condition includes returning
The conditional code returned is 200 and response format is JSON form, if the conditional code in described response results is also
200 and response format be also JSON, the most described second receiver module 13 is according to described response results and described survey
The test result that strip part is generated will comprise regular prompt information;If the conditional code in described response results is not
Be 200 and/or response format is for JSON, the most described second receiver module 13 according to described response results and
The test result that described test condition is generated will comprise miscue information and positioning problems information.
After described second receiver module 13 generates test result, described test result can be again returned to described
Service equipment, and show described test result in the visual interface testing interface of described service equipment,
The user making described service equipment side can be visually known whether described interface can be used and whether meet rule
Model, it is not necessary to the full-time staff of described application apparatus 1 side assists test, manpower is greatly reduced, links up into
This.
Further, then refer to Fig. 6, be a kind of call request sending module of embodiment of the present invention offer
The structural representation of 12, described call request sending module 12 may include that encapsulation unit 121, request are sent out
Send unit 122;
Described encapsulation unit 121, for becoming parameter request by least one target component type package described;
Concrete, the user of described service equipment side can also be defeated in described visual interface testing interface
Enter at least one target component type so that the test request that described service equipment is generated can include described
Interface type to be tested and at least one target component type described.Described first receiver module 11 receives to be taken
After test request with described interface type to be tested and at least one target component type described, described envelope
At least one target component type package described can be become parameter request by dress unit 121.Such as, if described
At least one target component type includes channel, rsync_hosts_allow, plan, the most described encapsulation unit
The parameter request that at least one target component type described in 121 pairs obtains after being packaged can be:
Described request transmitting unit 122, is used for sending described parameter request and described interface interchange is asked described
Service equipment, so that described service equipment is according to described interface interchange request call and described interface class to be tested
The interface that type is corresponding, and when calling described interface generate basic status parameter and with in described parameter request
The respectively corresponding target component of at least one target component type described, and by described basic status parameter and
Described target component is as response results;
Concrete, after generating described parameter request and the request of described interface interchange, described request transmitting unit 122
Described parameter request can be sent and described interface interchange asks described service equipment, so that described service sets
The standby interface corresponding with described interface type to be tested according to described interface interchange request call, and calling
Generate when stating interface basic status parameter and with described parameter request in described at least one target component class
The target component that type is respectively corresponding, and using described basic status parameter and described target component as response results.
Wherein, described parameter request and described interface interchange can be asked to be sent to by described request transmitting unit 122
The appointment URL of described service equipment so that described service equipment can receive described interface interchange request and
Described parameter request.Described service equipment is the described interface correspondence merit of execution in the process calling described interface
Can process, such as, if described service equipment call be delete interface, the most described service equipment will from
Family project is deleted specific plug-in resource.Described service equipment can generate during calling described interface
Described basic status parameter and described target component;Described basic status parameter can include response time, shape
State code, response format, response ID etc., described target component includes and at least one target component class described
The parameter that in type, each target component type is the most corresponding, such as, described target component can include channel's
Parameter values, the parameter values of rsync_hosts_allow, the parameter values of plan.Described service equipment generates
After described basic status parameter and described target component, then by described basic status parameter and described target component
It is packaged into a response results.
Further, then refer to Fig. 7, be a kind of second receiver module 13 of embodiment of the present invention offer
Structural representation, described second receiver module 13 may include that result receive unit 131, detector unit 132,
Signal generating unit 133, judging unit 134;
Described result receives unit 131, for receiving the interface response results that described service equipment returns;
Described detector unit 132, the fullest for detecting the described basic status parameter in described response results
The test condition that foot is preset;
Described signal generating unit 133, if detecting it is not to be satisfied by described test strip for described detector unit 132
Part, then generate abnormality test result;
Described judging unit 134, if detecting for described detector unit 132 and being satisfied by described test condition,
Then determine whether at least one target component type described whether with described target component one_to_one corresponding;
Described signal generating unit 133, if being additionally operable to described judging unit 134 to judge described at least one target ginseng
Number types not with described target component one_to_one corresponding, then generate abnormality test result;
Described signal generating unit 133, if being additionally operable to described judging unit 134 to judge described at least one target ginseng
Number type and described target component one_to_one corresponding, then generate proper testing result.
Described result receive unit 131, described detector unit 132, described signal generating unit 133 and described in sentence
The concrete execution process of disconnected unit 134 may refer to the S204 to S208 in above-mentioned Fig. 2 correspondence embodiment, this
In no longer repeat.
Application apparatus 1 in the embodiment of the present invention carries interface to be tested by what reception service equipment sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send institute
State interface interchange and ask described service equipment, so that described service equipment is adjusted according to the request of described interface interchange
With the interface corresponding with described interface type to be tested, described application apparatus 1 receives described service equipment again and returns
The interface response results returned, and generate test result according to described interface response results and the test condition preset,
Described response results is generated when calling described interface by described service equipment;As can be seen here, application
Manpower can be reduced with automatic interaction to complete interface testing, links up cost between equipment 1 and service equipment,
And without writing test code again in test process, improve the efficiency of interface testing.
Refer to Fig. 8, be the structural representation of a kind of service equipment that the embodiment of the present invention provides, described service
Equipment 2 may include that test request sending module 21, call request receiver module 22, generates sending module
23;
Described test request sending module 21, for send carry the test request of interface type to be tested to
Application apparatus, so that described application apparatus generates interface interchange request according to described interface type to be tested;
Described call request receiver module 22, for receiving the described interface interchange that described service equipment 2 sends
Request, and according to the described interface interchange request call interface corresponding with described interface type to be tested;
Described generation sending module 23, for generating interface response results when calling described interface, and sends
Described interface response results is to described application apparatus, so that described application apparatus is according to described interface response results
Test result is generated with default test condition;
Concrete, when described test request also includes at least one target component type, then described in call please
Receiver module 22 is asked to ask specifically for the parameter request and described interface interchange receiving the transmission of described application apparatus
Ask, and according to the described interface interchange request call interface corresponding with described interface type to be tested;Described ginseng
At least one target component type described is packaged obtained by described application apparatus by number request;And
Described generation sending module 23 specifically for generating basic status parameter and with described when calling described interface
The target component that at least one target component type described in parameter request is the most corresponding, and by described substantially
State parameter and described target component are as response results, and send described interface response results to described application
Equipment.
Described test request sending module 21, described call request receiver module 22 and described generation send mould
The concrete execution process of block 23 may refer to the S301 to S303 of above-mentioned Fig. 3 correspondence embodiment, and above-mentioned
S401 to S403 in Fig. 4 correspondence embodiment, is not discussed here.
Application apparatus in the embodiment of the present invention carries interface to be tested by what reception service equipment 2 sent
The test request of type, can generate interface interchange request according to described interface type to be tested, and send institute
State interface interchange and ask described service equipment 2, so that described service equipment 2 is asked according to described interface interchange
Calling the interface corresponding with described interface type to be tested, described application apparatus receives described service equipment 2 again
The interface response results returned, and generate test knot according to described interface response results and the test condition preset
Really, described response results is generated when calling described interface by described service equipment 2;As can be seen here,
Manpower, communication can be reduced with automatic interaction to complete interface testing between application apparatus and service equipment 2
Cost, and without writing test code again in test process, improve the efficiency of interface testing.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.
Claims (10)
1. an interface test method, it is characterised in that including:
The test request carrying interface type to be tested that application apparatus reception service equipment sends, and according to
Described interface type to be tested generates interface interchange request;
Described application apparatus sends described interface interchange and asks described service equipment, so that described service equipment
According to the interface that described interface interchange request call is corresponding with described interface type to be tested;
Described application apparatus receives the interface response results that described service equipment returns, and rings according to described interface
Should result and default test condition generation test result;Described response results is to be adjusted by described service equipment
Generated during with described interface.
2. the method for claim 1, it is characterised in that described test request also includes at least one
Target component type,
The most described application apparatus sends described interface interchange and asks described service equipment, so that described service sets
The standby interface corresponding with described interface type to be tested according to described interface interchange request call, including:
At least one target component type package described is become parameter request by described application apparatus;
Send described parameter request and described interface interchange asks described service equipment, so that described service sets
The standby interface corresponding with described interface type to be tested according to described interface interchange request call, and calling
Generate when stating interface basic status parameter and with described parameter request in described at least one target component class
The target component that type is respectively corresponding, and using described basic status parameter and described target component as response results;
Wherein, described interface type to be tested and at least one target component type are all by described service equipment
Inputted in visual test interface in advance.
3. method as claimed in claim 2, it is characterised in that described application apparatus receives described service and sets
The standby interface response results returned, and generate test according to described interface response results and the test condition preset
As a result, including:
Described application apparatus receives the interface response results that described service equipment returns;
Detect the test condition whether described basic status parameter in described response results is satisfied by presetting;
If detecting is not to be satisfied by described test condition, then generate abnormality test result;
If detecting and being satisfied by described test condition, then determine whether at least one target component type described
Whether with described target component one_to_one corresponding;
If judge at least one target component type described not with described target component one_to_one corresponding, then generate
Abnormality test result;
If judging at least one target component type described and described target component one_to_one corresponding, then just generating
Often test result.
4. an interface test method, it is characterised in that including:
Service equipment sends and carries the test request of interface type to be tested to application apparatus, answers so that described
Interface interchange request is generated according to described interface type to be tested with equipment;
Described service equipment receives the described interface interchange request that described application apparatus sends, and connects according to described
Mouth call request calls the interface corresponding with described interface type to be tested;
Described service equipment generates interface response results when calling described interface, and sends the response of described interface
Result is to described application apparatus, so that described application apparatus is according to described interface response results and default test
Condition generates test result.
5. method as claimed in claim 4, it is characterised in that described test request also includes at least one
Target component type,
The most described service equipment receives the described interface interchange request that described application apparatus sends, and according to described
The interface that interface interchange request call is corresponding with described interface type to be tested, specifically includes:
Described service equipment receives parameter request and the request of described interface interchange that described application apparatus sends, and
According to the interface that described interface interchange request call is corresponding with described interface type to be tested, described parameter request
By described application apparatus, at least one target component type described is packaged obtained;
The most described service equipment generates interface response results when calling described interface, and sends described interface sound
Should result to described application apparatus, specifically include:
Described service equipment generate when calling described interface basic status parameter and with in described parameter request
The respectively corresponding target component of at least one target component type described, and by described basic status parameter and
Described target component is as response results, and sends described interface response results to described application apparatus;
Wherein, described interface type to be tested and at least one target component type are all by described service equipment
Inputted in visual test interface in advance.
6. an application apparatus, it is characterised in that including:
First receiver module, the test carrying interface type to be tested sent for receiving service equipment please
Ask, and generate interface interchange request according to described interface type to be tested;
Call request sending module, is used for sending described interface interchange and asks described service equipment, so that institute
State service equipment according to the described interface interchange request call interface corresponding with described interface type to be tested;
Second receiver module, for receiving the interface response results that described service equipment returns, and according to described
Interface response results and the test condition preset generate test result;Described response results is to be set by described service
For generated when calling described interface.
7. application apparatus as claimed in claim 6, it is characterised in that described test request also includes at least
One target component type,
Then call request sending module includes:
Encapsulation unit, for becoming parameter request by least one target component type package described;
Request transmitting unit, is used for sending described parameter request and described interface interchange asks described service to set
It is standby, so that described service equipment is corresponding with described interface type to be tested according to described interface interchange request call
Interface, and when calling described interface generate basic status parameter and with described parameter request in described in
The target component that at least one target component type is the most corresponding, and by described basic status parameter and described mesh
Mark parameter is as response results;
Wherein, described interface type to be tested and at least one target component type are all by described service equipment
Inputted in visual test interface in advance.
8. application apparatus as claimed in claim 7, it is characterised in that described second receiver module includes:
Result receives unit, for receiving the interface response results that described service equipment returns;
Whether detector unit, be satisfied by presetting for the described basic status parameter detected in described response results
Test condition;
Signal generating unit, if detecting it is not to be satisfied by described test condition for described detector unit, then generates
Abnormality test result;
Judging unit, if detecting for described detector unit and being satisfied by described test condition, sentences the most further
At least one target component type disconnected described whether with described target component one_to_one corresponding;
Described signal generating unit, if being additionally operable to described judging unit to judge at least one target component type described
Not with described target component one_to_one corresponding, then generate abnormality test result;
Described signal generating unit, if being additionally operable to described judging unit to judge at least one target component type described
With described target component one_to_one corresponding, then generate proper testing result.
9. a service equipment, it is characterised in that including:
Test request sending module, sets to application for sending the test request carrying interface type to be tested
It is standby, so that described application apparatus generates interface interchange request according to described interface type to be tested;
Call request receiver module, for receiving the described interface interchange request that described service equipment sends, and
According to the interface that described interface interchange request call is corresponding with described interface type to be tested;
Generate sending module, for generating interface response results when calling described interface, and connect described in transmission
Mouth response results is to described application apparatus, so that described application apparatus according to described interface response results and is preset
Test condition generate test result.
10. service equipment as claimed in claim 9, it is characterised in that described test request also include to
A few target component type,
The most described call request receiver module, specifically for receive described application apparatus send parameter request and
Described interface interchange is asked, and corresponding with described interface type to be tested according to described interface interchange request call
Interface;Described parameter request is at least one target component type described to be sealed by described application apparatus
Obtained by dress;
The most described generation sending module, specifically for when calling described interface generate basic status parameter and
With in described parameter request described in the respectively the most corresponding target component of at least one target component type, and by institute
State basic status parameter and described target component as response results, and send described interface response results to institute
State application apparatus;
Wherein, described interface type to be tested and at least one target component type are all by described service equipment
Inputted in visual test interface in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510426772.6A CN105897497A (en) | 2015-07-20 | 2015-07-20 | Interface test method, application device and service device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510426772.6A CN105897497A (en) | 2015-07-20 | 2015-07-20 | Interface test method, application device and service device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105897497A true CN105897497A (en) | 2016-08-24 |
Family
ID=57001847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510426772.6A Pending CN105897497A (en) | 2015-07-20 | 2015-07-20 | Interface test method, application device and service device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105897497A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106598851A (en) * | 2016-12-05 | 2017-04-26 | 广州唯品会信息科技有限公司 | Software interface test method and system |
CN106648945A (en) * | 2016-09-30 | 2017-05-10 | 北京金山安全软件有限公司 | Interface data testing method and device and electronic equipment |
CN106844114A (en) * | 2016-12-14 | 2017-06-13 | 合网络技术(北京)有限公司 | The monitoring method and device of interface testing stability |
CN106951364A (en) * | 2017-02-08 | 2017-07-14 | 深圳国泰安教育技术股份有限公司 | Method of testing and device |
CN108241580A (en) * | 2016-12-30 | 2018-07-03 | 深圳壹账通智能科技有限公司 | The test method and terminal of client-side program |
CN108462760A (en) * | 2018-03-21 | 2018-08-28 | 平安科技(深圳)有限公司 | Electronic device, cluster access domain name automatic generation method and storage medium |
CN108614776A (en) * | 2018-05-04 | 2018-10-02 | 艺龙网信息技术(北京)有限公司 | Across the dynamic fixing method and system of language protocol test request |
CN108809998A (en) * | 2018-06-19 | 2018-11-13 | 北京易途客信息技术有限公司 | A kind of interface access method and device |
CN109857634A (en) * | 2018-12-15 | 2019-06-07 | 中国平安人寿保险股份有限公司 | Interface testing parameter verification method, apparatus, electronic equipment and storage medium |
CN110740071A (en) * | 2018-07-18 | 2020-01-31 | 优信拍(北京)信息科技有限公司 | network interface monitoring method, device and system |
CN111143149A (en) * | 2019-12-25 | 2020-05-12 | 深圳前海环融联易信息科技服务有限公司 | Request data playback method and device, computer equipment and storage medium |
CN115525576A (en) * | 2022-10-31 | 2022-12-27 | 广州市易鸿智能装备有限公司 | MES communication interface device, test method, test equipment and computer storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5983001A (en) * | 1995-08-30 | 1999-11-09 | Sun Microsystems, Inc. | Method and system for facilitating the automatic creation of test scripts |
CN102096631A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Interface testing method and device |
CN103067214A (en) * | 2011-10-19 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Method, client, server and system used for testing web site performance |
CN103268285A (en) * | 2013-05-31 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Method and device for automatic generation of robustness test case of API interface |
CN103902456A (en) * | 2014-04-09 | 2014-07-02 | 中国工商银行股份有限公司 | Test script processing device, system and method |
-
2015
- 2015-07-20 CN CN201510426772.6A patent/CN105897497A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5983001A (en) * | 1995-08-30 | 1999-11-09 | Sun Microsystems, Inc. | Method and system for facilitating the automatic creation of test scripts |
CN102096631A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Interface testing method and device |
CN103067214A (en) * | 2011-10-19 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Method, client, server and system used for testing web site performance |
CN103268285A (en) * | 2013-05-31 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Method and device for automatic generation of robustness test case of API interface |
CN103902456A (en) * | 2014-04-09 | 2014-07-02 | 中国工商银行股份有限公司 | Test script processing device, system and method |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648945A (en) * | 2016-09-30 | 2017-05-10 | 北京金山安全软件有限公司 | Interface data testing method and device and electronic equipment |
CN106648945B (en) * | 2016-09-30 | 2019-10-15 | 北京金山安全软件有限公司 | Interface data testing method and device and electronic equipment |
CN106598851A (en) * | 2016-12-05 | 2017-04-26 | 广州唯品会信息科技有限公司 | Software interface test method and system |
CN106844114A (en) * | 2016-12-14 | 2017-06-13 | 合网络技术(北京)有限公司 | The monitoring method and device of interface testing stability |
CN108241580A (en) * | 2016-12-30 | 2018-07-03 | 深圳壹账通智能科技有限公司 | The test method and terminal of client-side program |
CN106951364A (en) * | 2017-02-08 | 2017-07-14 | 深圳国泰安教育技术股份有限公司 | Method of testing and device |
CN106951364B (en) * | 2017-02-08 | 2020-05-12 | 深圳国泰安教育技术有限公司 | Test method and device |
CN108462760A (en) * | 2018-03-21 | 2018-08-28 | 平安科技(深圳)有限公司 | Electronic device, cluster access domain name automatic generation method and storage medium |
CN108462760B (en) * | 2018-03-21 | 2020-01-10 | 平安科技(深圳)有限公司 | Electronic device, automatic cluster access domain name generation method and storage medium |
CN108614776A (en) * | 2018-05-04 | 2018-10-02 | 艺龙网信息技术(北京)有限公司 | Across the dynamic fixing method and system of language protocol test request |
CN108614776B (en) * | 2018-05-04 | 2021-08-31 | 艺龙网信息技术(北京)有限公司 | Dynamic construction method and system for cross-language protocol test request |
CN108809998A (en) * | 2018-06-19 | 2018-11-13 | 北京易途客信息技术有限公司 | A kind of interface access method and device |
CN110740071B (en) * | 2018-07-18 | 2021-07-13 | 优信拍(北京)信息科技有限公司 | Method, device and system for monitoring network interface |
CN110740071A (en) * | 2018-07-18 | 2020-01-31 | 优信拍(北京)信息科技有限公司 | network interface monitoring method, device and system |
CN109857634A (en) * | 2018-12-15 | 2019-06-07 | 中国平安人寿保险股份有限公司 | Interface testing parameter verification method, apparatus, electronic equipment and storage medium |
CN111143149A (en) * | 2019-12-25 | 2020-05-12 | 深圳前海环融联易信息科技服务有限公司 | Request data playback method and device, computer equipment and storage medium |
CN111143149B (en) * | 2019-12-25 | 2024-03-19 | 深圳前海环融联易信息科技服务有限公司 | Method and device for back displaying request data, computer equipment and storage medium |
CN115525576A (en) * | 2022-10-31 | 2022-12-27 | 广州市易鸿智能装备有限公司 | MES communication interface device, test method, test equipment and computer storage medium |
CN115525576B (en) * | 2022-10-31 | 2023-08-25 | 广州市易鸿智能装备有限公司 | MES communication interface device, test method, test equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105897497A (en) | Interface test method, application device and service device | |
CN107070735B (en) | Method, test terminal and the system of asynchronous interface test | |
CN105099811B (en) | Interface testing method and device | |
CN103905447B (en) | Service link selects control method and equipment | |
CN104301443B (en) | A kind of method and system that end ability interface is called on web page | |
CN106656849B (en) | Message rate-limiting method and device | |
CN107040494B (en) | User account abnormity prevention method and system | |
CN106156133B (en) | The method, apparatus and system that control table substance is submitted again | |
CN105160522A (en) | Virtual resource transfer method, related device and system | |
CN105915529B (en) | A kind of message forming method and device | |
CN106201794A (en) | The detection method of a kind of server and device | |
CN106412975B (en) | A kind of test method and device of content charging loophole | |
CN109818997A (en) | A kind of load-balancing method, system and storage medium | |
CN106886434A (en) | A kind of Distributed Application installation method and device | |
CN106549989A (en) | A kind of data transmission method and its system, user terminal, application server | |
CN103902446A (en) | Network server automated testing method and device | |
CN105975393A (en) | Page display detection method and system | |
CN110224897A (en) | Vulnerable network test method, device, mobile device and the storage medium of application program | |
CN110392155A (en) | It has been shown that, processing method, device and the equipment of notification message | |
CN108737204A (en) | A kind of acquisition method and communication terminal of network performance information | |
CN111767229A (en) | Performance test method, device and equipment | |
CN104717312B (en) | A kind of determining method and device for accessing Internet resources interface | |
CN110347645A (en) | A kind of electronic document deposits card method and device | |
CN105354249B (en) | More account relating method, apparatus and electronic equipment | |
CN108280024A (en) | Traffic distribution strategy test method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160824 |