CN105117345B - The interface test method and device of a kind of application program - Google Patents
The interface test method and device of a kind of application program Download PDFInfo
- Publication number
- CN105117345B CN105117345B CN201510613783.5A CN201510613783A CN105117345B CN 105117345 B CN105117345 B CN 105117345B CN 201510613783 A CN201510613783 A CN 201510613783A CN 105117345 B CN105117345 B CN 105117345B
- Authority
- CN
- China
- Prior art keywords
- interface
- test
- case
- mrow
- testing use
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of interface test method of application program and device.The interface test method of the application program includes:Receive at least one interface testing use-case for the application program to be measured that central controller is sent;At least one interface testing use-case is the central controller by a subset after whole interface testing use-case cuttings of the application program to be measured;Corresponding interface is tested using at least one interface testing use-case, to obtain test result;The central controller is returned to based on test result generation test report, the test report is received by the central controller and the complete test report of the application program to be measured is integrated into other test report;Other described test report are the test report returned after other subsets after whole interface testing use-case cuttings based on the application program to be measured that the central controller receives are tested.Using the embodiment of the present invention, the efficiency of interface testing can be effectively improved.
Description
Technical field
The present invention relates to the interface test method and device of field of computer technology, more particularly to a kind of application program.
Background technology
As software engineering develops, more and more softwares provide the user service by hardware and software platform, and third party can basis
Platform, which provides interface and customized, oneself to be needed to service, therefore nowadays software frequently involves interface testing.Interface is that some are pre-defined
Function, it is therefore an objective to the ability that application program and developer are able to access one group of routine based on certain software or hardware is provided, and
Source code need not be accessed again, or understands the details of internal work mechanism.Interface testing is to submit input data to interface, obtains and returns
As a result and whether analysis result meets expected test.Various system commands, testing tool may be related in interface testing, very
To programming technique.
At present, interface automatic test has two ways substantially.First way is that each test case is encapsulated as into letter
Number, then by calling the function to realize the automation that interface function is tested.Another way is to encapsulate whole test cases
Into a file, then read test use-case completes interface testing to automatized script one by one.
The content of the invention
Two kinds of update modes that background technology refers to can realize the interface testing of application program, but each Shortcomings,
For the first test mode, if test case has hundreds of even thousands of, the automatized script of interface testing is non-
It is often huge to write test case, it is necessary to take considerable time, once moreover, interface variation, change amount to test case nor
Chang great, meanwhile, tester needs to take a significant amount of time the realization for learning each function.For test mode in second, one by one
The mode of read test use-case make it that testing efficiency is low.
The embodiment of the present invention proposes a kind of interface test method and device of application program, can effectively improve interface testing
Efficiency.
The embodiment of the present invention provides a kind of interface test method of application program, including:
Receive at least one interface testing use-case for the application program to be measured that central controller is sent;It is described at least one to connect
Mouthful test case is the central controller by a son after whole interface testing use-case cuttings of the application program to be measured
Collection;
According to the logical relation of each interface testing use-case and other interface testing use-cases, at least one interface is surveyed
Example on probation is grouped, and every group interface test case after packet is at least one;
Corresponding interface is tested using every group interface test case, to obtain the test per group interface test case
As a result;
The central controller is returned to based on test result generation test report, the test report is by described
Centre controller receives and the complete test report of the application program to be measured is integrated into other test report;Other described tests
It is reported as its after whole interface testing use-case cuttings based on the application program to be measured that the central controller receives
The test report that his subset returns after being tested.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
It is preferably carried out at one in mode, the logical relation includes stand alone type, each interface testing use-case independence structure
Into a packet.
It is preferably carried out at another in mode, the logical relation includes laddering, multiple interfaces surveys of same group
Example on probation is arranged in order, if the output result tested using each interface testing use-case corresponding interface is connect with this
The desired value of mouth test case is consistent, then as the input tested using next interface testing use-case corresponding interface
Parameter, and the output result that corresponding interface is tested is surveyed as the group interface using using last interface testing use-case
The test result of example on probation.
It is preferably carried out at another in mode, the logical relation includes block form, and multiple interfaces with group are surveyed
Example on probation is arranged in order is tested corresponding interface with being performed, and will utilize last interface testing use-case to corresponding
Test result of the output result tested of interface as the group interface test case.
Further, each interface testing use-case includes use-case type, confirms each interface by the use-case type
Test case and the logical relation of other interface testing use-cases.
Further, each interface testing use-case includes interface identification code, and this is connect using each interface testing use-case
Interface corresponding to the interface identification code of mouth test case is tested.
Further, it is described to include verification data per group interface test case;
After the test result obtained per group interface test case, in addition to:
By the test result compared with the verification data, and comparative result is write into test report.
Further, after the test result obtained per group interface test case, in addition to:
When a group interface test case also includes database statement identification code and database verification data, from pre-establishing
Database statement template in inquiry obtain the corresponding database statement of database statement identification code;
Database is checked according to the database statement, obtains the inspection result of the database;
By the inspection result compared with the database verification data, and comparative result is write into the test and reported
Accuse.
Further, each interface testing use-case is respectively provided with standardised generic structure.
Accordingly, the embodiment of the present invention also provides a kind of interface test method of application program, including:
It is N number of subset by whole interface testing use-case cuttings of application program to be measured, and N number of subset is corresponded
It is sent to N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥2;
Receive the test report that N number of test lead returns, and the test report that the N number of test lead received is returned
Accuse the complete test report for being integrated into the application program to be measured;Wherein, the test report be each test lead according to
The logical relation of each interface testing use-case and other interface testing use-cases is divided the interface testing use-case in the subset
Group, and utilize the test knot of the every group interface test case obtained after being tested per group interface test case corresponding interface
Fruit and generate;Every group interface test case of packet back is at least one.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
Further, each interface testing use-case is respectively provided with standardised generic structure.
Accordingly, the embodiment of the present invention also provides a kind of interface test device of application program, including receiving module, test
Module and sending module, the test module include grouped element and test cell, wherein,
Receiving module, at least one interface testing use-case of the application program to be measured for receiving central controller transmission;
At least one interface testing use-case is the central controller by whole interface testing use-cases of the application program to be measured
A subset after cutting;
Grouped element, for the logical relation according to each interface testing use-case and other interface testing use-cases, to described
At least one interface testing use-case is grouped, and every group interface test case after packet is at least one;
Test cell, for being tested using per group interface test case corresponding interface, to obtain every group interface
The test result of test case;
Sending module, for returning to the central controller, the survey based on test result generation test report
Examination report is received by the central controller and the complete test report of the application program to be measured is integrated into other test report
Accuse;Other described test report are whole interface testings based on the application program to be measured that the central controller receives
The test report that other subsets after use-case cutting return after being tested.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
It is preferably carried out at one in mode, the logical relation includes stand alone type, each interface testing use-case independence structure
Into a packet.
It is preferably carried out at another in mode, the logical relation includes laddering, multiple interfaces surveys of same group
Example on probation is arranged in order, if the output result tested using each interface testing use-case corresponding interface is connect with this
The desired value of mouth test case is consistent, then as the input tested using next interface testing use-case corresponding interface
Parameter, and the output result that corresponding interface is tested is surveyed as the group interface using using last interface testing use-case
The test result of example on probation.
It is preferably carried out at another in mode, the logical relation includes block form, and multiple interfaces with group are surveyed
Example on probation is arranged in order is tested corresponding interface with being performed, and will utilize last interface testing use-case to corresponding
Test result of the output result tested of interface as the group interface test case.
Further, each interface testing use-case includes use-case type, confirms each interface by the use-case type
Test case and the logical relation of other interface testing use-cases.
Further, each interface testing use-case includes interface identification code, and this is connect using each interface testing use-case
Interface corresponding to the interface identification code of mouth test case is tested.
Further, it is described to include verification data per group interface test case;
The interface test device of the application program also includes:
Comparison module, for the test result to be write into survey compared with the verification data, and by comparative result
Examination report.
Further, the interface test device of the application program also includes:
Enquiry module, for also including database statement identification code and database verification data when a group interface test case
When, inquired about from the database statement template pre-established and obtain the corresponding database statement of database statement identification code;
Module is checked, for being checked according to the database statement database, obtains the inspection of the database
As a result;And
Writing module, for by the inspection result compared with the database verification data, and by comparative result
Write the test report.
Further, each interface testing use-case is respectively provided with standardised generic structure.
The embodiment of the present invention also provides a kind of interface test device of application program, including:
Cutting module, for being N number of subset by whole interface testing use-case cuttings of application program to be measured, and by the N
Individual subset corresponds and is sent to N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥2;
And
Module is integrated, the test report returned for receiving N number of test lead, and the N number of test that will be received
The test report that end returns is integrated into the complete test report of the application program to be measured;Wherein, the test report is each
The test lead is according to the logical relation of each interface testing use-case and other interface testing use-cases to the interface in the subset
Test case is grouped, and is surveyed using the every group interface obtained after being tested per group interface test case corresponding interface
Try out the test result of example and generate;Every group interface test case after packet is at least one.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
Further, each interface testing use-case is respectively provided with standardised generic structure.
Implement the embodiment of the present invention, have the advantages that:
The interface test method and device of application program provided in an embodiment of the present invention, can make central controller will be to be measured
Whole interface testing use-cases of application program carry out cutting, and the subset after cutting is sent into different test leads while carried out
Test, effectively improve the testing efficiency of application programming interfaces to be measured;Each test lead is according to the logic between interface testing use-case
Relation, the interface testing use-case of application program to be measured is grouped, and the corresponding interface entered according to every group interface test case
Row test, to realize complicated interface testing, improve the accuracy of interface testing;By the interface testing use-case with progressive relationship
It is divided into one group, realizes interface testing of the output result of an interface as the input parameter of next interface, will has arranged side by side
The interface testing use-case of relation is divided into one group, realizes that multiple interface testing use-cases export the interface testing of a test result, makes
Interface testing is more comprehensive and accurate;After a test, database result is checked, improves the accuracy of test;Each connect
Mouth test case is respectively provided with standardised generic structure, interface testing use-case is applied to different application programs, improves interface and surveys
The applicability of example on probation.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of one embodiment of the interface test method of application program provided by the invention;
Fig. 2 be application program provided by the invention interface test method in the step S12 flow of one embodiment show
It is intended to;
Fig. 3 is the schematic flow sheet of second embodiment of the interface test method of application program provided by the invention;
Fig. 4 is the structural representation of one embodiment of the interface test device of application program provided by the invention;
Fig. 5 is the structural representation of second embodiment of the interface test device of application program provided by the invention;
Fig. 6 is the structural representation of one embodiment of the interface test system of application program provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
It is the schematic flow sheet of one embodiment of the interface test method of application program provided by the invention referring to Fig. 1,
Including:
S11, at least one interface testing use-case for receiving the application program to be measured that central controller is sent;Described at least one
Individual interface testing use-case is the central controller by one after whole interface testing use-case cuttings of the application program to be measured
Individual subset;
S12, using at least one interface testing use-case corresponding interface is tested, to obtain test result;
S13, based on the test result generation test report return to the central controller, the test report is by institute
Central controller is stated to receive and be integrated into the complete test report of the application program to be measured with other test report;It is described other
After whole interface testing use-case cuttings based on the application program to be measured that test report receives for the central controller
Other subsets tested after the test report that returns.
It should be noted that the enormous amount of the interface testing use-case of an application program, connects to improve application program
The testing efficiency of mouth, the present embodiment provide a kind of distributed http universalized connections test automation framework, realized to all bases
Automated in the efficient interface testing of http application programs.In addition, the interface test method of the application program of the present embodiment is by surveying
Try end to realize, multiple test leads are connected with central controller, realize the quick test to application program.
Before testing, the web platforms of tester's login central controller write the interface testing use of application program to be measured
Example.After having write, cutting is carried out according to the quantity of whole interface testing use-cases of application program to be measured, also can be according to application to be measured
Module number in program carries out cutting, forms multiple subsets of interface testing use-case.Wherein, module refers to phase in application program
To independent program unit, such as log-in module, user management module, Virtual Machine Manager module.Then, central controller will be cut
The subset use-case divided is transferred to corresponding test lead respectively, wherein, central controller establishes FTP (File with multiple test leads
Transfer Protocol, FTP) connect, each test lead passes through FTP technologies and receives what central controller transmitted
Subset use-case, and its subset use-case is locally downloading.After each test lead has subset use-case, central controller controls are every
Individual test lead is tested, wherein, central controller and each test lead are mounted on IBM open source technology staf frameworks in advance,
And mutual trust relation is configured, to realize the communication of central controller and each test lead.
When testing beginning, each test lead reads the interface testing use-case of local application program to be measured, and forms test
List, and then read interface testing use-case one by one and the corresponding interface is tested, its test result is obtained, and test result is given birth to
Central controller is uploaded to by FTP modes into test report, and then by test report.After all test leads complete test,
The complete test report that application program to be measured is integrated into after all test report received is pushed to test by central controller
Personnel.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
It should be noted that the subset number that central controller is syncopated as is identical with the number of test lead, central controller
Can be according to the average cutting of the number of whole interface testing use-cases, also can be according to the module number of application program to be measured come cutting.Example
Such as, application program to be measured has 10 modules, and test lead has 3, then the interface that the first two test lead distributes 3 modules is surveyed
Example on probation, last, i.e., the 3rd test lead distributes the interface testing use-case of 4 modules.After cutting is complete, central controller will
Each corresponding interface testing use-case of module is sent to corresponding test lead.
Further, as shown in Fig. 2 described surveyed using at least one interface testing use-case to corresponding interface
Examination, to obtain test result, is specifically included:
S21, the logical relation according to each interface testing use-case and other interface testing use-cases, at least one connect to described
Mouth test case is grouped, and every group interface test case after packet is at least one;
S22, using every group interface test case corresponding interface is tested, to obtain per group interface test case
Test result.
It should be noted that after the interface testing use-case of application program to be measured is obtained, to the interface of application program to be measured
Test case is grouped, and the interface testing use-case for making to have logical relation is one group, so as to according to every group interface test case
To test corresponding interface, and obtain per the corresponding test result of group interface test case, so as to realize connecing for complexity
Mouth test, to improve the accuracy of test.
It is preferably carried out at one in mode, the logical relation includes stand alone type, each interface testing use-case independence structure
Into a packet.
If an interface testing use-case and other interface testing use-cases are freestanding logical relation, by the interface testing
Use-case is independently divided into one group.In test, corresponding interface is tested using the interface testing use-case, to obtain the interface
The test result of test case.
It is preferably carried out at another in mode, the logical relation includes laddering, multiple interfaces surveys of same group
Example on probation is arranged in order, if the output result tested using each interface testing use-case corresponding interface is connect with this
The desired value of mouth test case is consistent, then as the input tested using next interface testing use-case corresponding interface
Parameter, and the output result that corresponding interface is tested is surveyed as the group interface using using last interface testing use-case
The test result of example on probation.
If multiple interface testing use-cases have laddering logical relation, the multiple interface testing use-case is divided into one
Group, and be arranged in order according to progressive relationship.In test, each interface testing use-case of the group is utilized one by one according to putting in order
Carry out interface testing.Wherein, it is complete to corresponding interface testing in an interface testing use-case and obtain the output knot for connecing return
After fruit, by the output result compared with the desired value in the interface testing use-case, if output result is consistent with desired value,
The output result is cached in cache, when being tested using next interface testing use-case, obtained from caching cache
Take the output result to continue to test as the input parameter of next interface testing use-case, and using the group last
After interface testing use-case is tested corresponding interface, using the output result that the interface returns as the group interface test case
Test result;If output result is inconsistent with desired value, terminate the test of the group.
For example, first interface test case and second interface test case with progressive relationship are divided into one group.First with
First interface test case is tested corresponding first interface, obtains the output result that first interface returns, first is connect
The output result that mouth returns is compared with the desired value of first interface test case, if the output result is identical with desired value,
Then the output result is cached in cache, when being tested using second interface test case, obtained from caching cache
Take the output result to be tested as the input parameter of second interface test case corresponding second interface, obtain second and connect
Test result of the output result that mouth returns as this group;If the output result that first interface returns differs with desired value,
Terminate the test of this group.
It is preferably carried out at another in mode, the logical relation includes block form, and multiple interfaces with group are surveyed
Example on probation is arranged in order is tested corresponding interface with being performed, and will utilize last interface testing use-case to corresponding
Test result of the output result tested of interface as the group interface test case.
If multiple interface testing use-cases have the logical relation of block form, the multiple interface testing use-case is divided into one
Group, and be logically sequentially arranged in order.In test, each interface testing use-case of the group is utilized one by one according to putting in order
Carry out interface testing.Wherein, after being tested using an interface testing use-case corresponding interface, without examining the interface
The output result of return, continue with next interface testing use-case and corresponding interface is tested.Utilizing the group most
After the latter interface testing use-case is tested corresponding interface, survey of the output result of interface return as the group is obtained
Test result.
Further, each interface testing use-case includes use-case type, confirms each interface by the use-case type
Test case and the logical relation of other interface testing use-cases.
It should be noted that after the interface testing use-case of application program to be measured is obtained, interface testing use-case is added to
Test in list, and then the interface testing use-case in parsing test list one by one, with the packet for mouthful test case that achieves a butt joint.If
The type of interface testing use-case is separate type, then the interface testing use-case is divided into alone into one group;If test adjacent in list
The types of multiple interface testing use-cases be progressive type, then the multiple interface testing use-case is divided into one group, and according to
Putting in order in test list is arranged multiple interface testing use-cases of the group;If adjacent in test list multiple connect
The type of mouth test case is parallel-type, then the multiple interface testing use-case is divided into one group, and according to test list
In put in order multiple interface testing use-cases of the group arranged.
Further, each interface testing use-case includes interface identification code, and this is connect using each interface testing use-case
Interface corresponding to the interface identification code of mouth test case is tested.
Wherein, interface identification code is the unique identifier of interface.It can be asked according to the interface identification code of interface testing use-case
Corresponding interface is sought, realizes the test to the interface.
It should be noted that after using interface testing is carried out per group interface test case, also need to test every group interface
The test result of use-case is verified.Wherein, the verification data verified is present in last of every group interface test case
In individual interface testing use-case, verification data includes check field and check value.The check field phase is obtained from test result
The test data answered, and judge whether the test data is identical with check value, if identical, the test result is correct, if not phase
Together, then test result mistake, and by comparative result write-in test report correctly or incorrectly.
Further, it is described to include verification data per group interface test case;
After the test result obtained per group interface test case, in addition to:
By the test result compared with the verification data, and comparative result is write into test report.
Further, after the test result obtained per group interface test case, in addition to:
When a group interface test case also includes database statement identification code and database verification data, from pre-establishing
Database statement template in inquiry obtain the corresponding database statement of database statement identification code;
Database is checked according to the database statement, obtains the inspection result of the database;
By the inspection result compared with the database verification data, and comparative result is write into the test and reported
Accuse.
It should be noted that part of interface test also needs to verify database, when a group interface test case is also wrapped
When including database statement identification code and database verification data, also need according to database statement identification code and database verification data
Database is verified.Wherein, database statement identification code and database verification data are present in every group interface test case
Last interface testing use-case in, database verification data includes database check field and database check value.First from
Database statement corresponding to database statement identification code is found in the database statement template pre-established, and then according to the data
Storehouse sentence is checked database, to obtain inspection result.It is corresponding that database check field is obtained from the inspection result
Data are checked, and judge whether the inspection data and database check value are identical, if identical, the inspection result of database is just
Really, if differing, the inspection result mistake of database, and by comparative result write-in test report correctly or incorrectly.
Further, each interface testing use-case is respectively provided with standardised generic structure.
It should be noted that each interface testing use-case is write using standardised generic structure, for example, each connecing
The compiling form of mouth test case is { ' name ':' interface testing use-case name ', ' group ':' use-case type ', ' url ':' interface
Identification code ', ' method ':' method of testing ', ' args ':{ ' input parameter ' }, ' ret ':{‘equal’:{ ' desired value/verification
Data ' }, ' mysql ':{ ' database statement identification code and database verification data ' } } }.
As group=0, the logical relation of the interface testing use-case is stand alone type.Enter using the interface testing use-case
When line interface is tested, the corresponding interface of request interface identification code, to the interface input parameter, and using the method for testing in use-case
The interface is tested.After the test result that the interface returns is obtained, the verification data in use-case is to test result
Verified.If ' mysql ' field has data in use-case, according to database statement identification code and database verification data logarithm
Verified according to storehouse;If ' mysql ' field is sky in use-case, without being verified to database.
As group=1, by the first interface test case and next group=-1 second interface test case
It is divided into one group, its logical relation is laddering.After being tested using first interface test case corresponding first interface,
The output result that the first interface is returned is compared with the desired value in use-case.When comparative result is consistent, this is exported
Result cache is into cache, and when being tested using second interface test case, the output knot is obtained from caching cache
Fruit is tested corresponding second interface as the input parameter of second interface test case.Obtaining what second interface returned
After test result, the verification data in second interface test case verifies to test result.If second interface is tested
' mysql ' field has data in use-case, then carries out school to database according to database statement identification code and database verification data
Test;If ' mysql ' field is sky in second interface test case, without being verified to database.
As group=m, m interface testing use-case is divided into one group, its logical relation is block form.Wherein, m connect
Group in mouthful test case is m, m >=2.Corresponding interface is tested using each interface testing use-case one by one,
After carrying out interface testing using m-th of interface testing use-case, the test result of interface return is obtained, and according to m-th of interface
Verification data in test case verifies to test result.If ' mysql ' field has number in m-th of interface testing use-case
According to then being verified according to database statement identification code and database verification data to database;If m-th of interface testing use-case
In ' mysql ' field be sky, then without being verified to database.
It is that the flow of second embodiment of the interface test method of application program provided by the invention is illustrated referring to Fig. 3
Figure, including:
S31, by whole interface testing use-case cuttings of application program to be measured it is N number of subset, and by N number of subset one by one
It is corresponding to be sent to N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥2;
S32, receive the test report that N number of test lead returns, and the survey that the N number of test lead received is returned
Examination report is integrated into the complete test report of the application program to be measured;Wherein, the test report is each test lead
Generated based on the test result obtained after being tested using the interface testing use-case in the subset corresponding interface.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
Further, the test report is that each test lead is surveyed according to each interface testing use-case and other interfaces
The logical relation of example on probation is grouped to the interface testing use-case in the subset, and using every group interface test case to phase
The test result for every group interface test case that the interface answered obtains after being tested and generate;Wherein, every group after packet
Interface testing use-case is at least one.
Further, each interface testing use-case is respectively provided with standardised generic structure.
The interface test method of application program provided in an embodiment of the present invention, central controller can be made to apply journey by be measured
Whole interface testing use-cases of sequence carry out cutting, and the subset after cutting is sent into different test leads while tested,
Effectively improve the testing efficiency of application programming interfaces to be measured;Each test lead according to the logical relation between interface testing use-case,
The interface testing use-case of application program to be measured is grouped, and the corresponding interface surveyed according to every group interface test case
Examination, to realize complicated interface testing, improve the accuracy of interface testing;Interface testing use-case with progressive relationship is divided into
One group, interface testing of the output result of an interface as the input parameter of next interface is realized, there will be coordination
Interface testing use-case be divided into one group, realize that multiple interface testing use-cases export the interface testing of a test result, make interface
Test is more comprehensive and accurate;After a test, database result is checked, improves the accuracy of test;Each interface is surveyed
Example on probation is respectively provided with standardised generic structure, interface testing use-case is applied to different application programs, improves interface testing and uses
The applicability of example.
Accordingly, the present invention also provides a kind of interface test device of application program, can realize in above-described embodiment
All flows of the interface test method of application program.
It is the structural representation of one embodiment of the interface test device of application program provided by the invention referring to Fig. 4
Figure, including:
Receiving module 41, used for receiving at least one interface testing of application program to be measured of central controller transmission
Example;At least one interface testing use-case is that the central controller uses whole interface testings of the application program to be measured
A subset after example cutting;
Test module 42, for being tested using at least one interface testing use-case corresponding interface, to obtain
Take test result;And
Sending module 43, it is described for returning to the central controller based on test result generation test report
Test report is received by the central controller and the complete test of the application program to be measured is integrated into other test report
Report;Other described test report are that whole interfaces based on the application program to be measured that the central controller receives are surveyed
The test report that other subsets after example cutting on probation return after being tested.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
Further, the test module 42 specifically includes:
Grouped element, for the logical relation according to each interface testing use-case and other interface testing use-cases, to described
At least one interface testing use-case is grouped, and every group interface test case after packet is at least one;And
Test cell, for being tested using per group interface test case corresponding interface, to obtain every group interface
The test result of test case.
It is preferably carried out at one in mode, the logical relation includes stand alone type, each interface testing use-case independence structure
Into a packet.
It is preferably carried out at another in mode, the logical relation includes laddering, multiple interfaces surveys of same group
Example on probation is arranged in order, if the output result tested using each interface testing use-case corresponding interface is connect with this
The desired value of mouth test case is consistent, then as the input tested using next interface testing use-case corresponding interface
Parameter, and the output result that corresponding interface is tested is surveyed as the group interface using using last interface testing use-case
The test result of example on probation.
It is preferably carried out at another in mode, the logical relation includes block form, and multiple interfaces with group are surveyed
Example on probation is arranged in order is tested corresponding interface with being performed, and will utilize last interface testing use-case to corresponding
Test result of the output result tested of interface as the group interface test case.
Further, each interface testing use-case includes use-case type, confirms each interface by the use-case type
Test case and the logical relation of other interface testing use-cases.
Further, each interface testing use-case includes interface identification code, and this is connect using each interface testing use-case
Interface corresponding to the interface identification code of mouth test case is tested.
Further, it is described to include verification data per group interface test case;
The interface test device of the application program also includes:
Comparison module, for the test result to be write into survey compared with the verification data, and by comparative result
Examination report.
Further, the interface test device of the application program also includes:
Enquiry module, for also including database statement identification code and database verification data when a group interface test case
When, inquired about from the database statement template pre-established and obtain the corresponding database statement of database statement identification code;
Module is checked, for being checked according to the database statement database, obtains the inspection of the database
As a result;And
Writing module, for by the inspection result compared with the database verification data, and by comparative result
Write the test report.
Further, each interface testing use-case is respectively provided with standardised generic structure.
It is the structural representation of second embodiment of the interface test device of application program provided by the invention referring to Fig. 5
Figure, including:
Cutting module 51, for being N number of subset by whole interface testing use-case cuttings of application program to be measured, and by described in
N number of subset corresponds and is sent to N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥
2;And
Module 52 is integrated, the test report returned for receiving N number of test lead, and the N number of survey that will be received
The test report that examination end returns is integrated into the complete test report of the application program to be measured;Wherein, the test report is every
One test lead is based on the test obtained after being tested using the interface testing use-case in the subset corresponding interface
As a result generate.
Further, the formula of cutting is as follows:
Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son every
The number for the interface testing use-case that individual subset is sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
Further, the test report is that each test lead is surveyed according to each interface testing use-case and other interfaces
The logical relation of example on probation is grouped to the interface testing use-case in the subset, and using every group interface test case to phase
The test result for every group interface test case that the interface answered obtains after being tested and generate;Wherein, every group after packet
Interface testing use-case is at least one.
Further, each interface testing use-case is respectively provided with standardised generic structure.
The interface test device of application program provided in an embodiment of the present invention, central controller can be made to apply journey by be measured
Whole interface testing use-cases of sequence carry out cutting, and the subset after cutting is sent into different test leads while tested,
Effectively improve the testing efficiency of application programming interfaces to be measured;Each test lead according to the logical relation between interface testing use-case,
The interface testing use-case of application program to be measured is grouped, and the corresponding interface surveyed according to every group interface test case
Examination, to realize complicated interface testing, improve the accuracy of interface testing;Interface testing use-case with progressive relationship is divided into
One group, interface testing of the output result of an interface as the input parameter of next interface is realized, there will be coordination
Interface testing use-case be divided into one group, realize that multiple interface testing use-cases export the interface testing of a test result, make interface
Test is more comprehensive and accurate;After a test, database result is checked, improves the accuracy of test;Each interface is surveyed
Example on probation is respectively provided with standardised generic structure, interface testing use-case is applied to different application programs, improves interface testing and uses
The applicability of example.
It is the structural representation of one embodiment of the interface test system of application program provided by the invention referring to Fig. 6.
The interface test system for the application program that the present embodiment provides includes central controller 61, the first test lead 62, the
Two test leads 63 and the 3rd test lead 64.Wherein, central controller 61 respectively with the first test lead 62, the second test lead 63 and
Three test leads 64 connect.Whole interface testing use-case cuttings of application program to be measured are 3 subsets by central controller 61, and will
3 subsets are sent respectively to the first test lead 62, the second test lead 63 and the 3rd test lead 64, and then the test of control first respectively
The 62, second test lead 63 and the 3rd test lead 64 is held to carry out interface testing using the subset of its interface testing use-case.Surveyed first
After examination end 62, the second test lead 63 and the 3rd test lead 64 are completed, the test report generated is sent to central control
Receive 3 test report are integrated into the complete test report of application program to be measured by device 61 processed, central controller 61.This hair
Bright embodiment will be distributed to multiple test leads after whole interface testing use-case cuttings by central controller while enter line interface survey
Examination, effectively improves interface testing efficiency.
It should be noted that the embodiment of the present invention only includes a central controller with test system, and the center controls
Device exemplified by three test leads respectively with being described, but among specific implementation, and test system can include multiple test leads, often
Individual test lead is connected with central controller respectively, and the quantity of its test lead can configure according to practical application.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (26)
- A kind of 1. interface test method of application program, it is characterised in that including:Receive at least one interface testing use-case for the application program to be measured that central controller is sent;At least one interface is surveyed Example on probation is the central controller by a subset after whole interface testing use-case cuttings of the application program to be measured;According to the logical relation of each interface testing use-case and other interface testing use-cases, at least one interface testing is used Example is grouped, and every group interface test case after packet is at least one;Corresponding interface is tested using every group interface test case, to obtain the test knot per group interface test case Fruit;The central controller is returned to based on test result generation test report, the test report is controlled by the center Device processed receives and the complete test report of the application program to be measured is integrated into other test report;Other described test report Other sons after the whole interface testing use-case cuttings based on the application program to be measured received for the central controller The test report that collection returns after being tested.
- 2. the interface test method of application program as claimed in claim 1, it is characterised in that the formula of cutting is as follows:<mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>=</mo> <mfrac> <mrow> <mi>mod</mi> <mo>_</mo> <mi>n</mi> </mrow> <mi>N</mi> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mi>N</mi> </msub> <mo>=</mo> <mi>mod</mi> <mo>_</mo> <mi>n</mi> <mo>-</mo> <mrow> <mo>(</mo> <msub> <mi>a</mi> <mrow> <mi>n</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>*</mo> <mo>(</mo> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> <mo>)</mo> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son per height Collect the number for the interface testing use-case being sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
- 3. the interface test method of application program as claimed in claim 1, it is characterised in that the logical relation includes independent Formula, each interface testing use-case independently form a packet.
- 4. the interface test method of application program as claimed in claim 1, it is characterised in that the logical relation includes progressive Formula, multiple interface testing use-cases with group are arranged in order, if being entered using each interface testing use-case to corresponding interface The output result of row test is consistent with the desired value of the interface testing use-case, then is used as and utilizes next interface testing use-case pair The input parameter that corresponding interface is tested, and corresponding interface will be tested using last interface testing use-case Test result of the output result as the group interface test case.
- 5. the interface test method of application program as claimed in claim 1, it is characterised in that the logical relation includes arranged side by side Formula, it is arranged in order with the multiple interface testing use-cases organized and corresponding interface is tested with being performed, and will utilizes most The latter interface testing use-case is to test knot of the output result that corresponding interface is tested as the group interface test case Fruit.
- 6. the interface test method of the application program as any one of claim 1,3~5, it is characterised in that each Interface testing use-case includes use-case type, confirms that each interface testing use-case is used with other interface testings by the use-case type The logical relation of example.
- 7. such as the interface test method of application program according to any one of claims 1 to 5, it is characterised in that each connects Mouth test case includes interface identification code, right to the interface identification code institute of the interface testing use-case using each interface testing use-case The interface answered is tested.
- 8. the interface test method of application program as claimed in claim 1, it is characterised in that described per group interface test case Including verification data;After the test result obtained per group interface test case, in addition to:By the test result compared with the verification data, and comparative result is write into the test report.
- 9. the interface test method of application program as claimed in claim 8, it is characterised in that surveyed in described obtain per group interface After the test result of example on probation, in addition to:When a group interface test case also includes database statement identification code and database verification data, from the number pre-established The corresponding database statement of database statement identification code is obtained according to inquiry in the sentence template of storehouse;Database is checked according to the database statement, obtains the inspection result of the database;By the inspection result compared with the database verification data, and comparative result is write into the test report.
- 10. the interface test method of application program as claimed in claim 1, it is characterised in that each interface testing use-case is equal With standardised generic structure.
- A kind of 11. interface test method of application program, it is characterised in that including:It is N number of subset by whole interface testing use-case cuttings of application program to be measured, and N number of subset is corresponded and sent To N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥2;The test report that N number of test lead returns is received, and the test report that the N number of test lead received is returned is whole It is combined into the complete test report of the application program to be measured;Wherein, the test report is each test lead according to each The logical relation of interface testing use-case and other interface testing use-cases is grouped to the interface testing use-case in the subset, and The test result of the every group interface test case obtained after being tested using every group interface test case corresponding interface and Generation;Every group interface test case after packet is at least one.
- 12. the interface test method of application program as claimed in claim 11, it is characterised in that the formula of cutting is as follows:<mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>=</mo> <mfrac> <mrow> <mi>mod</mi> <mo>_</mo> <mi>n</mi> </mrow> <mi>N</mi> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mi>N</mi> </msub> <mo>=</mo> <mi>mod</mi> <mo>_</mo> <mi>n</mi> <mo>-</mo> <mrow> <mo>(</mo> <msub> <mi>a</mi> <mrow> <mi>n</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>*</mo> <mo>(</mo> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> <mo>)</mo> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son per height Collect the number for the interface testing use-case being sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
- 13. the interface test method of the application program as described in claim 11 or 12, it is characterised in that each interface testing is used Example is respectively provided with standardised generic structure.
- A kind of 14. interface test device of application program, it is characterised in that including receiving module, test module and sending module, The test module includes grouped element and test cell, wherein,Receiving module, at least one interface testing use-case of the application program to be measured for receiving central controller transmission;It is described At least one interface testing use-case is whole interface testing use-case cuttings of the central controller by the application program to be measured A subset afterwards;Grouped element, for the logical relation according to each interface testing use-case and other interface testing use-cases, to it is described at least One interface testing use-case is grouped, and every group interface test case after packet is at least one;Test cell, for being tested using per group interface test case corresponding interface, tested with obtaining per group interface The test result of use-case;Sending module, for returning to the central controller, the test report based on test result generation test report Announcement is received by the central controller and the complete test report of the application program to be measured is integrated into other test report;Institute It is whole interface testing use-cases based on the application program to be measured that the central controller receives to state other test report The test report that other subsets after cutting return after being tested.
- 15. the interface test device of application program as claimed in claim 14, it is characterised in that the formula of cutting is as follows:<mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>=</mo> <mfrac> <mrow> <mi>mod</mi> <mo>_</mo> <mi>n</mi> </mrow> <mi>N</mi> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mi>N</mi> </msub> <mo>=</mo> <mi>mod</mi> <mo>_</mo> <mi>n</mi> <mo>-</mo> <mrow> <mo>(</mo> <msub> <mi>a</mi> <mrow> <mi>n</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>*</mo> <mo>(</mo> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> <mo>)</mo> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son per height Collect the number for the interface testing use-case being sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
- 16. the interface test device of application program as claimed in claim 14, it is characterised in that the logical relation includes only Vertical, each interface testing use-case independently forms a packet.
- 17. the interface test device of application program as claimed in claim 14, it is characterised in that the logical relation includes passing Enter formula, multiple interface testing use-cases with group are arranged in order, if using each interface testing use-case to corresponding interface The output result tested is consistent with the desired value of the interface testing use-case, then is used as and utilizes next interface testing use-case The input parameter tested corresponding interface, and corresponding interface will be surveyed using last interface testing use-case Test result of the output result of examination as the group interface test case.
- 18. the interface test device of application program as claimed in claim 14, it is characterised in that the logical relation is included simultaneously Column, it is arranged in order with the multiple interface testing use-cases organized and corresponding interface is tested with being performed, and will utilizes Last interface testing use-case is to test of the output result that corresponding interface is tested as the group interface test case As a result.
- 19. the interface test device of the application program as any one of claim 14,16~18, it is characterised in that every One interface testing use-case includes use-case type, confirms that each interface testing use-case is surveyed with other interfaces by the use-case type The logical relation of example on probation.
- 20. the interface test device of the application program as any one of claim 14~18, it is characterised in that each Interface testing use-case includes interface identification code, the interface identification code institute using each interface testing use-case to the interface testing use-case Corresponding interface is tested.
- 21. the interface test device of application program as claimed in claim 14, it is characterised in that the test per group interface is used Example includes verification data;The interface test device of the application program also includes:Comparison module, for the test result to be write into test report compared with the verification data, and by comparative result Accuse.
- 22. the interface test device of application program as claimed in claim 21, it is characterised in that the interface of the application program Test device also includes:Enquiry module, for when a group interface test case also includes database statement identification code and database verification data, Inquiry obtains the corresponding database statement of database statement identification code from the database statement template pre-established;Module is checked, for being checked according to the database statement database, obtains the inspection result of the database; AndWriting module, for the inspection result compared with the database verification data, and comparative result to be write The test report.
- 23. the interface test device of application program as claimed in claim 14, it is characterised in that each interface testing use-case is equal With standardised generic structure.
- A kind of 24. interface test device of application program, it is characterised in that including:Cutting module, for being N number of subset by whole interface testing use-case cuttings of application program to be measured, and by N number of son Collection one-to-one corresponding is sent to N number of test lead;Wherein, each subset includes at least one interface testing use-case;N≥2;With AndModule is integrated, the test report returned for receiving N number of test lead, and the N number of test lead received is returned The test report returned is integrated into the complete test report of the application program to be measured;Wherein, the test report is each described Test lead is according to the logical relation of each interface testing use-case and other interface testing use-cases to the interface testing in the subset Use-case is grouped, and is tested and used using the every group interface obtained after being tested per group interface test case corresponding interface Example test result and generate;Every group interface test case after packet is at least one.
- 25. the interface test device of application program as claimed in claim 24, it is characterised in that the formula of cutting is as follows:<mrow> <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>=</mo> <mfrac> <mrow> <mi>mod</mi> <mo>_</mo> <mi>n</mi> </mrow> <mi>N</mi> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>a</mi> <mi>N</mi> </msub> <mo>=</mo> <mi>mod</mi> <mo>_</mo> <mi>n</mi> <mo>-</mo> <mrow> <mo>(</mo> <msub> <mi>a</mi> <mrow> <mi>n</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>*</mo> <mo>(</mo> <mrow> <mi>N</mi> <mo>-</mo> <mn>1</mn> </mrow> <mo>)</mo> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, mod_n be whole interface testing use-cases number, N be subset number, aN-1Concentrated for first N-1 son per height Collect the number for the interface testing use-case being sliced into, aNThe number for the interface testing use-case being sliced into for n-th subset.
- 26. the interface test device of the application program as described in claim 24 or 25, it is characterised in that each interface testing is used Example is respectively provided with standardised generic structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510613783.5A CN105117345B (en) | 2015-09-23 | 2015-09-23 | The interface test method and device of a kind of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510613783.5A CN105117345B (en) | 2015-09-23 | 2015-09-23 | The interface test method and device of a kind of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105117345A CN105117345A (en) | 2015-12-02 |
CN105117345B true CN105117345B (en) | 2017-12-19 |
Family
ID=54665343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510613783.5A Active CN105117345B (en) | 2015-09-23 | 2015-09-23 | The interface test method and device of a kind of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105117345B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203459A (en) * | 2016-03-16 | 2017-09-26 | 阿里巴巴集团控股有限公司 | Interface performance test method and apparatus |
CN106528418B (en) * | 2016-10-28 | 2019-01-22 | 广东浪潮大数据研究有限公司 | A kind of test method and device |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
CN107861870B (en) * | 2017-11-02 | 2020-07-24 | 平安科技(深圳)有限公司 | Interface test and test data generation method, device, terminal and storage medium |
CN109117375A (en) * | 2018-08-30 | 2019-01-01 | 上海携程金融信息服务有限公司 | Database interface test method, system, equipment and storage medium |
CN109359031B (en) * | 2018-09-04 | 2023-08-22 | 中国平安人寿保险股份有限公司 | Multi-device application program testing method and device, server and storage medium |
CN112162914A (en) * | 2020-07-27 | 2021-01-01 | 上海金融期货信息技术有限公司 | Method and device for automatically generating test case |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727389A (en) * | 2009-11-23 | 2010-06-09 | 中兴通讯股份有限公司 | Automatic test system and method of distributed integrated service |
CN102214139A (en) * | 2011-06-01 | 2011-10-12 | 北京航空航天大学 | Automatic test performance control and debugging method facing distributed system |
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
CN103164312A (en) * | 2011-12-09 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and system for preparing interface testing data |
CN103414811A (en) * | 2013-08-09 | 2013-11-27 | 北京中创信测科技股份有限公司 | Method and system for synchronization test of multiple terminals |
CN103455425A (en) * | 2013-09-25 | 2013-12-18 | 中国银行股份有限公司 | System and method for distributed type tests |
CN103530231A (en) * | 2013-10-12 | 2014-01-22 | 北京京东尚科信息技术有限公司 | Application program testing method and system based on service process control |
CN103970650A (en) * | 2014-04-09 | 2014-08-06 | 广州杰赛科技股份有限公司 | Distributed testing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9009536B2 (en) * | 2012-10-02 | 2015-04-14 | International Business Machines Corporation | Test case production utilizing problem reports |
-
2015
- 2015-09-23 CN CN201510613783.5A patent/CN105117345B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727389A (en) * | 2009-11-23 | 2010-06-09 | 中兴通讯股份有限公司 | Automatic test system and method of distributed integrated service |
CN102609352A (en) * | 2011-01-19 | 2012-07-25 | 阿里巴巴集团控股有限公司 | Parallel testing method and parallel testing server |
CN102214139A (en) * | 2011-06-01 | 2011-10-12 | 北京航空航天大学 | Automatic test performance control and debugging method facing distributed system |
CN103164312A (en) * | 2011-12-09 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and system for preparing interface testing data |
CN103414811A (en) * | 2013-08-09 | 2013-11-27 | 北京中创信测科技股份有限公司 | Method and system for synchronization test of multiple terminals |
CN103455425A (en) * | 2013-09-25 | 2013-12-18 | 中国银行股份有限公司 | System and method for distributed type tests |
CN103530231A (en) * | 2013-10-12 | 2014-01-22 | 北京京东尚科信息技术有限公司 | Application program testing method and system based on service process control |
CN103970650A (en) * | 2014-04-09 | 2014-08-06 | 广州杰赛科技股份有限公司 | Distributed testing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105117345A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105117345B (en) | The interface test method and device of a kind of application program | |
CN105138461B (en) | The interface test method and device of a kind of application program | |
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
CN106095673B (en) | Automated testing method and system based on WEB interface | |
CN104636254B (en) | Generate method and apparatus, method of testing and the equipment of test case | |
CN109857667A (en) | Automatic interface testing method, test device, test equipment and storage medium | |
CN103838672B (en) | The automated testing method of a kind of all-purpose financial statements and device | |
CN109857668A (en) | UI automated function test method, test device, test equipment and storage medium | |
CN102244594B (en) | At the networks simulation technology manually and in automatic testing instrument | |
CN104268079B (en) | A kind of method and system of POS Application testings | |
CN104065528A (en) | Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices | |
CN102521354B (en) | Auditing and testing method and auditing and testing device for data base protocol | |
CN109446075A (en) | Interface testing method and device | |
CN112187558B (en) | Data verification method and device and electronic equipment | |
CN109753433A (en) | Automated testing method, device and electronic equipment based on block chain | |
CN109426611A (en) | A kind of method for testing software and device | |
CN109783373A (en) | Function test method, device, electronic equipment and storage medium based on block chain | |
CN107015912A (en) | Realize system, method, device and the electronic equipment of remote debugging | |
CN106603259B (en) | The configuration data method of calibration and device of network element, network management device | |
CN112532492A (en) | CAN virtual message construction method and system for testing automobile instrument | |
CN106201864A (en) | A kind of application programming interface API method of testing, device and mobile device | |
CN107197120A (en) | Image source compatibility test method and system | |
CN106933712A (en) | Networking remote test system and method based on B/S frameworks | |
CN106168924A (en) | Software testing method and device and electronic equipment | |
CN110149241A (en) | A kind of automated testing method and storage medium based on IMS equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |