CN107294808A - The methods, devices and systems of interface testing - Google Patents

The methods, devices and systems of interface testing Download PDF

Info

Publication number
CN107294808A
CN107294808A CN201710543989.4A CN201710543989A CN107294808A CN 107294808 A CN107294808 A CN 107294808A CN 201710543989 A CN201710543989 A CN 201710543989A CN 107294808 A CN107294808 A CN 107294808A
Authority
CN
China
Prior art keywords
interface
parameter
modified
client
service end
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.)
Granted
Application number
CN201710543989.4A
Other languages
Chinese (zh)
Other versions
CN107294808B (en
Inventor
彭文斌
吴腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710543989.4A priority Critical patent/CN107294808B/en
Publication of CN107294808A publication Critical patent/CN107294808A/en
Application granted granted Critical
Publication of CN107294808B publication Critical patent/CN107294808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provides a kind of methods, devices and systems of interface testing.This method includes:After the parameter modification request that user inputs is received, according to the recipient of parameter modification request determination parameter to be modified, and amended parameter;The recipient includes client or service end, and parameter to be modified is included from the interface parameters in the interface requests of client acquisition, or, the interface return parameters in the interface response obtained from service end;Request modification parameter to be modified is changed according to the parameter, and amended parameter is sent to recipient.The method of the present invention, reduces code Capability Requirement and difficulty of test of the interface testing to tester, improves testing efficiency, it also avoid in the prior art because changing the potential safety hazard that code logic is brought to project repeatedly.

Description

The methods, devices and systems of interface testing
Technical field
The present embodiments relate to the communication technology, more particularly to a kind of methods, devices and systems of interface testing.
Background technology
In Large-Scale Projects, trickle defect may also bring fatal impact to project.In old process, test Personnel often only focus on user terminal software function normally, but functional test can not cover various multiple in formal operating environment Miscellaneous situation, it is the vital link of data interaction in software project that test is carried out to the interface between client and service end. Conventional interface is divided into HTTP (HyperText Transfer Protocol, abbreviation HTTP) and transmission control Agreement (Transmission Control Protocol, abbreviation TCP) two major classes.When being tested for TCP interfaces, although The binary stream data of TCP interfaces can be intercepted and captured using third party's packet catcher, but the data intercepted and captured usually require decryption, and User can not artificially change configured transmission, so as to be difficult under different interface parameters, service end and the bilateral table of client Now whether normal and stable test target.For the problem, prior art proposes two kinds of method of testings:
A) client Connection Service end is substituted using script, by changing the local code logic of script come simulant-client Various interface requests.After changing script and running, you can completed by judging the performance of service end corresponding to the interface The verification of interface requests parameter, the various situations of interface requests parameter testing can be covered by repeating the operation several times.This method is intended to The stability of service end is determined by interface testing
B) the local code logic of manual modification service end, the interface for being sent to client by specified services end, which is returned, joins Number carrys out the various returns of analog service end interface.Repeatedly then the interface return parameters of modification service end check the table of client It is existing, you can the various situations of covering interface return parameters test.Method is intended to determine client by the another method of interface testing The stability at end
But, in above two method, modification local code logic need to have code authority, to the code ability of tester With certain requirement, the test scope of application is small, and difficulty is larger;Also, code logic is changed repeatedly, may be to project band Enter new potential safety hazard.
The content of the invention
The embodiment of the present invention provides a kind of methods, devices and systems of interface testing, is being connect with solving prior art During mouth test, it is required to change local code logic, there is certain requirement to the code ability of tester, test is applicable model Enclose small, and difficulty is larger;Also, code logic is changed repeatedly, may bring the technical problem of new potential safety hazard into project.
In a first aspect, the embodiment of the present invention provides a kind of method of interface testing, including:
After the parameter modification request of user's input is received, request is changed according to the parameter and determines ginseng to be modified Number, and amended parameter recipient;Wherein, the recipient includes the client or service end, described to be repaired The parameter changed is included from the interface parameters in the interface requests of client acquisition, or, from connecing that the service end is obtained Interface return parameters in mouth response;
The parameter to be modified is changed according to parameter modification request, and amended parameter is sent to described connect Debit.
Second aspect, the embodiment of the present invention provides a kind of device of interface testing, including:Transport module, determining module and Modified module;
Determining module, after the parameter modification request for receiving user's input in the transport module, according to the ginseng Number modification request determines parameter to be modified, and amended parameter recipient;Wherein, the recipient includes the visitor Family end or service end, during the parameter to be modified includes the interface requests that the transport module is obtained from the client Interface parameters, or, the interface return parameters in the interface response that the transport module is obtained from the service end;
Modified module, for changing the parameter to be modified according to parameter modification request;
Transport module, for amended parameter to be sent into the recipient.
The third aspect, the embodiment of the present invention provides a kind of interface test system, including:Client, service end, transfer service Device and display end;
The transfer server, for performing the method that aforementioned first aspect is provided.
The methods, devices and systems of interface testing provided in an embodiment of the present invention, user only needs to input by gui interface Parameter modification request, that is, only need to inform that transfer server changes what kind of parameter, and by the parameter of the type Why modification is worth, and the parameter that transfer server can just be inputted based on user changes request, and auxiliary completes client and service Interface testing between end, so as to realize the judgement of client and the bilateral stability of service end.This programme changes visitor without user Family end or the local code logic of service end, reduce interface testing difficult to the code Capability Requirement of tester and test Degree, improves personnel's scope of application of interface testing, it also avoid in the prior art because changing code logic repeatedly to project band The potential safety hazard come.On the other hand, need not be using script simulation in the description of above-mentioned technical proposal, the embodiment of the present invention Client and service end communication, but actual client is used, user can not only be sent to display by transfer server The performance of service end is known in the interface response at end, can also know that client is receiving service end by actual client Performance when interface is responded, therefore, the embodiment of the present invention can be realized in interface testing to client by a kind of test mode With the detection of the bilateral stability of service end, testing efficiency is substantially increased.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of interface test system provided in an embodiment of the present invention;
The schematic flow sheet of the embodiment of the method one for the interface testing that Fig. 2 provides for the present invention;
The signaling process figure of the embodiment of the method two for the interface testing that Fig. 3 provides for the present invention;
The signaling process figure of the embodiment of the method three for the interface testing that Fig. 4 provides for the present invention;
The schematic flow sheet of the embodiment of the method four for the interface testing that Fig. 5 provides for the present invention;
The structural representation of the device embodiment one for the interface testing that Fig. 6 provides for the present invention;
The structural representation of the device embodiment two for the interface testing that Fig. 7 provides for the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is 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 The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The method of interface testing provided in an embodiment of the present invention, goes for the interface test system shown in Fig. 1.As schemed Shown in 1, the interface test system includes client 11, transfer server 12, service end 13, gui interface (or display end) 14. Wherein, the client can be user oriented application software, and service end is the processing backstage of the application software.Optionally, Above-mentioned client, service end, transfer server, gui interface can be separately positioned on different hardware devices, for example, client End can be integrated on mobile phone, service end can with it is integrated on computers, transfer server can be integrated in another computer On, gui interface can be integrated on a display end;Optionally, it can also be that client and service end are integrated in an equipment On, transfer server and gui interface can with it is integrated on another.The embodiment of the present invention is to client, service end, transfer Server and the integrated hardware device of gui interface are not limited, it is necessary to illustrate, every to be integrated with the embodiment of the present invention In client, service end, the equipment of transfer server and gui interface, belong to protection scope of the present invention.
Further, above-mentioned transfer server can include task scheduling modules 31, data resolution module 32, data transfer Module 33, script record module 34, automatic test module 35 and exception processing module 36.The transfer server can be performed down Embodiment of the method is stated, referring specifically to the description of following embodiments of the method.
Wherein, task scheduling modules are mainly responsible for coordinating the task that each user is submitted by gui interface, and the task can be Parameter modification request in following embodiments, can also be the automatic test instruction in following embodiments.The task scheduling mould Block carries out task management using Celery.For example, when user disposably submits multiple parameters modification request, task scheduling mould Block meeting automatic order collects task queue, i.e., multiple parameters modification request is ranked up.Transfer server has performed a ginseng Number modification request, task scheduling modules will activate next parameter modification request automatically.Pass through task scheduling processing, it is ensured that in Turn the execution task of server in order, effectively reduce the pressure in terms of multitasking.
When client and service end are communicated by TCP interfaces, the data communicated between client and service end are all It is that, by encryption, data resolution module is mainly responsible for capturing the binary data stream communicated between them.Optionally, should Binary data stream contains the interface requests and other data that client is sent to service end.Optionally, the binary data Stream can also be sent to interface response and other data of client comprising service end.When data resolution module captures binary system After data flow, (data interaction agreement is followed the communication protocol based on client and service end i.e. between client and service end Rule), binary stream data are resolved to the data format of the recognizable processing of transfer server.Due to the data flow knot of encryption Structure is more complicated, optionally, and above-mentioned data resolution module can only focus on interface requests or interface response in data flow, only will Interface requests or interface respond corresponding byte-extraction and come out parsing, and it can substantially reduce the difficulty of data parsing.
Data transmission module is mainly responsible for the data for obtaining data resolution module, is inputted according to user by gui interface Parameter modification request modification after, send data to client or service end.Transfer server is repaiied in one parameter of execution When changing request, data transmission module can change the parameter modified values specified in request according to the parameter to change resulting number According to after the completion of data modification, data transmission module carries out after encrypted processing (being such as encrypted to client or clothes again to it The recognizable form in business end), you can continue to send to client or service end.Number of ports can easily be realized by the module According to increasing, delete, change, look into, so as to realize the modification test of directive property.
Script records module and automatic test module is inseparable, and the two modules are related generally in following embodiments Automatic testing process.Script records module and is mainly responsible for the interface requests for sending client to service end according to delivery time Record, the perform script each recorded can correspond to one or more expected test result, and the test result is connecing for service end Mouth response.Automatic test module is then the interface requests in the perform script by recording, according to each being connect in the perform script The transmission time interval of mouth request, is asked to service end transmission interface, and transfer server checks service end after data have been sent Whether the interface response of transmission meets expected interface response, and provide service end performance whether stable conclusion.
Exception processing module is mainly responsible for catching the exception and reported in time.Integrated instant messaging alarming machine is used in the system The mode of device people, default alarm can be transmitted when certain module operation exception to user.Exception processing module can be certainly It is dynamic skip it is abnormal because caused by user submits mission bit stream wrong, it is ensured that system when occurring such abnormal, what user submitted Other tasks can be performed as usual.
Before following embodiments are performed, transfer server needs to detect and whether the connection between client, service end Normally, i.e.,;Start transfer server first, whether normal transfer server is checked itself is connected with service end;Then client Transfer server is connected, transfer server checks whether client can pass through proper communication between transfer server and service end. After confirming that client and service end can be by transfer server proper communications, following embodiments of the method are performed.
In the prior art, the local generation in the script of user's modification simulant-client is generally required when carrying out interface testing Code logic, or the local code logic of service end is changed, there is certain requirement to the code ability of tester, test is suitable It is small with scope, and difficulty is larger;Also, code logic is changed repeatedly, may bring new potential safety hazard into project.Further Ground, knows the bilateral stability of client and service end by interface testing in the prior art, generally requires using two kinds not Same method of testing, testing efficiency is relatively low.
The method of interface testing provided in an embodiment of the present invention, it is intended to solve the as above technical problem of prior art.It is optional , the method for interface testing provided in an embodiment of the present invention, the survey for the TCP interfaces that can be used between client and service end Examination.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
The schematic flow sheet of the embodiment of the method one for the interface testing that Fig. 2 provides for the present invention.The present embodiment is referred to By setting transfer server between client and service end, user only needs please to the modification of transfer server input parameter Ask, you can carry out the detailed process of interface testing.Optionally, the executive agent of the embodiment of the present invention can be transfer server, Can also be other processing equipments.Following embodiments are illustrated by taking transfer server as an example to whole technical scheme.Such as Shown in Fig. 2, this method comprises the following steps:
S101;Transfer server is changed according to the parameter and asked after the parameter modification request of user's input is received Determine transfer server parameter to be modified, and amended parameter recipient.
Wherein, the recipient includes the client or service end, and the parameter to be modified includes the transfer Interface parameters in the interface requests that server is obtained from the client, or, the transfer server is from the service end Interface return parameters in the interface response of acquisition.
Specifically, the interface test system with reference to shown in above-mentioned Fig. 1, user can be changed by gui interface input parameter Ask, then parameter modification request can be sent to transfer server by the gui interface.Optionally, user can also pass through language The modification request of sound input parameter, for example, showing voice control on gui interface, user then can by clicking on voice control So that parameter modification request to be inputted in the way of voice, the mode that the embodiment of the present invention changes request to user's input parameter is not done Limit.
After transfer server interface to parameter, which is changed, asks, during the content changed according to the parameter in request can be determined Turn server parameter to be modified, that is, determine which parameter transfer server will change, and these parameters are revised as assorted The parameter value of sample.Optionally, transfer server can also change the reception that amended parameter is known in request according to the parameter Side, i.e., transfer server determines which object that amended parameter should be sent in above-mentioned interface test system.It is optional , the mark modified values corresponding with parameter to be modified of parameter to be modified can be included in parameter modification request.It is optional , the recipient of above-mentioned amended parameter can include client or service end, and above-mentioned parameter to be modified can include Interface parameters in the interface requests that transfer server is obtained from client, or, transfer server is from connecing that service end is obtained Interface return parameters in mouth response.
S102:Transfer server changes the parameter to be modified according to parameter modification request, and will be amended Parameter is sent to the recipient.
Specifically, after transfer server determines the recipient of parameter to be modified and amended parameter, in The content modification asked parameter to be modified can be changed according to above-mentioned parameter by turning server, and amended parameter is sent to State identified recipient.
Optionally, above-mentioned amended parameter can also be sent to display end by transfer server, so that display end The amended parameter can be shown to user.Optionally, during the amended parameter can be amended interface requests Interface parameters, can also be the interface return parameters in amended interface response.
Optionally, the performance of recipient can also be sent to display end and be shown by transfer server, the recipient's Performance can include at least one in the interface response of service end, the performance of client.If for example, the interface response of service end It is directed to what amended interface parameters was responded, then the interface received response will be sent to aobvious by transfer server Show end, so that user can know whether the performance of service end stablizes by gui interface.If for another example service end connects What the interface parameters that mouth response is directed in original interface requests was responded, transfer server will can also be terminated from service The interface response of receipts is sent to display end and shown.If for another example transfer server is to connecing in the interface response of service end Mouth return parameters are modified, then amended interface return parameters can be sent to client and display end by transfer server, Client has corresponding performance for amended interface return parameters, and transfer server can also send the performance of client Shown to display end, wherein, when the performance of the client can be the client interface response different to receiving, institute The corresponding function performance that performs, the duration of Processing Interface response, stability etc. performance indications and parameter, the performance of client It can directly be obtained from client or the various ways such as acquisition are realized from daily record indirectly, be not limited herein.So that with Family not only can know whether the performance of client stablizes by client, and the table of client can also be known by gui interface Now whether stablize.
Seen from the above description, in the embodiment of the present invention, user only needs to change request i.e. by gui interface input parameter Can, that is, only need to inform that transfer server changes what kind of parameter, and why the parameter modification of the type is worth, in The parameter that turning server can just be inputted based on user changes request, and the interface that auxiliary is completed between client and service end is surveyed Examination, so as to realize the judgement of client and the bilateral stability of service end.This programme changes client or service end without user Local code logic, reduce code Capability Requirement and difficulty of test of the interface testing to tester, improve interface survey Personnel's scope of application of examination, it also avoid in the prior art because changing the potential safety hazard that code logic is brought to project repeatedly.Separately On the one hand, script simulant-client and service end need not be used in the description of above-mentioned technical proposal, the embodiment of the present invention Communication, but actual client is used, user can not only be sent to the table of the recipient of display end by transfer server It is existing, know whether the performance of service end stablizes, the table for the recipient that can also be shown by actual client or display end Now know whether performance of the client when the interface for receiving service end is responded stablizes.Therefore, the embodiment of the present invention can lead to Cross a kind of test mode and realize detection in interface testing to client and the bilateral stability of service end, substantially increase test effect Rate.
The signaling process figure of the embodiment of the method two for the interface testing that Fig. 3 provides for the present invention.The present embodiment is referred to When parameter to be modified is the interface parameters in interface requests, client and service end by transfer server realize client and The detailed process of the interface testing of service end.As shown in figure 3, this method comprises the following steps:
S201:Client is asked to transfer server transmission interface, and interface parameters is carried in the interface requests.
Optionally, interface parameters can be length, type of transmission message of client transmissions message etc..
S202:Transfer server receives the interface requests, and the interface requests obtained from the client are parsed, obtained To the interface parameters.
In the step, because transfer server predicts the communication protocol between client and service end, therefore, transfer service Device parses the interface requests that client is sent according to the communication protocol, is converted into oneself recognizable processing format, obtains Interface parameters in interface requests.Optionally, the step can be the data resolution module execution in above-mentioned interface test system 's.
S203:Transfer server receives the parameter modification request that user is inputted by gui interface, is changed and asked according to parameter In the mark of parameter to be modified determine that transfer server parameter to be modified is above-mentioned interface parameters, and, it is determined that modification The recipient of interface parameters afterwards is service end.
Asked specifically, user can be changed by gui interface input parameter, then the gui interface please by parameter modification Ask and be sent to transfer server.The mark that parameter to be modified is carried in parameter modification request is corresponding with parameter to be modified Modified values, therefore, transfer server can change request according to the parameter and know that parameter to be modified is connecing in interface requests Mouthful parameter, and determine the recipient of amended interface parameters for service end, i.e. transfer server know should docking port please Interface parameters in asking is modified, and knows what kind of modification is made to these interface parameters, and, it is known that after modification Interface parameters be sent to service end.
In addition, as described above, transfer server is the interface requests for first monitoring client, when listening to needs Parameter modification can be just performed during the target interface request of modification.
S204:Transfer server changes the interface parameters according to the modified values of the parameter to be modified, and will modification Interface parameters afterwards carries and the service end is sent in new interface requests.
In the step, why the interface parameters being sent to client in the interface requests of service end is modified, real It is for the performance of detection service end service end under different interface parameters, so that it is determined that whether service end is stablized on border.Can Choosing, the performance of the service end can include:Service end collapse, service end send normal interface response, service end and send different Normal interface responds any one in (the interface return parameters i.e. in interface response are abnormal).
Optionally, the data transmission module that the step can be in above-mentioned interface test system is performed.
S205:Service end receives the new interface requests that transfer server is sent, and for the new interface requests, Xiang Zhong Turn the response of server transmission interface.
Interface return parameters are carried in interface response.
S206:Transfer server receives the interface response that the service end is sent.
Optionally, after transfer server receives the interface response of service end, transfer server can ring the interface Display end should be sent to be shown, i.e., shown on the gui interface of display end, so that user can know service end Interface return parameters in interface response, and then determine whether the performance of service end stablizes.
Optionally, after transfer server receives the interface response of service end, transfer server will can also be received Interface response be sent to client, then user knows the stability of client by detecting the performance of client.It is optional , the performance of client can be also sent to display end by transfer server.I.e. the method for the present embodiment need not be using script simulation Client and service end communication, but actual client is used, user can not only be sent to display by transfer server The performance of service end is known in the interface response at end, by actual client or display end client can also be known in reception To service end interface response when performance, therefore, the embodiment of the present invention can realize interface testing by a kind of test mode In detection to client and the bilateral stability of service end, substantially increase testing efficiency.
It should be noted that when user inputs multiple parameters modification request on gui interface, transfer server can be to more Individual parameter modification request is ranked up, it is determined that the execution sequence of each parameter modification request, then please according to the modification of each parameter The execution sequence asked, performs the corresponding process of parameter modification request, the process be exactly S201 in the embodiment of the present invention extremely S206 process, or or S301 to S306 in following embodiments process.Transfer server can be to multiple parameters The operation that modification request is ranked up can the task scheduling modules of above-mentioned interface test system perform.Adjusted by the task Degree processing, it is ensured that the execution task of transfer server in order, effectively reduces the pressure in terms of multitasking
The method of interface testing provided in an embodiment of the present invention, when the interface that transfer server receives client transmission please When asking, the parameter that transfer server is inputted according to user, which is changed, asks, and it is the interface in interface requests to determine parameter to be modified Parameter, and determine that the recipient of amended interface parameters is service end, therefore, transfer server is changed by the parameter Request modification interface parameters, and amended interface parameters is sent to service end, so as to receive service end for amended Interface response can be sent to display end and be shown by the interface response that interface parameters is sent, optionally, transfer server, Allow user intuitively to know the performance of service end by the gui interface of display end, interface response can also be sent to Client can also be responded the manifestation that make for the interface and is sent to display end by actual client, and user can be with The performance of client is checked by the gui interface of actual client or display end, the stability of client is determined.I.e., originally The method of embodiment need not be communicated using script simulant-client and service end, but use actual client, and user is not only The performance of service end is known in the interface response that display end can be sent to by transfer server, can also pass through actual client Performance of the client when the interface for receiving service end is responded is known at end, therefore, and the embodiment of the present invention can pass through one kind survey Examination mode realizes the detection to client and the bilateral stability of service end in interface testing, substantially increases testing efficiency.Enter one Step ground, the embodiment of the present invention changes the local code logic of client or service end without user, and user is only needed by GUI The modification request of interface input parameter, that is, only need to inform that transfer server changes what kind of parameter, and by such Why the parameter modification of type is worth, and the parameter that transfer server can just be inputted based on user changes request, and auxiliary completes client Interface testing between end and service end, which reduces code Capability Requirement and difficulty of test of the interface testing to tester, Personnel's scope of application of interface testing is improved, be it also avoid in the prior art because changing what code logic was brought to project repeatedly Potential safety hazard.
The signaling process figure of the embodiment of the method three for the interface testing that Fig. 4 provides for the present invention.The present embodiment is referred to When parameter to be modified is the interface return parameters during interface is responded, client and service end realize client by transfer server The detailed process of the interface testing of end and service end.As shown in figure 4, this method comprises the following steps:
S301:Client is asked to transfer server transmission interface, and interface parameters is carried in the interface requests.
S302:Transfer server receives the interface requests, and the interface requests obtained from the client are parsed, obtained To the interface parameters.
Above-mentioned S301 and S302 detailed process may refer to described in above-mentioned S201 and S202, will not be repeated here.
Optionally, the S302 can be optional step, and transfer server is after following S303 are performed, it may be determined that no The interface parameters in interface requests is changed, therefore, transfer server can need not perform parsing action, to save transfer server Processing expense.
S303:Transfer server receives the parameter modification request that user is inputted by gui interface, is changed and asked according to parameter In parameter to be modified mark determine transfer server parameter to be modified responded for interface in interface return parameters, with And, the recipient for determining amended interface return parameters is client.
Asked specifically, user can be changed by gui interface input parameter, then the gui interface can repair parameter Change request and be sent to transfer server.The mark and parameter pair to be modified of parameter to be modified are carried in parameter modification request The modified values answered, therefore, transfer server can know parameter to be modified in interface response according to parameter modification request Interface return parameters, and determine that the recipient of amended interface return parameters is known for client, i.e. transfer server Interface return parameters that should be in docking port response are modified, and know that what kind of, which is made, to these interface return parameters repaiies Change, and, it is known that amended interface return parameters are sent to client.
S304:The interface requests that transfer server will be obtained from the client, are sent to the service end.
S305:Transfer server receives the interface response that the service end is sent, and according to the parameter to be modified Modified values, change the interface return parameters in the interface response.
Specifically, after transfer server receives the interface response of service end transmission, interface response is parsed, The interface return parameters in interface response are obtained, then transfer server result docking port according to determined by above-mentioned S203 is responded In interface return parameters modify, obtain amended interface return parameters.Optionally, when transfer server receives clothes It is engaged in after the interface response of end transmission, interface response can also be sent to display end so that user can be obtained by display end Know the performance of service end.
In the step, the interface return parameters why being sent to service end in the response of the interface of client are repaiied Change, be actually in order to detect the performance of client client under different interface return parameters, so that it is determined that client is No stabilization.
In addition, as described above, transfer server is first to monitor the interface requests of client and connecing for service end Mouth is responded, and can just perform parameter when listening to and needing the target interface changed response changes.
S306:Amended interface return parameters are carried and are sent to the visitor in new interface response by transfer server Family end.
In the step, transfer server can carry amended return parameters is sent to visitor in new interface response Amended interface return parameters can also be sent to display end and be shown by family end, optionally, transfer server, optional , the performance that transfer server also can make client for the amended interface return parameters is sent to display end, from And allow user to know the performance of client by the gui interface of actual client or display end.
Optionally, when transfer server identifies that current parameter modification request is abnormal, transfer server can be ignored Current parameter modification request, performs next parameter modification request.The process can have different in above-mentioned interface test system Normal processing module is performed.The exception processing module is mainly responsible for the user that catchs the exception and report in time.Above-mentioned transfer service In device by the way of integrated instant messaging alarming robot, when certain module operation exception, it can also send in time to specified Alarm to user.
The method of interface testing provided in an embodiment of the present invention, when the interface that transfer server receives client transmission please When asking, the parameter that transfer server is inputted according to user, which is changed, asks, and it is the interface in interface response to determine parameter to be modified Return parameters, and determine that the recipient of amended interface return parameters is client, therefore, transfer server connects this Mouth request is sent to client, and after the interface response of service end transmission is received, the interface during modification interface is responded is returned Parameter, and the amended interface return parameters are sent to client and/or display end, optionally, transfer server also can Client is sent to display end for the performance that the amended interface return parameters are made, so that user can pass through Actual client or the gui interface of display end know whether the performance of client stablizes, and pass through GUI circle of display end Know the performance of service end in face.That is, the method for the present embodiment need not be communicated using script simulant-client and service end, but be adopted With actual client, the interface that user can not only be sent to display end by transfer server responds the table for knowing service end It is existing, performance of the client when the interface for receiving service end is responded, therefore, this hair can also be known by actual client Bright embodiment can realize the detection in interface testing to client and the bilateral stability of service end by a kind of test mode, greatly Improve testing efficiency greatly.Further, the embodiment of the present invention changes the local code of client or service end without user Logic, user, which only needs to change by gui interface input parameter, to be asked, that is, only needs to inform what transfer server changes The parameter of type, and why the parameter modification of the type is worth, the parameter that transfer server can just be inputted based on user Modification request, auxiliary completes the interface testing between client and service end, which reduces generation of the interface testing to tester Code Capability Requirement, improves the personnel's scope of application and difficulty of test of interface testing, it also avoid in the prior art because repairing repeatedly Change the potential safety hazard that code logic is brought to project.
The schematic flow sheet of the embodiment of the method four for the interface testing that Fig. 5 provides for the present invention.The present embodiment is referred to For the automation implementation process of above-mentioned embodiment illustrated in fig. 3, i.e., in the present embodiment, user joins without being inputted by gui interface Number modification request, user only needs to input automatic test instruction by gui interface, and transfer server can complete interface survey Examination.As shown in figure 5, this method comprises the following steps:
S401:The transmission time of interface requests of the transfer server at least one default perform script, to clothes Business end transmission interface request;Wherein, the perform script includes the interface requests of at least one client transmission.
Optionally, before S401, transfer server can pay close attention to rule according to default interface requests, from client kimonos It is engaged in the communication data at end, obtains at least one perform script.What interface requests concern rule was characterized is transfer server institute The mark for the interface requests that should be paid close attention to, or the interface requests that should be paid close attention to feature etc..
Client and service end are in proper communication, and transfer server only monitors at least one that client is sent to service end Individual interface requests, the modification of interface parameters is not made.But, it is pre- that transfer server can pay close attention to rule according to default interface requests Know which perform script oneself will record according to interface requests are listened to.When recording perform script, transfer server is by visitor The interface requests that family end is sent to service end are recorded according to delivery time, and multiple interface requests in a predefined duration can be with Constitute a perform script.Each perform script can correspond to the response of one or more first interface, a perform script Including at least one interface requests.For example, it is assumed that transfer server pays close attention to rule according to default interface requests knows that oneself should The change of the interface requests 5 of the concern.It is assumed that the interface requests in first 5s that client is sent to service end include interface (value of the interface parameters A in the interface requests 5 is false for request 1, interface requests 2, interface requests 3, interface requests 4 and interface requests 5 It is set to X), the interface requests in second 5s include interface requests 1, interface requests 2, interface requests 3, interface requests 4 and interface (interface parameters in the interface requests 6 is also interface parameters A, and the value of the A is assumed to be Y, you can to regard interface parameters A as request 6 Y is changed into from X).That is, in each perform script that transfer server is recorded, transfer server interface of interest please The value for the interface parameters asked is in different perform scripts, and the value of the interface parameters is different.Please with above-mentioned interface requests 5 and interface Ask exemplified by 6, the two interface requests belong to different perform scripts, it actually just reflects the difference of same interface parameters Value.Therefore, at least one perform script that transfer server is recorded, when transfer server is by each perform script When interface requests are sent to service end, equivalent to test under different interface parameters, the performance of service end.Therefore, it also may be used To realize the purpose of interface testing.
Therefore, transfer server can be according to the transmissions of the interface requests in the perform script of at least one after prerecording Time, asked to service end transmission interface.
S402:Transfer server receives the interface response that the service end is sent, and judge it is described receive response whether with Default first interface response is identical, obtains judged result;Wherein, the first interface response is corresponding for the interface requests Default response.
S403:The judged result is sent to display end by transfer server.
Specifically, due in transfer server each perform script can correspond to one or more first interface ring Should.Therefore, after transfer server receives the interface response of service end, judge whether interface response connects with default first Mouth response is identical.If identical, judged result is acted normally for service end, if it is different, then judged result is that service end performance is different Often.The judged result that user can be sent to display end by transfer server intuitively knows the performance of service end, so that really Determine the stability of service end, realize the purpose of interface testing.
Seen from the above description, the method for the interface testing that the present embodiment is provided, by the implementation process of automation, significantly The interface testing work of repetition is reduced, also, user improves test without the input parameter modification request on gui interface Efficiency.
The structural representation of the device embodiment one for the interface testing that Fig. 6 provides for the present invention.The device of the interface testing It can be integrated on transfer server, it can be realized by way of software, hardware or software and hardware combining.As shown in fig. 6, The device includes:Transport module 21, determining module 22 and modified module 23;
Determining module 22, after the parameter modification request for receiving user's input in the transport module 21, according to institute State parameter modification request and determine parameter to be modified, and amended parameter recipient;Wherein, the recipient includes institute Client or service end are stated, the parameter to be modified please including the interface that the transport module 21 is obtained from the client Interface parameters in asking, or, the interface return parameters in the interface response that the transport module 21 is obtained from the service end;
Modified module 23, for changing the parameter to be modified according to parameter modification request;
Transport module 21, for amended parameter to be sent into the recipient.
Optionally, the transport module 21, is additionally operable to the performance hair of the amended parameter and the recipient Give display end;The performance of the recipient includes:The interface response of the service end, in the performance of the client at least One.
Optionally, the mark and the parameter to be modified of the parameter to be modified are carried in the parameter modification request Corresponding modified values.
Optionally, the transport module 21 and modified module 23 in the embodiment of the present invention can be the interface shown in above-mentioned Fig. 1 Data transmission module in test system.Optionally, above-mentioned determining module 22 can be the interface testing shown in the above-mentioned Fig. 1 of correspondence Data resolution module in system.
The device of interface testing provided in an embodiment of the present invention, can perform above method embodiment, its realization principle and Technique effect is similar, will not be repeated here.
As a kind of possible embodiment of the present invention, if the parameter to be modified is designated the interface requests In interface parameters mark;The determining module 22, described in being determined according to the mark of the parameter to be modified Parameter to be modified is the interface parameters, and, the recipient for determining the amended interface parameters is the service end. Correspondingly, shown in Figure 7 on the basis of embodiment illustrated in fig. 6, the device of above-mentioned interface testing can also include:Parsing Module 24;
The parsing module 24, for being parsed to the interface requests obtained from the client, obtains the interface Parameter;
The modified module 23, specifically for the modified values according to the parameter to be modified, changes the interface parameters;
The transport module 21, institute is sent to specifically for amended interface parameters is carried in new interface requests State service end;And, receive the interface response that the service end is sent.
Optionally, the transport module 21 can be also used for interface response and the amended interface parameters hair The display end is given to be shown, and, interface response is sent to the client.
Optionally, the parsing module 24 and determining module 22 can be parsed equivalent to the data in above-mentioned interface test system Module.
As the alternatively possible embodiment of the present invention, if the interface that is designated of the parameter to be modified rings The mark of interface return parameters in answering;The determining module 22, it is true specifically for the mark according to the parameter to be modified The fixed parameter to be modified is the interface return parameters during the interface is responded, and, determine that the amended interface is returned The recipient for returning parameter is the client.
Correspondingly, the transport module 21, is additionally operable to the interface requests that will be obtained from the client, is sent to the clothes Business end;And, receive the interface response that the service end is sent;
The modified module 23, specifically for the modified values according to the parameter to be modified, changes the interface and returns Parameter;
The transport module 21, is additionally operable to amended interface return parameters carrying being sent in new interface response The client.
Optionally, the transport module 21, can be also used for amended interface return parameters being sent to display end and Row display.
Optionally, with continued reference to above-mentioned Fig. 7, described device also includes:Scheduler module 25;
The scheduler module 25, the multiple parameters for receiving user's input in the transport module 21 change request When, multiple parameters modification request is ranked up, it is determined that the execution sequence of each parameter modification request;And, according to each ginseng The execution sequence of number modification request, performs the corresponding process of the parameter modification request.
Optionally, with continued reference to above-mentioned Fig. 7, described device also includes:Exception processing module 26;
The exception processing module 26, for when identifying that current parameter modification request is abnormal, ignoring current ginseng Number modification request, performs next parameter modification request.
Optionally, above-mentioned scheduler module 25 can correspond to the task scheduling mould in the interface test system shown in above-mentioned Fig. 1 Block, exception processing module 26 can correspond to the exception processing module in the interface test system shown in above-mentioned Fig. 1.
The device of interface testing provided in an embodiment of the present invention, can perform above method embodiment, its realization principle and Technique effect is similar, will not be repeated here.
, can be by it in several embodiments provided by the present invention, it should be understood that disclosed apparatus and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) or processor (English:Processor this hair) is performed The part steps of each bright embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access memory (English:Random Access Memory, letter Claim:RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (19)

1. a kind of method of interface testing, it is characterised in that including:
After the parameter modification request of user's input is received, request is changed according to the parameter and determines parameter to be modified, with And the recipient of amended parameter;Wherein, the recipient includes the client or service end, the ginseng to be modified Number is included from the interface parameters in the interface requests of client acquisition, or, the interface response obtained from the service end In interface return parameters;
The parameter to be modified is changed according to parameter modification request, and amended parameter is sent to the reception Side.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
The performance of the amended parameter and the recipient are sent to display end;The performance of the recipient includes: The interface response of the service end, at least one in the performance of the client.
3. according to the method described in claim 1, it is characterised in that carry the ginseng to be modified in the parameter modification request Several mark modified values corresponding with the parameter to be modified.
4. method according to claim 3, it is characterised in that if the interface that is designated of the parameter to be modified please The mark of interface parameters in asking;It is then described that request determination parameter to be modified is changed according to the parameter and amended The recipient of parameter, specifically includes:
Determine that the parameter to be modified is the interface parameters according to the mark of the parameter to be modified, and, determine institute The recipient for stating amended interface parameters is the service end.
5. method according to claim 4, it is characterised in that described to be modified according to parameter modification request modification Parameter, and amended parameter is sent to the recipient, specifically include:
The interface requests obtained from the client are parsed, the interface parameters is obtained;
According to the modified values of the parameter to be modified, the interface parameters is changed, and amended interface parameters is carried The service end is sent in new interface requests;
Receive the interface response that the service end is sent.
6. method according to claim 3, it is characterised in that if the interface that is designated of the parameter to be modified rings The mark of interface return parameters in answering;It is then described that request determination parameter to be modified, and modification are changed according to the parameter The recipient of parameter afterwards, specifically includes:
Determine that the parameter to be modified returns for the interface in interface response according to the mark of the parameter to be modified Parameter, and, the recipient for determining the amended interface return parameters is the client.
7. method according to claim 6, it is characterised in that described to be modified according to parameter modification request modification Parameter, and amended parameter is sent to the recipient, specifically include:
The interface requests that will be obtained from the client, are sent to the service end;
The interface response that the service end is sent is received, and according to the modified values of the parameter to be modified, changes the interface Interface return parameters in response;
Amended interface return parameters are carried and are sent to the client in new interface response.
8. the method according to claim any one of 1-7, it is characterised in that methods described also includes:
If receiving the multiple parameters modification request of user's input, multiple parameters modification request is ranked up, it is determined that each ginseng The execution sequence of number modification request;
The execution sequence of request is changed according to each parameter, the corresponding process of the parameter modification request is performed.
9. method according to claim 8, it is characterised in that methods described also includes:
When identifying that current parameter modification request is abnormal, ignore current parameter modification request, perform next parameter and repair Change request.
10. a kind of device of interface testing, it is characterised in that including:Transport module, determining module and modified module;
Determining module, after the parameter modification request for receiving user's input in the transport module, is repaiied according to the parameter Change request and determine parameter to be modified, and amended parameter recipient;Wherein, the recipient includes the client Or service end, the parameter to be modified include the interface requests that are obtained from the client of the transport module in interface Parameter, or, the interface return parameters in the interface response that the transport module is obtained from the service end;
Modified module, for changing the parameter to be modified according to parameter modification request;
Transport module, for amended parameter to be sent into the recipient.
11. device according to claim 10, it is characterised in that the transport module, being additionally operable to will be described amended The performance of parameter and the recipient are sent to display end;The performance of the recipient includes:The interface of the service end rings Should, at least one in the performance of the client.
12. device according to claim 10, it is characterised in that carry described to be modified in the parameter modification request The mark modified values corresponding with the parameter to be modified of parameter.
13. device according to claim 12, it is characterised in that if the parameter to be modified is designated the interface The mark of interface parameters in request;The determining module, specifically for determining institute according to the mark of the parameter to be modified Parameter to be modified is stated for the interface parameters, and, the recipient for determining the amended interface parameters is the service End.
14. device according to claim 13, it is characterised in that described device also includes:Parsing module;
The parsing module, for being parsed to the interface requests obtained from the client, obtains the interface parameters;
The modified module, specifically for the modified values according to the parameter to be modified, changes the interface parameters;
The transport module, the service is sent to specifically for amended interface parameters is carried in new interface requests End;And, receive the interface response that the service end is sent.
15. device according to claim 12, it is characterised in that if the parameter to be modified is designated the interface The mark of interface return parameters in response;The determining module, it is true specifically for the mark according to the parameter to be modified The fixed parameter to be modified is the interface return parameters during the interface is responded, and, determine that the amended interface is returned The recipient for returning parameter is the client.
16. device according to claim 15, it is characterised in that the transport module, it is additionally operable to from the client The interface requests of acquisition, are sent to the service end;And, receive the interface response that the service end is sent;
The modified module, specifically for the modified values according to the parameter to be modified, changes connecing in the interface response Mouth return parameters;
The transport module, is additionally operable to amended interface return parameters carrying being sent to the visitor in new interface response Family end.
17. the device according to claim any one of 11-16, it is characterised in that described device also includes:Scheduler module;
The scheduler module, when changing request for receiving the multiple parameters of user's input in the transport module, to multiple Parameter modification request is ranked up, it is determined that the execution sequence of each parameter modification request;And, change and ask according to each parameter Execution sequence, perform the corresponding process of parameter modification request.
18. device according to claim 17, it is characterised in that described device also includes:Exception processing module;
The exception processing module, for when identifying that current parameter modification request is abnormal, ignoring current parameter modification Request, performs next parameter modification request.
19. a kind of interface test system, it is characterised in that including:Client, service end, transfer server and display end;
The transfer server, for performing the method described in preceding claims 1 to any one of claim 9.
CN201710543989.4A 2017-07-05 2017-07-05 Interface test method, device and system Active CN107294808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710543989.4A CN107294808B (en) 2017-07-05 2017-07-05 Interface test method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710543989.4A CN107294808B (en) 2017-07-05 2017-07-05 Interface test method, device and system

Publications (2)

Publication Number Publication Date
CN107294808A true CN107294808A (en) 2017-10-24
CN107294808B CN107294808B (en) 2020-11-24

Family

ID=60100021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710543989.4A Active CN107294808B (en) 2017-07-05 2017-07-05 Interface test method, device and system

Country Status (1)

Country Link
CN (1) CN107294808B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium
CN108519873A (en) * 2018-04-16 2018-09-11 中国科学院昆明植物研究所 A kind of Efficient Programming method automatically processing parameter
CN108519883A (en) * 2018-03-26 2018-09-11 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN108536484A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN108551410A (en) * 2018-03-27 2018-09-18 平安普惠企业管理有限公司 Interface return method and terminal device
CN109871312A (en) * 2017-12-05 2019-06-11 航天信息股份有限公司 A kind of interface test method, device, equipment and readable storage medium storing program for executing
CN110008074A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 The method, device and equipment of automatic test inquiry hardware information high-level interface
CN110196813A (en) * 2019-06-06 2019-09-03 北京百度网讯科技有限公司 Interface test method, device, equipment and medium
CN110287039A (en) * 2019-06-26 2019-09-27 网易无尾熊(杭州)科技有限公司 Analog interface configuration method, medium, device and calculating equipment
CN110851208A (en) * 2019-11-08 2020-02-28 京东数字科技控股有限公司 Interface parameter and response data modification method and device
CN110875858A (en) * 2018-08-31 2020-03-10 北京京东尚科信息技术有限公司 Application test data capturing method, system, equipment and storage medium
CN110908888A (en) * 2018-09-17 2020-03-24 百度在线网络技术(北京)有限公司 Server testing method and device
CN111104323A (en) * 2019-12-17 2020-05-05 广州品唯软件有限公司 Function test method, system, proxy server and storage medium of application program
CN111352610A (en) * 2020-03-03 2020-06-30 五八有限公司 Interface return value modification method and device, electronic equipment and storage medium
CN111953775A (en) * 2020-08-12 2020-11-17 吉林亿联银行股份有限公司 Data transmission method and device
CN113206755A (en) * 2021-04-20 2021-08-03 北京异乡旅行网络科技有限公司 Method and device for problem location

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005613A1 (en) * 2006-06-28 2008-01-03 Microsoft Corporation Testing network applications without communicating over a network layer communication link
US20110302454A1 (en) * 2010-06-07 2011-12-08 Salesforce.Com, Inc. Performing asynchronous testing of an application occasionally connected to an online services system
CN103312551A (en) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 Test method and test device of common gateway interface
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
CN106126417A (en) * 2016-06-17 2016-11-16 深圳开源互联网安全技术有限公司 Interactive application safety detecting method and system thereof
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
CN106815150A (en) * 2017-01-19 2017-06-09 网易(杭州)网络有限公司 Service end interface test system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005613A1 (en) * 2006-06-28 2008-01-03 Microsoft Corporation Testing network applications without communicating over a network layer communication link
US20110302454A1 (en) * 2010-06-07 2011-12-08 Salesforce.Com, Inc. Performing asynchronous testing of an application occasionally connected to an online services system
CN103312551A (en) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 Test method and test device of common gateway interface
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
CN106126417A (en) * 2016-06-17 2016-11-16 深圳开源互联网安全技术有限公司 Interactive application safety detecting method and system thereof
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
CN106815150A (en) * 2017-01-19 2017-06-09 网易(杭州)网络有限公司 Service end interface test system and method

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861870A (en) * 2017-11-02 2018-03-30 平安科技(深圳)有限公司 Interface testing and test data generating method, device, terminal and storage medium
CN109871312A (en) * 2017-12-05 2019-06-11 航天信息股份有限公司 A kind of interface test method, device, equipment and readable storage medium storing program for executing
CN108519883A (en) * 2018-03-26 2018-09-11 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN108536484A (en) * 2018-03-26 2018-09-14 平安普惠企业管理有限公司 Parameter amending method, device, terminal device and storage medium
CN108551410A (en) * 2018-03-27 2018-09-18 平安普惠企业管理有限公司 Interface return method and terminal device
CN108551410B (en) * 2018-03-27 2021-06-15 平安普惠企业管理有限公司 Interface returning method and terminal equipment
CN108519873A (en) * 2018-04-16 2018-09-11 中国科学院昆明植物研究所 A kind of Efficient Programming method automatically processing parameter
CN110875858A (en) * 2018-08-31 2020-03-10 北京京东尚科信息技术有限公司 Application test data capturing method, system, equipment and storage medium
CN110875858B (en) * 2018-08-31 2023-06-27 北京京东尚科信息技术有限公司 Application test data grabbing method, system, equipment and storage medium
CN110908888A (en) * 2018-09-17 2020-03-24 百度在线网络技术(北京)有限公司 Server testing method and device
CN110008074B (en) * 2019-04-11 2020-07-07 苏州浪潮智能科技有限公司 Method, device and equipment for automatically testing and inquiring upper-layer interface of hardware information
CN110008074A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 The method, device and equipment of automatic test inquiry hardware information high-level interface
CN110196813A (en) * 2019-06-06 2019-09-03 北京百度网讯科技有限公司 Interface test method, device, equipment and medium
CN110196813B (en) * 2019-06-06 2023-05-02 北京百度网讯科技有限公司 Interface test method, device, equipment and medium
CN110287039A (en) * 2019-06-26 2019-09-27 网易无尾熊(杭州)科技有限公司 Analog interface configuration method, medium, device and calculating equipment
CN110851208A (en) * 2019-11-08 2020-02-28 京东数字科技控股有限公司 Interface parameter and response data modification method and device
CN111104323A (en) * 2019-12-17 2020-05-05 广州品唯软件有限公司 Function test method, system, proxy server and storage medium of application program
CN111352610A (en) * 2020-03-03 2020-06-30 五八有限公司 Interface return value modification method and device, electronic equipment and storage medium
CN111953775A (en) * 2020-08-12 2020-11-17 吉林亿联银行股份有限公司 Data transmission method and device
CN113206755A (en) * 2021-04-20 2021-08-03 北京异乡旅行网络科技有限公司 Method and device for problem location

Also Published As

Publication number Publication date
CN107294808B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN107294808A (en) The methods, devices and systems of interface testing
WO2018113385A1 (en) Method and system for dynamically tracking application of client, client, and server
WO2019006654A1 (en) Financial self-service equipment maintenance dispatch generation method, hand-held terminal and electronic device
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
CN111752799A (en) Service link tracking method, device, equipment and storage medium
CN103490917B (en) The detection method of troubleshooting situation and device
CN104765678A (en) Method and device for testing applications on mobile terminal
CN106886493B (en) Method and device for establishing automatic test system
CN106375458A (en) Service call system, method and device
CN107315952A (en) Method and apparatus for determining application program suspicious actions
CN107168844B (en) Performance monitoring method and device
CN107896172A (en) Monitor fault handling method and device, storage medium and electronic equipment
CN107508725A (en) For the method for automatic test, apparatus and system
CN104539449B (en) A kind of failure information processing method and relevant apparatus
CN113411209A (en) Distributed password service full-link detection system and method
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment
CN109587349B (en) Multimedia agent line testing method and device, electronic equipment and storage medium
CN102480722B (en) Sucking fee terminal identification method, apparatus and system thereof
CN108989116B (en) Big data collection and analysis system and method
CN107371141B (en) Junk information monitoring method and device and communication system
CN110417574B (en) Topology analysis method and device and storage medium
CN114615696A (en) Automatic dial testing method, device, system, server and storage medium
CN111953583A (en) Information processing system and method, electronic device, and computer-readable storage medium
CN115037577A (en) Intelligent gateway service management platform
CN115378902A (en) Message selective pushing method, device and medium based on instant messaging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant