CN110287117A - RESTful interface test method, system, equipment and storage medium - Google Patents

RESTful interface test method, system, equipment and storage medium Download PDF

Info

Publication number
CN110287117A
CN110287117A CN201910567404.1A CN201910567404A CN110287117A CN 110287117 A CN110287117 A CN 110287117A CN 201910567404 A CN201910567404 A CN 201910567404A CN 110287117 A CN110287117 A CN 110287117A
Authority
CN
China
Prior art keywords
test
interface
tested
test case
script
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.)
Withdrawn
Application number
CN201910567404.1A
Other languages
Chinese (zh)
Inventor
袁轻轻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN201910567404.1A priority Critical patent/CN110287117A/en
Publication of CN110287117A publication Critical patent/CN110287117A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Abstract

The present invention provides a kind of RESTful interface test method, system, equipment and storage mediums, this method comprises: receiving interface message to be tested and test order information to be tested;According to the corresponding relationship of test order and test case template, test case template to be tested is searched, definition has interface message filling position in the test case template;Interface message to be tested is filled in the test case template, pending test case script is obtained;It is sent and is requested to tested application according to the pending test case script, and receive the response data of the tested application.It is automatic to execute the abnormality test of RESTful interface by using the solution of the present invention, to improve the efficiency of RESTful interface abnormality test.

Description

RESTful interface test method, system, equipment and storage medium
Technical field
The present invention relates to interface testing technical field more particularly to a kind of RESTful interface test methods, system, equipment And storage medium.
Background technique
RESTful is a kind of software architecture style, design style, provides one group of design principle and constraint condition, main It is used for the software of client and server interactive class.Software based on this Style Design can more succinct, more have levels, more It is easily achieved the mechanism such as caching.In complete project process, Test Engineer can spend a large amount of energy during the test In the test of RESTful interface layer.Interface testing mainly includes operational trials and abnormality test.
Existing test implementation is all general into row stochastic splicing request, then initiates request result. Therefore, existing fuzz testing scheme is all point that be very rough, not refining at present, behave have it is many invalid Test, and most Development Framework just has been able to mask similar request at present.Therefore, at present existing scheme without Method meets the application under the rapid overall situation of current technological development.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide a kind of RESTful interface test method, it is System, equipment and storage medium improve the efficiency of RESTful interface abnormality test.
The embodiment of the present invention provides a kind of RESTful interface test method, and described method includes following steps:
Receive interface message to be tested and test order information to be tested;
According to the corresponding relationship of test order and test case template, test case template to be tested, the survey are searched Definition has interface message filling position in example template on probation;
Interface message to be tested is filled in the test case template, pending test case script is obtained;
It is sent and is requested to tested application according to the pending test case script, and receive the sound of the tested application Answer data.
Optionally, described to receive interface message to be tested, include the following steps:
Interface administration module display interface list, the interface management platform are stored with the interface message of each interface;
Interface administration module receives tester in interface list to the selection of interface, by the interface of tester's selection As interface to be tested.
Optionally, the interface administration module is the interface administration module based on swagger.
Optionally, the interface message includes the request method of the title of interface, the address of interface and interface.
Optionally, described that interface message to be tested is filled in the test case template, obtain pending survey Case script on probation, includes the following steps:
Interface message to be tested is filled in the test case template, there is also defined in the test case template The filling position of required parameter value;
Judge whether to be provided with test parameter rule;
If it is, obtaining the parameter value set in test parameter rule, the normal request as interface to be tested is joined Numerical value;
Proper testing case script, null value test are generated respectively according to the normal request parameter value of the interface to be tested With case script and abnormality test script.
Optionally, the normal request parameter value according to the interface to be tested generates proper testing use-case foot respectively Originally, null value test case script and abnormality test script, include the following steps:
The normal request parameter value is filled in the test case template, proper testing case script is obtained;
It sets empty for the required parameter value in the test case template, obtains null value test case script;
It selects the parameter value of an abnormal request parameter value to be filled in the test case template, obtains abnormality test use Case script.
Optionally, described sent according to the pending test case script to tested application is requested, and described in reception The response data of tested application, includes the following steps:
Respectively according to the proper testing case script, null value test case script and abnormality test case script to tested It is requested using sending, and receives the response data of the tested application respectively.
Optionally, described that interface message to be tested is filled in the test case template, obtain pending survey Case script on probation, includes the following steps:
Judge test pattern for first mode or second mode;
If test pattern is first mode, interface message to be tested is filled in the test case template, Obtain pending test case script;
If test pattern is second mode, judge whether to be provided with test parameter rule, if it is, obtaining test The parameter value set in parameter rule connects as the normal request parameter value of interface to be tested, and according to described to be tested The normal request parameter value of mouth generates proper testing case script, null value test case script and abnormality test script respectively.
Optionally, the method also includes following steps:
The test parameter rule of setting is obtained by mockJS.
The embodiment of the present invention also provides a kind of RESTful interface test system, applied to the RESTful interface testing Method, the system comprises:
Interface administration module, for receiving interface message to be tested;
Rules administration module, for receiving test order information to be tested;
Test case searching module is searched to be tested for the corresponding relationship according to test order and test case template Test case template, definition has interface message filling position in the test case template;
Test cases technology module is obtained for interface message to be tested to be filled in the test case template Pending test case script;
Testing execution module is requested for being sent according to the pending test case script to tested application, and is connect Receive the response data of the tested application.
The embodiment of the present invention also provides a kind of RESTful interface testing equipment, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute the RESTful interface survey via the executable instruction is executed The step of method for testing.
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is performed Described in Shi Shixian the step of RESTful interface test method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
RESTful interface test method, system, equipment and storage medium provided by the present invention have the advantage that
The present invention solves the problems of the prior art, according to the selection of the selection of tested interface and test order, carries out The splicing of precision is requested, and improves the efficiency of interface abnormality test, and by the management of test case, easy to maintain and more Secondary execution;The present invention can discharge test energy of the tester in interface abnormality test as a result, and tester can be more It is absorbed in operational trials, while can also test activity is allowed more to move to left, that is, can be carried out fuzzy survey after having developed an interface Examination, is performed fully automatic test, is not necessarily to engineer's test scene, can also ensure the application quality for mentioning and measuring at tester.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of the RESTful interface test method of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the RESTful interface test system of one embodiment of the invention;
Fig. 3 is the schematic diagram of the testing execution module implementation of test cases of one embodiment of the invention;
Fig. 4 is the flow chart that test case is generated according to different working modes of one embodiment of the invention;
Fig. 5 is the schematic diagram of the RESTful interface testing equipment of one embodiment of the invention;
Fig. 6 is the schematic diagram of the computer readable storage medium of one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
As shown in Figure 1, the embodiment of the present invention provides a kind of RESTful interface test method, the method includes walking as follows It is rapid:
S100: interface message to be tested and test order information to be tested are received;
S200: according to the corresponding relationship of test order and test case template, test case template to be tested, institute are searched Stating definition in test case template has interface message filling position;
S300: interface message to be tested is filled in the test case template, obtains pending test case Script;
S400: sending to tested application according to the pending test case script and request, and receives described be tested and answer Response data.
RESTful interface test method of the invention by step S100 obtain tester to the selection of tested interface and The selection of test order, by step S200 and step S300 according to the selection of tested interface and the selection of test order and Some test case templates, carry out the splicing request of precision, execute test automatically to realize in step S400, improve The efficiency of interface abnormality test, and by the management of test case, it is easy to maintain and be performed a plurality of times.
As shown in Fig. 2, the embodiment of the present invention also provides a kind of RESTful interface test system, applied to described RESTful interface test method, the system comprises:
Interface administration module M100, for receiving interface message to be tested;
Rules administration module M200, for receiving test order information to be tested;
Test case searching module M300, for the corresponding relationship according to test order and test case template, search to The test case template of test, definition has interface message filling position in the test case template;
Test cases technology module M400, for interface message to be tested to be filled in the test case template, Obtain pending test case script;
Testing execution module M500 is requested for being sent according to the pending test case script to tested application, And receive the response data of the tested application.
RESTful interface test method of the invention obtains tester to tested interface by interface administration module M100 Selection, selection of the tester to test order is obtained by rules administration module M200, passes through test case searching module M300 and Test cases technology module M400 is used according to the selection of tested interface and the selection of test order and existing test Example template carries out the splicing request of precision, then by the automatic implementation of test cases of testing execution module M500, improves interface The efficiency of abnormality test, and by the management of test case, it is easy to maintain and be performed a plurality of times.
In this embodiment, in the step S100, interface message to be tested is received, is included the following steps:
S110: interface administration module display interface list, the interface management platform are stored with the interface letter of each interface Breath, the interface message may include the request method of the title of interface, the address of interface and interface;
S120: interface administration module receives tester in interface list to the selection of interface, and tester is selected Interface as interface to be tested.
In this embodiment, the interface administration module is the interface administration module based on swagger.Swagger is one A specification and complete frame, for generating, describing, call and visualizing the Web service of RESTful style.Overall goal is Update client and file system at a same speed as server.It, can also in other alternative embodiments To use other kinds of interface administration module.
Similarly, rules administration module also can store preset various rules, such as parameter overlength test rule Then, parameter type mismatches test order etc., and can provide test order list and select for tester, by tester The test order that member selects is as rule to be tested.
As shown in figure 3, being the schematic diagram of testing execution module implementation of test cases script.Testing execution module is from database In get the pending test case script generated in step S300, parsed, to tested application send test case Test request in script, and the response data for receiving tested application deposits result after carrying out interpretation of result to response data It stores up in database, tester is facilitated to check test result.
In this embodiment, the required parameter value in test can also be further set, it, will be to be measured in the step S300 The interface message of examination is filled in the test case template, is obtained pending test case script, is included the following steps:
Interface message to be tested is filled in the test case template, there is also defined in the test case template The filling position of required parameter value;
Judge whether to be provided with test parameter rule;
If it is, obtaining the parameter value set in test parameter rule, the normal request as interface to be tested is joined Numerical value;
Proper testing case script, null value test are generated respectively according to the normal request parameter value of the interface to be tested With case script and abnormality test script.
For example, the test for parameter overlength, the parameter value set in test parameter rule as normal parameter length, Test for parameter type mistake, the parameter value set in test parameter rule is the test parameter type of permission.
In this embodiment, test pattern can also be divided into both of which, tester's selection can be obtained in advance Test pattern.Test pattern includes two kinds: first mode and second mode.First mode be not concerned with field concrete type and piece It lifts, is directly traversed according to general rule and generate test case script.Second mode is then according to the test parameter being set in advance Value carries out test case and finely divides, to obtain the test case closer to actual request.
As shown in figure 4, interface message to be tested is filled in the test case template in the step S300, Pending test case script is obtained, is included the following steps:
S310: judge that test pattern for first mode or second mode, if test pattern is first mode, continues Step S320 continues step S330 if test pattern is second mode;
S320: interface message to be tested is filled in the test case template, obtains pending test case Script;
S330: judge whether otherwise being provided with test parameter rule continues step if it is, continuing step S340 S320;
S340: the parameter value set in test parameter rule, the normal request parameter value as interface to be tested are obtained;
S350: proper testing case script, sky are generated according to the normal request parameter value of the interface to be tested respectively It is worth test case script and abnormality test script.
Specifically, the normal request parameter value according to the interface to be tested generates proper testing use-case foot respectively Originally, null value test case script and abnormality test script, include the following steps:
The normal request parameter value is filled in the test case template, proper testing case script is obtained;
It sets empty for the required parameter value in the test case template, obtains null value test case script;
It selects the parameter value of an abnormal request parameter value to be filled in the test case template, obtains abnormality test use Case script.
In this embodiment, described sent according to the pending test case script to tested application is requested, and is connect The response data for receiving the tested application, includes the following steps:
Respectively according to the proper testing case script, null value test case script and abnormality test case script to tested It is requested using sending, and receives the response data of the tested application respectively.
It according to test case is then proper testing use-case, null value test case or abnormality test use-case in interpretation of result To divide different situations to analyze response data.For example, tested application, which is not carried out, successfully to be intercepted, then if it is abnormality test use-case Illustrate tested using this test crash.If tested application success intercepts anomaly parameter, illustrate tested using this test Success.
In this embodiment, the method also includes following steps:
The test parameter rule of setting is obtained by mockJS.Mock.js is a simulated data generator, it is intended to be helped Front end engineer develops independently of rear end, and unit testing is write in help.In other embodiments, other can also be used Mode sets test parameter rule.
Therefore, which supports the automatic test of two kinds of different modes, and records test result, the result entirely tested Also it can recorde in the database, carry out data analysis for the later period.
The embodiment of the present invention also provides a kind of RESTful interface testing equipment, including processor;Memory, wherein storing There is the executable instruction of the processor;Wherein, the processor is configured to via the execution executable instruction to execute The step of RESTful interface test method stated.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as " circuit ", " module " or " platform ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 5.The electronics that Fig. 5 is shown Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The combination of electronic equipment 600 can wrap Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform combination (including storage Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610 Row, so that the processing unit 610 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this The step of inventing various illustrative embodiments.For example, the processing unit 610 can execute step as shown in fig. 1.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practical work with one group of (at least one) program module 6205 Tool 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is performed Described in Shi Shixian the step of RESTful interface test method.In some possible embodiments, various aspects of the invention It is also implemented as a kind of form of program product comprising program code, when described program product is run on the terminal device When, said program code is retouched for executing the terminal device in this specification above-mentioned electronic prescription circulation processing method part The step of various illustrative embodiments according to the present invention stated.
Refering to what is shown in Fig. 6, describing the program product for realizing the above method of embodiment according to the present invention 800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In conclusion compared with prior art, RESTful interface test method provided by the present invention, system, equipment and Storage medium has the advantage that
The present invention solves the problems of the prior art, according to the selection of the selection of tested interface and test order, carries out The splicing of precision is requested, and improves the efficiency of interface abnormality test, and by the management of test case, easy to maintain and more Secondary execution;The present invention can discharge test energy of the tester in interface abnormality test as a result, and tester can be more It is absorbed in operational trials, while can also test activity is allowed more to move to left, that is, can be carried out fuzzy survey after having developed an interface Examination, is performed fully automatic test, is not necessarily to engineer's test scene, can also ensure the application quality for mentioning and measuring at tester.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (12)

1. a kind of RESTful interface test method, which comprises the steps of:
Receive interface message to be tested and test order information to be tested;
According to the corresponding relationship of test order and test case template, test case template to be tested is searched, the test is used Definition has interface message filling position in example template;
Interface message to be tested is filled in the test case template, pending test case script is obtained;
It is sent and is requested to tested application according to the pending test case script, and receive the number of responses of the tested application According to.
2. RESTful interface test method according to claim 1, which is characterized in that described to receive interface to be tested Information includes the following steps:
Interface administration module display interface list, the interface management platform are stored with the interface message of each interface;
Interface administration module receive tester in interface list to the selection of interface, the interface that tester is selected as Interface to be tested.
3. RESTful interface test method according to claim 2, which is characterized in that the interface administration module is base In the interface administration module of swagger.
4. RESTful interface test method according to claim 1, which is characterized in that the interface message includes interface Title, the address of interface and the request method of interface.
5. RESTful interface test method according to claim 1, which is characterized in that described to believe interface to be tested Breath is filled in the test case template, is obtained pending test case script, is included the following steps:
Interface message to be tested is filled in the test case template, there is also defined request in the test case template The filling position of parameter value;
Judge whether to be provided with test parameter rule;
If it is, obtaining the parameter value set in test parameter rule, the normal request parameter value as interface to be tested;
Proper testing case script, null value test case are generated respectively according to the normal request parameter value of the interface to be tested Script and abnormality test script.
6. RESTful interface test method according to claim 5, which is characterized in that described according to described to be tested The normal request parameter value of interface generates proper testing case script, null value test case script and abnormality test script respectively, Include the following steps:
The normal request parameter value is filled in the test case template, proper testing case script is obtained;
It sets empty for the required parameter value in the test case template, obtains null value test case script;
It selects the parameter value of an abnormal request parameter value to be filled in the test case template, obtains abnormality test use-case foot This.
7. RESTful interface test method according to claim 5, which is characterized in that described according to described pending Test case script sends to tested application and requests, and receives the response data of the tested application, includes the following steps:
Respectively according to the proper testing case script, null value test case script and abnormality test case script to tested application Request is sent, and receives the response data of the tested application respectively.
8. RESTful interface test method according to claim 5, which is characterized in that described to believe interface to be tested Breath is filled in the test case template, is obtained pending test case script, is included the following steps:
Judge test pattern for first mode or second mode;
If test pattern is first mode, interface message to be tested is filled in the test case template, is obtained Pending test case script;
If test pattern is second mode, judge whether to be provided with test parameter rule, if it is, obtaining test parameter The parameter value set in rule, as the normal request parameter value of interface to be tested, and according to the interface to be tested Normal request parameter value generates proper testing case script, null value test case script and abnormality test script respectively.
9. RESTful interface test method according to claim 5, which is characterized in that the method also includes walking as follows It is rapid:
The test parameter rule of setting is obtained by mockJS.
10. a kind of RESTful interface test system, which is characterized in that applied to described in any one of claims 1 to 9 RESTful interface test method, the system comprises:
Interface administration module, for receiving interface message to be tested;
Rules administration module, for receiving test order information to be tested;
Test case searching module searches survey to be tested for the corresponding relationship according to test order and test case template Example template is tried out, definition has interface message filling position in the test case template;
Test cases technology module is obtained for interface message to be tested to be filled in the test case template wait hold Capable test case script;
Testing execution module requests for being sent according to the pending test case script to tested application, and receives institute State the response data of tested application.
11. a kind of RESTful interface testing equipment characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come described in any one of perform claim requirement 1 to 9 via the execution executable instruction RESTful interface test method the step of.
12. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power Benefit require any one of 1 to 9 described in RESTful interface test method the step of.
CN201910567404.1A 2019-06-27 2019-06-27 RESTful interface test method, system, equipment and storage medium Withdrawn CN110287117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910567404.1A CN110287117A (en) 2019-06-27 2019-06-27 RESTful interface test method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910567404.1A CN110287117A (en) 2019-06-27 2019-06-27 RESTful interface test method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110287117A true CN110287117A (en) 2019-09-27

Family

ID=68019127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910567404.1A Withdrawn CN110287117A (en) 2019-06-27 2019-06-27 RESTful interface test method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110287117A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825646A (en) * 2019-11-11 2020-02-21 拉扎斯网络科技(上海)有限公司 Test case generation method, interface test method, device and electronic equipment
CN110990248A (en) * 2019-10-11 2020-04-10 北京银企融合技术开发有限公司 Interface case test system, method, computer device and storage medium
CN111538659A (en) * 2020-04-21 2020-08-14 上海携程商务有限公司 Interface testing method and system for service scene, electronic device and storage medium
CN111624984A (en) * 2020-06-05 2020-09-04 北京罗克维尔斯科技有限公司 Vehicle testing method and device
CN111625473A (en) * 2020-07-01 2020-09-04 北京字节跳动网络技术有限公司 Interface test case generation method and device, storage medium and electronic equipment
CN111767217A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 JS unit test case generation method and device
CN112162927A (en) * 2020-10-13 2021-01-01 网易(杭州)网络有限公司 Test method, medium and device of cloud computing platform and computing equipment
CN112363907A (en) * 2020-09-14 2021-02-12 杭州大搜车汽车服务有限公司 Test method and device for Dubbo interface, electronic device and storage medium
CN112817867A (en) * 2021-02-25 2021-05-18 平安消费金融有限公司 Interface test script generation method and device, computer equipment and medium
CN112162927B (en) * 2020-10-13 2024-04-26 网易(杭州)网络有限公司 Testing method, medium, device and computing equipment of cloud computing platform

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990248A (en) * 2019-10-11 2020-04-10 北京银企融合技术开发有限公司 Interface case test system, method, computer device and storage medium
CN110825646A (en) * 2019-11-11 2020-02-21 拉扎斯网络科技(上海)有限公司 Test case generation method, interface test method, device and electronic equipment
CN111538659A (en) * 2020-04-21 2020-08-14 上海携程商务有限公司 Interface testing method and system for service scene, electronic device and storage medium
CN111538659B (en) * 2020-04-21 2024-03-01 上海携程商务有限公司 Interface testing method, system, electronic equipment and storage medium of business scene
CN111624984A (en) * 2020-06-05 2020-09-04 北京罗克维尔斯科技有限公司 Vehicle testing method and device
CN111767217A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 JS unit test case generation method and device
CN111767217B (en) * 2020-06-24 2024-02-02 中国工商银行股份有限公司 JS unit test case generation method and device
CN111625473B (en) * 2020-07-01 2023-08-22 北京字节跳动网络技术有限公司 Interface test case generation method and device, storage medium and electronic equipment
CN111625473A (en) * 2020-07-01 2020-09-04 北京字节跳动网络技术有限公司 Interface test case generation method and device, storage medium and electronic equipment
CN112363907A (en) * 2020-09-14 2021-02-12 杭州大搜车汽车服务有限公司 Test method and device for Dubbo interface, electronic device and storage medium
CN112162927A (en) * 2020-10-13 2021-01-01 网易(杭州)网络有限公司 Test method, medium and device of cloud computing platform and computing equipment
CN112162927B (en) * 2020-10-13 2024-04-26 网易(杭州)网络有限公司 Testing method, medium, device and computing equipment of cloud computing platform
CN112817867A (en) * 2021-02-25 2021-05-18 平安消费金融有限公司 Interface test script generation method and device, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN110287117A (en) RESTful interface test method, system, equipment and storage medium
US11150877B2 (en) Automatically generating machine learning models for software tools that operate on source code
CN110413533A (en) AB test method, system, equipment and storage medium
US20230281012A1 (en) Systems and methods for automating and monitoring software development operations
US8667456B1 (en) Cloud-based indexing for integrated development environments
US20170103013A1 (en) System and methods for automatically localizing faults
CN107729243A (en) API automated testing method, system, equipment and storage medium
CN103180834B (en) Automatic operation system test frame
CN110058998A (en) Method for testing software and device
CN112363938A (en) Data processing method and device, electronic equipment and storage medium
WO2022267310A1 (en) Auxiliary processing method and device for software development, storage medium and program product
US11165665B2 (en) Apparatus and method to improve precision of identifying a range of effects of a failure in a system providing a multilayer structure of services
CN108984202B (en) Electronic resource sharing method and device and storage medium
CN109240928A (en) A kind of test method, device, equipment and storage medium
CN106802865A (en) For the response analogue means and method of software test
CN114168471A (en) Test method, test device, electronic equipment and storage medium
CN112988578A (en) Automatic testing method and device
CN112416746A (en) Test case generation method, device, equipment and medium
CN110609786A (en) Software testing method and device, computer equipment and storage medium
CN111723134A (en) Information processing method, information processing device, electronic equipment and storage medium
US20210182176A1 (en) Integrated development environment terminal, platform server, and medium
Ben Charrada et al. An automated hint generation approach for supporting the evolution of requirements specifications
CN112328473A (en) Code automation integration test method and device and electronic equipment
US20220215320A1 (en) Process data processing method and apparatus, storage medium, and electronic equipment
CN117726147B (en) Adaptation-based server management method, electronic equipment and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190927

WW01 Invention patent application withdrawn after publication