CN106339312A - API (application programming interface) testing method and system - Google Patents
API (application programming interface) testing method and system Download PDFInfo
- Publication number
- CN106339312A CN106339312A CN201510422832.7A CN201510422832A CN106339312A CN 106339312 A CN106339312 A CN 106339312A CN 201510422832 A CN201510422832 A CN 201510422832A CN 106339312 A CN106339312 A CN 106339312A
- Authority
- CN
- China
- Prior art keywords
- api
- case
- test
- test case
- performance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to an API (application programming interface) testing method and system. The method comprises the following steps: loading an entry script; loading a configuration file, a shared function library and a frame module; generating a testing use case by utilizing an API basis use case template generated in advance; executing the testing use case to obtain an API testing result; outputting the API testing result in a log form. The API testing method and the API testing system have the advantage that the API testing efficiency can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of api method of testing and system.
Background technology
Api (application programming interface, application programming interface) is that some are fixed in advance
The function of justice is it is therefore an objective to provide application program to be accessed one group of example with developer based on certain software or hardware
The ability of journey, and source code need not be accessed.During application program is run, it usually needs it is provided
Api interface tested, for example, game application in running, need to game application journey
Sequence is supplied to the api that lua script calls and is tested.Lua script is a kind of Embedded script, uses
To control application program, to explain when called or compile.
The test process of api needs generate test case, so-called use-case is that set sequence is taken out
As description, system, when executing these action sequences, can produce corresponding result, or these results feedback
To participant, or the parameter as other use-cases.Test case refers to generation in api test process
Use-case for test.Due to application program provide api interface relatively more, and each api interface according to
The difference of input and output may need a plurality of test case to be verified, traditional api method of testing generates to be surveyed
Example on probation needs again to write a large amount of codes for different scenes, and process is very loaded down with trivial details, thus reducing survey
Examination efficiency.
Content of the invention
Based on this it is necessary to be directed to above-mentioned technical problem, provide a kind of api test that can improve testing efficiency
Method and system.
A kind of api method of testing, the method comprising the steps of:
Load entrance script;
Loading configuration file, shared function library and frame module;
Using the api basis use-case template generation test case previously generating;
Execute described test case and obtain api test result;
Described api test result is exported with daily record form.
A kind of api test system, described system includes:
Load-on module, for loading entrance script, loading configuration file, shared function library and frame module;
Use-case initialization module, for using the api basis use-case template generation test case previously generating;
Use-case performing module, obtains api test result for executing described test case;
Result output module, for exporting described api test result with daily record form.
Above-mentioned api method of testing and system, during api is tested, using the api previously generating
Basic use-case template generation test case, for the test case of some api, the api that can directly previously generate
Basic use-case template generation test case, and when generating test case for different scenes, also only need slightly
The code that micromodification makes a movement in the use-case template of api basis just can generate the test case for different scenes, phase
Traditional needs are write to the mode of a large amount of codes, this api method of testing and system can improve test effect
Rate.
Brief description
Fig. 1 is the flow chart of api method of testing in an embodiment;
Fig. 2 is the schematic diagram of automated test frame in an embodiment;
Fig. 3 is the flow chart of api method of testing in another embodiment;
Fig. 4 is the method flow diagram utilizing api basis use-case template generation test case in an embodiment;
Fig. 5 is the use-case class figure of api basis use-case template in an embodiment;
Fig. 6 is the schematic diagram exporting the api interface obtaining in an embodiment;
Fig. 7 is the method flow diagram that in an embodiment, api is carried out with performance test;
Fig. 8 is the schematic diagram monitoring internal storage data in an embodiment;
Fig. 9 is the schematic diagram of part api execution journal in an embodiment;
Figure 10 is the method flow diagram that in an embodiment, test case is carried out with applied voltage test;
Figure 11 is the schematic diagram of association performance data and test case in an embodiment;
Figure 12 is the structured flowchart of api test system in an embodiment;
Figure 13 is the structured flowchart of api test system in another embodiment;
Figure 14 is the structured flowchart of api test system in further embodiment;
Figure 15 is the structured flowchart of api test system in another embodiment.
Specific embodiment
As shown in figure 1, in one embodiment, there is provided a kind of api method of testing, methods described includes:
Step 110, loads entrance script.
Step 120, loading configuration file, shared function library and frame module.
As shown in Fig. 2 for realizing the framework template that api tests, wherein, apicheckmain is entrance pin
This, base define is basic definition, and config is configuration file, and frame is frame module, and public is
Shared function library, test case is test case, and log is daily record, and mail is mail push, api_doinit
For use-case initialization module, api_doaction is use-case performing module, and api_doevalueat is that test is used
Example authentication module, api_doclear is test scene recovery module.
In the present embodiment, some key configuration items can be defined, including but not limited to using configuration file
All use-case file paths are managed with table thus realizing only carrying out use-case under some particular paths, with table management
Need the api of execution and need the api filtering, and setting for use-case that realization is performed a plurality of times is different suitable
Execution priority of sequence etc..For example, key configuration item is defined as: only carry out in allocation list api test or
Do not execute the api test in allocation list, configuration use-case loads catalogue, configures each scene use-case catalogue and loads
Time interval and each scene use-case file load time interval, each api execution cycle-index,
Order of api execution etc..Wherein, api execution order include intersect execution (such as according to
Api1- > api2- > api3- > api1- > api2- > api3 ... order execution) and circulation execute (such as according to
The order execution of api1- > api1- > api2- > api2- > api3- > api3 ...).In specific example, such as
Game application is supplied in the example that the api of lua script is tested, key configuration item also includes angle
Whether start after color login service device automatically to execute or how long start afterwards automatically to execute, and whether pin
All roles in current server are tested etc..
In the present embodiment, public function storehouse public provides the general method of framework.And frame module frame
For realizing shared interface and method, when generating specific test case, with the base class in frame module
Based on realize specific test case.
Step 130, using the api basis use-case template generation test case previously generating.
The basic use-case template of each api, api basis use-case template rule in the present embodiment, are previously generated
The model essential information of use-case.Specifically, the description information of api is obtained according to api basis use-case template,
Corresponding test case is generated with the entitled filename of api, the difference according to scene changes corresponding parameter again
Define etc. with related function.
Step 140, executes described test case and obtains api test result.
In the present embodiment, in implementation of test cases, can first copy a test case and obtain test case pair
This, then implementation of test cases copy.During implementation of test cases copy, initialization api parameter is simultaneously
Execution api calls, and obtains implementing result, judges whether implementing result is consistent with the implementing result pre-setting,
If it is api is verified, and otherwise verifies and does not pass through.
Step 150, exports api test result with daily record form.
In the present embodiment, api test result is exported with daily record form the most at last, further, the day of output
Will can be pushed with lettergram mode.
In the present embodiment, during api is tested, using the api basis use-case template previously generating
Generate test case, for the test case of some api, the api basis use-case mould that can directly previously generate
Plate generates test case, and when generating test case for different scenes, also only needs somewhat to change
Code in the use-case template of api basis just can generate the test case for different scenes, with respect to traditional need
Write the mode of a large amount of codes, this api method of testing and system can improve testing efficiency.
As shown in figure 3, in another embodiment, a kind of api method of testing, comprises the following steps:
Step 302, loads entrance script.
Step 304, loading configuration file, shared function library and frame module.
In the present embodiment, with regard to entrance script, configuration file, share function library and frame module description such as
Upper described, then repeat no more at this.
Step 306, using the api basis use-case template generation test case previously generating.
In the present embodiment, test case can be generated according to the basic use-case template of each api, then further according to
Scene changes corresponding parameter and the definition of corresponding function etc..
Step 308, initialization api parameter simultaneously executes api and calls.
In the present embodiment, generate a test case of copy after test case, obtain test case copy, hold
Row is test case copy, for the test case copy of api, initializes api parameter and executes api
Call, to obtain executing the result that api calls.Taking game application as a example, game application provides
The api interface calling to lua script, lua script generates test case, during calling these api
Obtain the result called.
Step 310, setting implementing result logical value simultaneously judges implementing result.
The implementing result logical value of api, in the present embodiment, can be set in advance, so that execution api is called
Result is judged, if implementing result meets implementing result logical value, shows the verification of correctness of api
Pass through, otherwise verify and do not pass through.
Step 312, executes cleaning.
After having judged implementing result, execution cleaning is so that reduction scene.
Step 314, exports implementing result daily record.
In the present embodiment, api test result is exported with daily record form the most at last, further, the day of output
Will can be pushed with lettergram mode.
Further, in one embodiment, as shown in figure 4, sending use-case using the api previously generating
The step of template generation test case includes:
Step 402, reads api basis use-case template script.
Previously generate the basic use-case template of each api, according to the basic use-case template generation api of each api
Basic use-case template script.
Specifically, in one embodiment, the process generating api basis use-case template script is: it is fixed to obtain
The base class of the good api test case of justice, including use-case Back ground Information and use-case execution sequence;According to described base
Class generates the basic use-case template of each api, generates api basis use-case template script.
In the present embodiment, use-case Back ground Information includes api title and api description information etc., and use-case execution is suitable
Sequence includes initialization, execution, result inspection data reduction etc. that is to say, that having pre-defined needs
The api title of test and api description information, and execution api test case when need to carry out initializing,
Execution api calls and result that api is called carries out checking and finally carry out data convert this is a series of
Process, these are all defined by the base class of api test case.With lua used in game application
As a example script, as shown in figure 5, being the use-case class figure of api basis use-case template, defining all api and surveying
The base class of example on probation is apichecktask, realizes api test case by script generateframe.lua
The framework (apichecktase_api_createectypeinstance of class in figure as shown in Figure 5) of template.
Step 404, obtains the definition description information of the api that application program provides, according to described definition description letter
Breath generates test case.
In the present embodiment, read api foundation forms script, obtain the untapped api of application program definition
List, from the definition description information wherein obtaining api, with the entitled filename of api and according to definition description
Information generates the corresponding test case of api.
Step 406, changes corresponding parameter and the definition of corresponding function of described test case according to scene.
In the present embodiment, for different scenes it is only necessary to the modification corresponding parameter of test case is with accordingly
Function definition can generate the test case of the api for different scenes that is to say, that it is only necessary to changing pin
Fraction code in this just can generate the test case of different scenes, thus improve the effect of api test
Rate.
Further, because an application program can provide the api quantity called very many, therefore, how
The api interface that quick obtaining application program provides is a problem needing to solve.In one embodiment,
The process obtaining api interface is: calls default registration function, parses pattern match according to Function Format
Api interface name and corresponding function performance definition realize, wherein, api interface is defined as calling
Described registration function.
In the present embodiment, application program defines api interface interchange system function i.e. to registration function, calls
Registration function can parse the api interface name of pattern match and corresponding function performance according to Function Format
Definition is realized.So that game application provides api for lua script as a example, the function being called by lua script is all
There is consolidation form: typedef int (* lua_cfuction) (lua_state*l), this function accepts single parameter
Lua_state, the number of output return value.Registration function is: void lua_register (lua_state*l, const
char*name,lua_cfunction f);Function f is arranged in global variable name, real by macrodefinition
Existing: #define lua_register (l, n, f) (lua_pushcfunction (l, (f)), lua_setglobal (l, (n)), wherein,
Char*name is lua script api interface function title to be called, and lua_cfuction f is the letter in function
Several, i.e. the definition of function performance is realized.As shown in fig. 6, showing the api getting by said method
The list of interface, wherein, is api interface name before space, is lua_cfunction function behind space.
Further, except the correctness of api being verified (referring to flow process shown in Fig. 1 and Fig. 3)
Outward, also the performance of api can be verified.As shown in fig. 7, in one embodiment, api is carried out
The process of performance verification includes:
Step 702, the order of calling according to api executes to the test case execution poll of each api, and
Open performance monitoring in the process of implementation.
The test case of each api in the present embodiment, is executed according to the circular order defined in test frame,
For example according to api1- > api2- > api2- > api2- > api3- > api3 .... order executing, according to configuration literary composition
Wrap count defined in part is carrying out n poll of each api test case, and opens in the process of implementation
Open performance monitoring, for example, internal storage data, uplink traffic, downlink traffic, hard disk time etc. are monitored.
It is appreciated that the process that api is carried out with performance verification can surveyed using api basis use-case template generation
Carry out after the step of example on probation it is also possible to carry out after the correctness to api is verified.
Step 704, obtains performance data and abnormal corresponding time point.
In the present embodiment, open performance monitoring in the process of implementation, the performance data monitoring can pass through interface
Shown, when finding that a certain data abnormal, obtained its corresponding time point.As shown in figure 8,
Divide internal memory to increase in 8:09 not discharging, then abnormal time point occurs and divides for 8:09.
Step 706, obtains the corresponding multiple test cases of api in time point execution.
In the present embodiment, the test case of execution api can export api execution journal, abnormal according to appearance
Time point searches multiple test cases of the api of corresponding time point execution.As shown in figure 9, frame selects part
The test case of the api of time corresponding execution is abnormal test case.
Multiple test cases are carried out applied voltage test by step 708, determine make performance occur abnormal api and its
Parameter is transmitted.
In the present embodiment, that the time point due to exception according to performance data obtains is the many of appearance exception
Individual test case, needs to carry out applied voltage test again to these test cases, makes performance exception to find out
Certain test case.
Specifically, in one embodiment, as shown in Figure 10, the plurality of test case is carried out with pressurization to survey
Examination, determines that the api making performance exception and its step of parameter transmission include:
Step 1002, executes multiple test cases repeatedly, and carries out performance data monitoring in the process of implementation.
In the present embodiment, repeatedly execute multiple test cases, the performance data monitoring in the process of implementation is also led to
Cross interface to be shown, as shown in figure 11 it is shown that the internal storage data monitoring in the process of implementation.
Step 1004, obtains performance data and abnormal corresponding time point.
Step 1006, obtains the corresponding test case of api in time point execution, determines and makes performance appearance different
Normal api and parameter transmission.
Specifically, the performance data of monitoring and api scene daily record can be associated.In one embodiment,
Step 1004 specifically includes: the performance data of display monitoring to graphically;When cursor position is in performance data
When abnormal position, the abnormal test performed by the corresponding time point in position in reading performance data
The title of use-case, and shown;Wherein, the time is passed through in performance data monitoring daily record and api scene daily record
Point is associated.
So-called api scene daily record, refers to the daily record of api execution under certain scene.In the present embodiment, will
Api scene daily record and performance data record are associated so that supporting to read in performance data display interface
Api function name in api scene daily record.As shown in figure 11, rise violently when pointing to internal storage data using mouse
The api function name of corresponding time point during flex point, can be directly displayed in interface, that is, the test of api is used
Example.As such, it is possible to more intuitively find to make performance that abnormal test case to occur, without comparison two
Individual data logging is checked, improves the efficiency of test.
In the present embodiment, performance verification is carried out to api, makes performance that abnormal module to occur such that it is able to find out,
Applied voltage test is carried out to the module that there is performance issue, such that it is able to find out the use-case pin of the api going wrong
This, be analyzed with case script to api, can find out particular problem, thus changing the use-case pin of api
This.So that api test is more comprehensive, by being repaired with case script to the api that exception occurs,
So as to improve api.Illustrate, for example, for a certain game application in running, right
Game application is supplied to the api that lua script calls and is tested, and finds calling the api creating a Copy
When memory overflow occurs, then can successively each copy be circulated establishment check, be finally accurately positioned
There is memory overflow when creating some copy.
As shown in figure 12, in one embodiment, there is provided a kind of api test system, described system includes:
Load-on module 1202, for loading entrance script, loading configuration file, shared function library and framework mould
Block.
Use-case initialization module 1204, for being used using the api basis use-case template generation test previously generating
Example.
Use-case performing module 1206, obtains api test result for implementation of test cases.
Result output module 1208, for exporting described api test result with daily record form.
In one embodiment, use-case initialization module 1204 is used for reading api basis use-case template script;
Obtain the definition description information of the api that application program provides, test is generated according to described definition description information and uses
Example;Change corresponding parameter and the definition of related function of test case according to scene.
In one embodiment, as shown in figure 13, api test system also includes:
Use-case template generation module 1203, tests the base class of user, including use for obtaining the api defining
Example Back ground Information and use-case execution sequence;Generate the basic use-case template of each api according to described base class, raw
Become api basis use-case template script.
In one embodiment, api test system also includes:
Api interface acquisition module 1201, is used for calling default registration function, parses according to Function Format
The definition of the api interface name of pattern match and corresponding function performance is realized, and wherein, api interface is determined
Justice is for calling described registration function.
In one embodiment, as shown in figure 15, api test system also includes:
Performance test module 1205, is carried out to the test case of each api for the order of calling according to api
Poll executes, and opens performance monitoring in the process of implementation;Obtain performance data and the abnormal corresponding time occurs
Point;Obtain the corresponding multiple test cases of api in the execution of described time point;To the plurality of test case
Carry out applied voltage test, determine and make performance that abnormal api and its parameter transmission to occur.
Further, in one embodiment, performance test module 1205 is used for repeatedly executing the plurality of survey
Example on probation, and carry out the monitoring of performance data in implementation procedure;When acquisition performance data abnormal corresponding
Between point;Obtain the corresponding test case of api in the execution of described time point, determine and make performance that exception to occur
Api and its parameter transmission.
Further, in one embodiment, performance test module 1205 is used for display monitoring to graphically
Performance data;When cursor position abnormal position in performance data, read in described performance data
The title of the abnormal test case performed by the corresponding time point in position occurs, and is shown;Wherein,
Performance data monitoring daily record is associated by time point with api scene daily record.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method,
Can be by computer program to complete come the hardware to instruct correlation, described program can be stored in a computer
In read/write memory medium, such as in the embodiment of the present invention, the storage that this program can be stored in computer system is situated between
In matter, and by least one of this computer system computing device, to realize including as above-mentioned each method
Embodiment flow process.Wherein, described storage medium can be magnetic disc, CD, read-only memory
(read-only memory, rom) or random access memory (random access memory, ram)
Deng.
Each technical characteristic of embodiment described above can arbitrarily be combined, for making description succinct, not right
The all possible combination of each technical characteristic in above-described embodiment is all described, as long as however, these skills
There is not contradiction in the combination of art feature, be all considered to be the scope of this specification record.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed,
But can not therefore be construed as limiting the scope of the patent.It should be pointed out that for this area
For those of ordinary skill, without departing from the inventive concept of the premise, can also make and some deform and change
Enter, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended power
Profit requires to be defined.
Claims (14)
1. a kind of api method of testing, the method comprising the steps of:
Load entrance script;
Loading configuration file, shared function library and frame module;
Using the api basis use-case template generation test case previously generating;
Execute described test case and obtain api test result;
Described api test result is exported with daily record form.
2. api method of testing according to claim 1 it is characterised in that described using previously generating
Api basis use-case template generation test case step include:
Read api basis use-case template script;
Obtain the definition description information of the api that application program provides, survey is generated according to the described description information that defines
Example on probation;
Change corresponding parameter and the definition of related function of described test case according to scene.
3. api method of testing according to claim 2 is it is characterised in that load entrance pin described
Before this step, also include:
Obtain the base class that the api defining tests user, including use-case Back ground Information and use-case execution sequence;
Generate the basic use-case template of each api according to described base class, generate described api basis use-case template
Script.
4. api method of testing according to claim 1 is it is characterised in that load entrance pin described
Before this step, also include:
Call default registration function, parse the api interface name of pattern match and right according to Function Format
The definition of the function performance answered is realized, and wherein, api interface is defined as calling described registration function.
5. api method of testing according to claim 1 is it is characterised in that using previously generating
After the step of api basis use-case template generation test case, also include:
Order of calling according to api is polled executing to the test case of each api, and in implementation procedure
Middle unlatching performance monitoring;
Obtain performance data and abnormal corresponding time point occurs;
Obtain the corresponding multiple test cases of api in the execution of described time point;
The plurality of test case is carried out with applied voltage test, determines and make performance that abnormal api and its parameter to occur
Transmission.
6. api method of testing according to claim 5 it is characterised in that described to the plurality of survey
Example on probation carries out applied voltage test, determines that the api making performance exception and its step of parameter transmission include:
Repeatedly execute the plurality of test case, and carry out the monitoring of performance data in implementation procedure;
Obtain performance data and abnormal corresponding time point occurs;
Obtain the corresponding test case of api in the execution of described time point, determine and make performance that abnormal api to occur
And its parameter transmission.
7. api method of testing according to claim 6 is it is characterised in that described acquisition is when described
Between put execution the step of the corresponding test case of api include:
The performance data of display monitoring to graphically;
When cursor position abnormal position in performance data, read and occur extremely in described performance data
The test case performed by the corresponding time point in position title, and shown;
Wherein, performance data monitoring daily record is associated by time point with api scene daily record.
8. a kind of api test system is it is characterised in that described system includes:
Load-on module, for loading entrance script, loading configuration file, shared function library and frame module;
Use-case initialization module, for using the api basis use-case template generation test case previously generating;
Use-case performing module, obtains api test result for executing described test case;
Result output module, for exporting described api test result with daily record form.
9. system according to claim 8 is it is characterised in that described use-case initialization module is used for reading
Take api basis use-case template script;Obtain the definition description information of the api that application program provides, according to institute
State and define description information generation test case;Change corresponding parameter and the correlation of described test case according to scene
Function definition.
10. system according to claim 9 is it is characterised in that described system also includes:
Use-case template generation module, tests the base class of user, including use-case base for obtaining the api defining
Plinth information and use-case execution sequence;Generate the basic use-case template of each api according to described base class, generate institute
State api basis use-case template script.
11. systems according to claim 8 are it is characterised in that described system also includes:
Api interface acquisition module, is used for calling default registration function, parses exit pattern according to Function Format
The api interface name joined and the definition of corresponding function performance are realized, and wherein, api interface is defined as adjusting
Use described registration function.
12. systems according to claim 8 are it is characterised in that described system also includes:
Performance test module, is polled to the test case of each api for the order of calling according to api
Execution, and open performance monitoring in the process of implementation;Obtain performance data and abnormal corresponding time point occurs;
Obtain the corresponding multiple test cases of api in the execution of described time point;The plurality of test case is carried out
Applied voltage test, determines and makes performance abnormal api and its parameter transmission.
13. systems according to claim 12 are it is characterised in that described performance test module is used for instead
Execute the plurality of test case again, and carry out the monitoring of performance data in implementation procedure;Obtain performance data
Abnormal corresponding time point occurs;Obtain the corresponding test case of api in the execution of described time point, determine
Make performance that abnormal api and its parameter transmission to occur.
14. systems according to claim 13 it is characterised in that described performance test module be used for
The performance data of graphics mode display monitoring;When cursor position abnormal position in performance data, read
It is taken at the title that the abnormal test case performed by the corresponding time point in position in described performance data, and
Shown;Wherein, performance data monitoring daily record is associated by time point with api scene daily record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510422832.7A CN106339312B (en) | 2015-07-17 | 2015-07-17 | API test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510422832.7A CN106339312B (en) | 2015-07-17 | 2015-07-17 | API test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339312A true CN106339312A (en) | 2017-01-18 |
CN106339312B CN106339312B (en) | 2021-01-12 |
Family
ID=57826839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510422832.7A Active CN106339312B (en) | 2015-07-17 | 2015-07-17 | API test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339312B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124335A (en) * | 2017-06-30 | 2017-09-01 | 郑州云海信息技术有限公司 | One kind is based on cloud sea operating system platform test method and system |
CN107247660A (en) * | 2017-05-05 | 2017-10-13 | 北京奇虎科技有限公司 | The method of testing and test device of a kind of interface |
CN107402884A (en) * | 2017-07-31 | 2017-11-28 | 深圳乐信软件技术有限公司 | Generate the method and device of interface testing code |
CN107766101A (en) * | 2017-09-30 | 2018-03-06 | 五八有限公司 | App starts processing method, device and the equipment of event |
CN107797898A (en) * | 2017-09-28 | 2018-03-13 | 东软集团股份有限公司 | Collecting method and its device |
CN107861864A (en) * | 2017-08-25 | 2018-03-30 | 平安普惠企业管理有限公司 | Automated testing method, system and computer-readable recording medium |
CN108572898A (en) * | 2017-03-07 | 2018-09-25 | 北京京东尚科信息技术有限公司 | A kind of method, apparatus of control interface, equipment and storage medium |
CN108628738A (en) * | 2018-01-11 | 2018-10-09 | 百富计算机技术(深圳)有限公司 | The generation method and device of application programming interface test case |
CN108664384A (en) * | 2017-03-29 | 2018-10-16 | 富士通株式会社 | Data processing equipment and data processing method |
CN109344063A (en) * | 2018-09-26 | 2019-02-15 | 深圳竹云科技有限公司 | A kind of automated testing method of api interface |
CN110232018A (en) * | 2019-05-17 | 2019-09-13 | 浙江数链科技有限公司 | Interface test method, device, computer equipment |
CN110955593A (en) * | 2019-10-28 | 2020-04-03 | 北京三快在线科技有限公司 | Client test method and device, electronic equipment and readable storage medium |
CN112783769A (en) * | 2021-01-19 | 2021-05-11 | 深圳市莫廷影像技术有限公司 | Self-defined automatic software testing method |
CN113297063A (en) * | 2020-06-05 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Use case generation method and device, server and storage medium |
CN113495829A (en) * | 2020-03-20 | 2021-10-12 | 北京海致星图科技有限公司 | Automatic interface testing method and system |
CN113518015A (en) * | 2021-04-08 | 2021-10-19 | 重庆长安汽车股份有限公司 | Automatic realization method based on vehicle machine CAN network signal test |
CN108415829B (en) * | 2018-02-02 | 2022-02-01 | 福建天晴数码有限公司 | Method and terminal for detecting time consumed by loading module |
WO2022179363A1 (en) * | 2021-02-26 | 2022-09-01 | 华为云计算技术有限公司 | Application programming interface (api) testing method and device |
CN115656792A (en) * | 2022-12-29 | 2023-01-31 | 摩尔线程智能科技(北京)有限责任公司 | Test method and test platform for chip testability design |
CN115684895A (en) * | 2022-12-29 | 2023-02-03 | 摩尔线程智能科技(北京)有限责任公司 | Chip testability design test method, test platform, and generation method and device thereof |
CN117724989A (en) * | 2024-02-18 | 2024-03-19 | 粤港澳大湾区数字经济研究院(福田) | Regression testing method and device for interface, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212362A (en) * | 2006-12-26 | 2008-07-02 | 中兴通讯股份有限公司 | Automatic testing device and method incorporating a variety of testing tools |
US20080184206A1 (en) * | 2007-01-31 | 2008-07-31 | Oracle International Corporation | Computer-implemented methods and systems for generating software testing documentation and test results management system using same |
CN104123227A (en) * | 2014-08-13 | 2014-10-29 | 广东电网公司信息中心 | Method for automatically generating testing cases |
CN104598776A (en) * | 2013-10-31 | 2015-05-06 | 深圳市腾讯计算机系统有限公司 | Method and device for testing software |
-
2015
- 2015-07-17 CN CN201510422832.7A patent/CN106339312B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101212362A (en) * | 2006-12-26 | 2008-07-02 | 中兴通讯股份有限公司 | Automatic testing device and method incorporating a variety of testing tools |
US20080184206A1 (en) * | 2007-01-31 | 2008-07-31 | Oracle International Corporation | Computer-implemented methods and systems for generating software testing documentation and test results management system using same |
CN104598776A (en) * | 2013-10-31 | 2015-05-06 | 深圳市腾讯计算机系统有限公司 | Method and device for testing software |
CN104123227A (en) * | 2014-08-13 | 2014-10-29 | 广东电网公司信息中心 | Method for automatically generating testing cases |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108572898B (en) * | 2017-03-07 | 2021-11-02 | 北京京东尚科信息技术有限公司 | Method, device, equipment and storage medium for controlling interface |
CN108572898A (en) * | 2017-03-07 | 2018-09-25 | 北京京东尚科信息技术有限公司 | A kind of method, apparatus of control interface, equipment and storage medium |
CN108664384B (en) * | 2017-03-29 | 2021-05-07 | 富士通株式会社 | Data processing apparatus and data processing method |
CN108664384A (en) * | 2017-03-29 | 2018-10-16 | 富士通株式会社 | Data processing equipment and data processing method |
CN107247660A (en) * | 2017-05-05 | 2017-10-13 | 北京奇虎科技有限公司 | The method of testing and test device of a kind of interface |
CN107124335A (en) * | 2017-06-30 | 2017-09-01 | 郑州云海信息技术有限公司 | One kind is based on cloud sea operating system platform test method and system |
CN107402884A (en) * | 2017-07-31 | 2017-11-28 | 深圳乐信软件技术有限公司 | Generate the method and device of interface testing code |
CN107861864A (en) * | 2017-08-25 | 2018-03-30 | 平安普惠企业管理有限公司 | Automated testing method, system and computer-readable recording medium |
CN107797898B (en) * | 2017-09-28 | 2020-11-27 | 东软集团股份有限公司 | Data acquisition method and device thereof |
CN107797898A (en) * | 2017-09-28 | 2018-03-13 | 东软集团股份有限公司 | Collecting method and its device |
CN107766101A (en) * | 2017-09-30 | 2018-03-06 | 五八有限公司 | App starts processing method, device and the equipment of event |
CN108628738A (en) * | 2018-01-11 | 2018-10-09 | 百富计算机技术(深圳)有限公司 | The generation method and device of application programming interface test case |
CN108415829B (en) * | 2018-02-02 | 2022-02-01 | 福建天晴数码有限公司 | Method and terminal for detecting time consumed by loading module |
CN109344063A (en) * | 2018-09-26 | 2019-02-15 | 深圳竹云科技有限公司 | A kind of automated testing method of api interface |
CN110232018A (en) * | 2019-05-17 | 2019-09-13 | 浙江数链科技有限公司 | Interface test method, device, computer equipment |
CN110955593A (en) * | 2019-10-28 | 2020-04-03 | 北京三快在线科技有限公司 | Client test method and device, electronic equipment and readable storage medium |
CN113495829A (en) * | 2020-03-20 | 2021-10-12 | 北京海致星图科技有限公司 | Automatic interface testing method and system |
CN113297063A (en) * | 2020-06-05 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Use case generation method and device, server and storage medium |
CN112783769A (en) * | 2021-01-19 | 2021-05-11 | 深圳市莫廷影像技术有限公司 | Self-defined automatic software testing method |
WO2022179363A1 (en) * | 2021-02-26 | 2022-09-01 | 华为云计算技术有限公司 | Application programming interface (api) testing method and device |
CN113518015A (en) * | 2021-04-08 | 2021-10-19 | 重庆长安汽车股份有限公司 | Automatic realization method based on vehicle machine CAN network signal test |
CN115656792A (en) * | 2022-12-29 | 2023-01-31 | 摩尔线程智能科技(北京)有限责任公司 | Test method and test platform for chip testability design |
CN115684895A (en) * | 2022-12-29 | 2023-02-03 | 摩尔线程智能科技(北京)有限责任公司 | Chip testability design test method, test platform, and generation method and device thereof |
CN115684895B (en) * | 2022-12-29 | 2023-03-21 | 摩尔线程智能科技(北京)有限责任公司 | Chip testability design test method, test platform, and generation method and device thereof |
CN117724989B (en) * | 2024-02-18 | 2024-06-11 | 粤港澳大湾区数字经济研究院(福田) | Regression testing method and device for interface, terminal and storage medium |
CN117724989A (en) * | 2024-02-18 | 2024-03-19 | 粤港澳大湾区数字经济研究院(福田) | Regression testing method and device for interface, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106339312B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106339312A (en) | API (application programming interface) testing method and system | |
US9465718B2 (en) | Filter generation for load testing managed environments | |
CN106940428B (en) | Chip verification method, device and system | |
US8214803B2 (en) | Program testing method and testing device | |
US11042471B2 (en) | System and method for providing a test manager for use with a mainframe rehosting platform | |
US20180276111A1 (en) | Mock services for software infrastructures | |
US11144434B2 (en) | Refining coverage analyses using context information | |
CN107832207A (en) | Interface performance test method, apparatus, storage medium and computer equipment | |
US20100153087A1 (en) | Techniques for generating a reusable test script for a single user performance test | |
CN106502898A (en) | Method of testing and test driver and test platform | |
CN108874649A (en) | Generation method, device and its computer equipment of automatic test script | |
CN110059002A (en) | Generation method, test equipment, storage medium and the device of test data | |
US9983965B1 (en) | Method and system for implementing virtual users for automated test and retest procedures | |
Devroey et al. | JUGE: An infrastructure for benchmarking Java unit test generators | |
CN110597728A (en) | Method, device and system for constructing test data | |
Emmert | Method for improving design testability through modeling | |
CN114676066A (en) | Security testing method and device for target application, electronic equipment and storage medium | |
CN115168840A (en) | Fault injection method and device and computer readable storage medium | |
Průcha | Aspect optimalization of robotic process automation | |
EP3091453A1 (en) | Designing a longevity test for a smart tv | |
CN114143235A (en) | NFV automatic test method, device, equipment and storage medium | |
Ruiz et al. | Secure engineering and modelling of a metering devices system | |
Gois et al. | Improving stress search based testing using a hybrid metaheuristic approach | |
Majeed et al. | Model-based replay testing for event-driven software | |
CN115982055B (en) | Test method special for java language development program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |