CN106528393A - Method and device for Mock testing of WebService - Google Patents
Method and device for Mock testing of WebService Download PDFInfo
- Publication number
- CN106528393A CN106528393A CN201510570231.0A CN201510570231A CN106528393A CN 106528393 A CN106528393 A CN 106528393A CN 201510570231 A CN201510570231 A CN 201510570231A CN 106528393 A CN106528393 A CN 106528393A
- Authority
- CN
- China
- Prior art keywords
- parameter
- input
- mock
- output
- parameter group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method and a device for Mock testing of WebService. Through the method and the device, Mock testing can be performed easily and precisely with high performance. Mock testing can be realized just according to obtained parameter information of a WebService interface. The method is flexible and convenient to implement, and true black box Mock testing is done. The method for Mock testing of WebService comprises the steps that input parameters and output parameters to be subjected to Mock testing are generated; sets of the input parameters and the output parameters are saved into a database in the form of parameter sets; input content of a Mock testing request sent by a calling system is analyzed, and a text document is generated; the text document is compared and matched with the input parameters in all the parameter sets stored in the database sequentially; if matching succeeds, the output parameters in the parameter sets are output, or else an error message is output.
Description
Technical field
The present invention relates to computer software testing technical field, particularly a kind of
The method and device of the Mock tests of WebService.
Background technology
Software test is referred to, with discovery procedure mistake,
Software quality is weighed, and whether the process that design requirement is estimated can be met to which.Surveying
When examination, be frequently encountered many tested programs depend on outside web Service interface with
Test environment and parameter etc. is provided, the web Service interface of dependence is not in the test of tested program
In category, simply certain execution step of tested program needs to call the WebService of outside
Interface obtains data.However, many times the program belonging to external web Service interface is not
It is available or unstable, need test many times, can just obtain definite result.And due to
The performance issue of WebService servers, can cause the testing time very long.At this moment need to utilize
The Mock of web Service interface simulates (virtual some special objects are to test), reaches
To the same effect for obtaining web Service interface.
The Mock method of testings of existing WebService are to need summation function reality according to interface
It is existing, a false web Service interface is write, and realizes that Mock tests are needed in the interface
The parameter wanted and return value, then call the WebService of the vacation of generation to connect in tested program
The existing Mock tests of cause for gossip.
But, existing technical scheme implements more inconvenience, is mainly manifested in:
1st, need to realize the interface function of whole WebService, write the WebService of vacation
Need substantial amounts of code during interface, at the same need issue webservice in web server;
2nd, stronger coding technical ability and substantial amounts of time are needed to the personnel of Mock tests, is needed
Webservice service end realization mechanisms under the different development platforms of understanding etc.;
3rd, need to change existing code when interface changes, maintenance workload is big, easily goes out
It is wrong.
Accordingly, it would be desirable to a kind of Mock tests for realizing the simple, WebService of program light weight
Method and system.
The content of the invention
In view of this, the present invention provides a kind of method and the dress of the Mock tests of WebService
Put, can simply, precisely, Mock tests be carried out to WebService high-performance.Mock
Tester need not grasp any coding technical ability, test content also with the path of WebService without
Close, Mock tests, side are capable of achieving according to the parameter information of the web Service interface for obtaining
Method is flexible, it is convenient to realize, has accomplished real black box Mock tests.
For achieving the above object, according to an aspect of the invention, there is provided a kind of WebService
Mock test method.
A kind of method of the Mock tests of WebService includes:Mock tests are treated in generation
Input and output parameter;By the set of the input and output parameter with parameter group
Form is saved in data base;In the input of the Mock test request sent by parsing calling system
Hold and generate text document;The each parameter group that will be stored in the text document and the data base
In |input paramete be compared matching successively;If the match is successful, export in the parameter group
Output parameter, otherwise, output error message.
Alternatively, generate the step for the treatment of the input and output parameter of Mock tests further
Including:Real Webservice interfaces are analyzed, to obtain parameter information;And will be obtained
Parameter information be substituted for treat Mock test input and output parameter.
Alternatively, each parameter group includes one or more |input parametes and an output parameter.
Alternatively, by the set of the input and output parameter for treating Mock tests to join
The step that the form of array is saved in data base includes:By the |input paramete in a document
Used as key name, value in a document is used as key assignments, and parameter group sequence number is saved in number together for position
According in storehouse;Output parameter corresponding with the |input paramete is saved in together with parameter group sequence number
In data base.
Alternatively, parse the step of the input content of the Mock test request sent by calling system
Before rapid, also include:The address for changing the calling system transmission Mock test request is described
The Mock test systems of WebService.
Alternatively, it is defeated in each parameter group that will be stored in the text document and the data base
Entering the step of parameter is compared matching successively includes:Sort successively by the parameter group in data base
Obtain the |input paramete of each parameter group;By all inputs of the text document and each parameter group
The key name and key assignments of parameter is compared matching respectively.
According to a further aspect in the invention, there is provided a kind of Mock tests of WebService
Device.
A kind of device of the Mock tests of WebService includes:Parameter generation module, is used for
The input and output parameter of Mock tests is treated in generation;Parameter preserving module, for will be described
The set of input and output parameter is saved in data base in the form of parameter group;Please solve
Analysis module, for parsing the input content of the Mock test request sent by calling system and generating
Text document;Comparison match module, for will store in the text document and the data base
Each parameter group in |input paramete be compared matching successively;As a result output module, for such as
The match is successful for fruit, exports the output parameter in the parameter group, otherwise, output error message.
Alternatively, the parameter generation module is additionally operable to:Real Webservice interfaces are analyzed,
To obtain parameter information;And the parameter information for being obtained is substituted for the input for treating Mock tests
Parameter and output parameter.
Alternatively, each parameter group includes one or more |input parametes and an output parameter.
Alternatively, the parameter preserving module is additionally operable to:By the |input paramete in a document
Used as key name, value in a document is used as key assignments, and parameter group sequence number is saved in number together for position
According in storehouse;Output parameter corresponding with the |input paramete is saved in together with parameter group sequence number
In data base.
Alternatively, the Mock tests sent in parsing calling system by the request analysis module
Before the input content of request, it is additionally operable to:Change the calling system and send Mock test request
Address be the WebService Mock test systems.
Alternatively, the comparison match module is additionally operable to:By in data base parameter group sequence according to
The secondary |input paramete for obtaining each parameter group;The text document is all defeated with each parameter group
The key name and key assignments for entering parameter is compared matching respectively.
Technology according to the present invention scheme, is obtained by will analyze real web Service interface
Parameter be substituted for the parameter for the treatment of Mock tests and preserve, then the input with Mock test request
Content is compared matching, you can realize simple, precisely, high-performance WebService is entered
Row Mock is tested.Mock testers need not grasp any coding technical ability, test content also with
The path of WebService is unrelated, according to the parameter information of the web Service interface for obtaining
Realize that Mock is tested, method is flexible, it is convenient to realize, accomplished real black box Mock tests.
Description of the drawings
Accompanying drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is a kind of method of the Mock tests of WebService according to embodiments of the present invention
Key step schematic diagram;
Fig. 2 is a kind of method of the Mock tests of WebService according to embodiments of the present invention
Flowchart;
Fig. 3 is a kind of device of the Mock tests of WebService according to embodiments of the present invention
Main modular schematic diagram.
Specific embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including this
They should be thought only exemplary to help understanding by the various details of bright embodiment.
Therefore, it will be appreciated by those of ordinary skill in the art that, the embodiments described herein can be done
Go out various changes and modifications, without departing from scope and spirit of the present invention.Equally, in order to clear
Chu eliminates the description to known function and structure with concisely in description below.
Fig. 1 is a kind of method of the Mock tests of WebService according to embodiments of the present invention
Key step schematic diagram.As shown in figure 1, a kind of Mock of WebService of the present invention
The method of test mainly includes steps S11 to step S15.
Step S11:The input and output parameter of Mock tests is treated in generation.Step S11
Can perform according to following order:
Step S111:Real Webservice interfaces are analyzed, to obtain parameter information;And
Step S112:The parameter information for being obtained is substituted for the |input paramete for treating Mock tests
And output parameter.
It is analyzed by the summation function that needs to real web Service interface, is input into
Then the parameter information for obtaining, is carried out by the parameter information such as parameter and output parameter as needed
By rule replacement, to generate controllable, exercisable data.For example, ordering for electric business website
When single system is tested, it is impossible to select account and password of the real user for obtaining etc. to carry out
Lower single act, then be now accomplished by for the parameter information of real user being substituted for test parameter;Again
Such as, when needing to carry out behavior validation test, identifying code can be sent on the mobile phone of user,
Now it is accomplished by for the phone number of user being substituted for the phone number of tester to test.
Step S12:The set of the input and output parameter is protected in the form of parameter group
It is stored in data base.As described in step S11, the |input paramete of Mock and output ginseng are treated in generation
After number, need to be preserved the parameter to be tested for generating in the form of parameter group.Now, often
One or more |input paramete and an output parameter can be included in individual parameter group.For example, exist
When carrying out login authentication and testing, the parameter of input can be " user name " and " password " two
Parameter, output parameter are " logining successfully " or " login failure " parameters.
By it is described treat Mock test input and output parameter set with parameter group
When form is saved in data base, can carry out according to the steps.
Step S121:Using |input paramete position in a document as key name, in a document
Value as key assignments, and parameter group sequence number is saved in data base together.In the enforcement of the present invention
In example, the input and output parameter for treating Mock tests for generating is stored in into XML document
In to modify and to store.By in XML document each parameter group treat Mock test it is defeated
Enter parameter sets, position (is stated using Xpath in the position with each parameter in XML document
Put) as key name Key, value of each parameter in XML document as key assignments value, according to
It is secondary to be stored in data base.Meanwhile, parameter group ID of the |input paramete set is also corresponded to and is stored in number
According in storehouse.The method that the embodiment of the present invention is parsed by using the xpath of XML document, you can
Realize the accurate matching of |input paramete.
Step S122:Will output parameter corresponding with the |input paramete together with parameter group sequence number
It is saved in data base.Thus, each parameter group sequence number just correspond to one group of |input paramete and one
Group output parameter.
Step S13:The input content of the Mock test request sent by parsing calling system is simultaneously raw
Into text document.After execution of step S11 and step S12, you can proceed by Mock
Test.First, it is that Mock test request is sent by calling system, then, is tested by Mock
The Mock test request sent by system analysis calling system.Adjust in the parsing of Mock test systems
Before the input content of the Mock test request sent with system, in addition it is also necessary to call described in modification
System sends the Mock test systems that the address of Mock test request is the WebService.
Afterwards, the result of parsing is generated text document and is shown by Mock test systems.In the present invention
Embodiment in illustrate by taking XML document as an example.
Step S14:In each parameter group that will be stored in the text document and the data base
|input paramete is compared matching successively.When matching is compared, can be according to following step
Suddenly carry out:
Step S141:The input ginseng of each parameter group is obtained successively by the parameter group sequence in data base
Number;
Step S142:By the text document and the key name of all |input parametes of each parameter group
Matching is compared respectively with key assignments.
Step S15:If the match is successful, the output parameter in the parameter group is exported, otherwise,
Output error message.If all |input parametes of the text document and wherein certain parameter group
Key name and key assignments it is all equal, then it is assumed that this article this document is matched with the |input paramete of the parameter group
Success, the output parameter preserved in exporting the parameter group, otherwise it is assumed that the match is successful, it is defeated
Error false information.
Fig. 2 is a kind of method of the Mock tests of WebService according to embodiments of the present invention
Flowchart.The detailed implementation process of the present invention is introduced hereinafter with reference to Fig. 2.Such as
Shown in Fig. 2, it is to analyze web Service interface first, the information that gets parms (step S201),
According to demand and the functional realiey of real web Service interface, |input paramete and output is obtained
The parameter informations such as parameter, and generate XML document.Afterwards, according to data are controllable, operable original
Then the parameter information to obtaining is processed, and is substituted for the parameter (step for treating Mock tests
S202).Then by treating in XML document, Mock tests |input paramete set, with each ginseng
, used as key name key, each parameter value in a document is used as key for number position Xpath in a document
The parameter for treating Mock tests is stored in data base (step S203) by value value successively,
Meanwhile, the parameter group sequence number of this group of parameter is also stored in data base.
When proceeding by Mock tests, first modification arranges the ground that calling system sends test request
Mock test systems are pointed in location, then send Mock test request by calling system, now,
Mock test systems can parse Mock test request, and obtain input content (step S204),
Preserved in the form of an xml document.Afterwards, input content is joined with the input in data base
Number is compared whether (step S205) is run correctly with test program.
During |input paramete comparison match in input content and data base is carried out, will be according to data
Parameter group sequence in storehouse, obtains all |input parametes in each parameter group successively to be compared
Compared with last output result.Specific implementation procedure is as follows:
Step S206:The |input paramete in parameter current group is obtained successively;
Step S207:Judge whether key is identical, if key is identical, execution step S208,
Otherwise execution step S211;
Step S208:Judge whether corresponding value is identical, if value is identical, perform step
Rapid S209, otherwise execution step S211;
Step S209:Judge whether to obtain all |input parametes of parameter current group, if
Obtain, then execution step S210, otherwise execution step S206;
Step S210:The match is successful, exports the output parameter of the parameter group;
Step S211:Judge whether to obtain the |input paramete of whole parameter group, if it is,
Execution step S213, otherwise execution step S212, and start re-circulation from step S206 and hold
OK;
Step S212:Obtain the |input paramete of next parameter group;
Step S213:Output error message.
Through above-mentioned step S206 to step S213, you can what calling system was sent by realization
Mock test request is compared with the |input paramete in data base and is matched, and exports corresponding knot
Really.
Fig. 3 is a kind of device of the Mock tests of WebService according to embodiments of the present invention
Main modular schematic diagram.As shown in figure 3, the Mock tests of the WebService of the present invention
Device 30 mainly include parameter generation module 31, parameter preserving module 32, request analysis mould
Block 33, comparison match module 34 and result output module 35.
Parameter generation module 31 treats the input and output parameter of Mock tests for generating;
Parameter preserving module 32 for by the set of the input and output parameter with the shape of parameter group
Formula is saved in data base;Request analysis module 33 is used for parsing the Mock sent by calling system
The input content of test request simultaneously generates text document;Comparison match module 34 is for by the text
|input paramete in each parameter group stored in this document and the data base is compared successively
Match somebody with somebody;If as a result output module 35 is used for the output ginseng that the match is successful, in the output parameter group
Number, otherwise, output error message.
Parameter generation module 31 can be also used for analyzing real Webservice interfaces, to obtain
Obtain parameter information;And the parameter information for being obtained is substituted for the |input paramete for treating Mock tests
And output parameter.
According to the concrete condition for using, each parameter group in the embodiment of the present invention can include one
Individual or multiple |input parametes and an output parameter.
Parameter preserving module 32 can be also used for the position by the |input paramete in a document and make
For key name, value in a document is used as key assignments, and parameter group sequence number is saved in data base together;
Output parameter corresponding with the |input paramete is saved in into data base together with parameter group sequence number
In.
The input of the Mock test request sent in parsing calling system by request analysis module 33
Before content, the address that can be also used for changing the calling system transmission Mock test request is
The Mock test systems of the WebService.
Comparison match module 34 can be also used for being obtained by the parameter group sequence in data base successively
The |input paramete of each parameter group;By the text document and all |input parametes of each parameter group
Key name and key assignments be compared matching respectively.
Technical scheme according to embodiments of the present invention, is connect by will analyze real WebService
The parameter that obtains of mouth is substituted for be treated Mock test parameters and preserves, then with Mock test request
Input content is compared matching, you can realize simple, accurate, high-performance ground to WebService
Carry out Mock tests.
Using technical scheme, Mock testers are not required to any coding skill of GPRS
Can, without the implementation method for understanding Mock test interfaces, it is only necessary to take correct
The request post data of webservice interfaces are capable of achieving Mock tests.And test in Mock
The address submitted to without the concern for disparity items webservice post during execution, i.e., with url addresses
With pass, it is only relevant with post contents, more flexible configuration can be accomplished.Due to based on XML
The matching of data item and data content is realized in parsing, can accomplish accurate Mock tests, different item
It is as long as data are different when mesh calls same interface, as a result i.e. different, so will not influence each other.
The Mock tests based on pure HTTP of the present invention realize that its performance is far above and writes biography
The Mock test performances of the webservice interfaces of system, or even adjust far above normal non-Mock
With the performance of test.And the XML matching ways based on pure HTTP are without the concern for backstage
Webservice service end implementations, therefore accomplished real black box Mock tests.
In addition, the preservation for carrying out data with key-value forms described in the embodiment of the present invention,
Can also may be incorporated for preserving response results from other forms, such as map, json etc.
With the many-one relationship of parameter input.Join when preserving |input paramete/parameter group and exporting using Map
During number, Key of the |input paramete for Map, output parameter is Value, and whole map is preserved
In a field of data base;Map and Json freely can be changed, it is also possible to by JSON
Character string is integrally stored in a field of data base.
Similarly, when the input content to Mock test request is compared matching, also may be used
Selection is not limited to other modes of the embodiment of the present invention, for example, using text-string
With etc., the |input paramete of whole Mock test request is integrally carried out completely as a character string
Or part matching etc..
Above-mentioned specific embodiment, does not constitute limiting the scope of the invention.This area
Technical staff is it is to be understood that depending on design requirement and other factors, can occur various
The modification of various kinds, combination, sub-portfolio and replacement.It is any within the spirit and principles in the present invention
Modification, equivalent and improvement for being made etc., should be included within the scope of the present invention.
Claims (12)
1. the method that a kind of Mock of WebService is tested, it is characterised in that include:
The input and output parameter of Mock tests is treated in generation;
The set of the input and output parameter is saved in into data base in the form of parameter group
In;
The input content of the Mock test request sent by parsing calling system simultaneously generates text text
Shelves;
|input paramete in each parameter group that will be stored in the text document and the data base according to
It is secondary to be compared matching;
If the match is successful, the output parameter in the parameter group, otherwise, output error is exported
Information.
2. method according to claim 1, it is characterised in that generation treats that Mock is tested
Input and output parameter the step of further include:
Real Webservice interfaces are analyzed, to obtain parameter information;And
The parameter information for being obtained is substituted for the input and output parameter for treating Mock tests.
3. method according to claim 1, it is characterised in that each parameter group includes
Individual or multiple |input parametes and an output parameter.
4. method according to claim 1, it is characterised in that treat that Mock is surveyed by described
The set of the input and output parameter of examination is saved in the step in data base in the form of parameter group
Suddenly include:
Using |input paramete position in a document as key name, value in a document is used as key
It is worth, and parameter group sequence number is saved in data base together;
Output parameter corresponding with the |input paramete is saved in into data together with parameter group sequence number
In storehouse.
5. method according to claim 1, it is characterised in that parsing calling system is sent out
Before the step of input content of the Mock test request sent, also include:
The address for changing the calling system transmission Mock test request is the WebService
Mock test systems.
6. method according to claim 1, it is characterised in that by the text document with
The step of |input paramete in each parameter group stored in the data base is compared matching successively
Including:
The |input paramete of each parameter group is obtained successively by the parameter group sequence in data base;
Key name and key assignments of the text document with all |input parametes of each parameter group is distinguished
It is compared matching.
7. the device that a kind of Mock of WebService is tested, it is characterised in that include:
Parameter generation module, for generating the input and output parameter for treating Mock tests;
Parameter preserving module, for by the set of the input and output parameter with parameter group
Form be saved in data base;
Request analysis module, for parsing the defeated of Mock test request that calling system is sent
Enter content and generate text document;
Comparison match module, for each ginseng that will be stored in the text document and the data base
|input paramete in array is compared matching successively;
As a result output module, if for the match is successful, export the output ginseng in the parameter group
Number, otherwise, output error message.
8. device according to claim 7, it is characterised in that the parameter generation module
It is additionally operable to:
Real Webservice interfaces are analyzed, to obtain parameter information;And
The parameter information for being obtained is substituted for the input and output parameter for treating Mock tests.
9. device according to claim 7, it is characterised in that each parameter group includes
Individual or multiple |input parametes and an output parameter.
10. device according to claim 7, it is characterised in that the parameter preserves mould
Block is additionally operable to:
Using |input paramete position in a document as key name, value in a document is used as key
It is worth, and parameter group sequence number is saved in data base together;
Output parameter corresponding with the |input paramete is saved in into data together with parameter group sequence number
In storehouse.
11. devices according to claim 7, it is characterised in that the request analysis mould
Block was additionally operable to before the input content of the Mock test request sent by parsing calling system:
The address for changing the calling system transmission Mock test request is the WebService
Mock test systems.
12. devices according to claim 7, it is characterised in that the comparison match mould
Block is additionally operable to:
The |input paramete of each parameter group is obtained successively by the parameter group sequence in data base;
Key name and key assignments of the text document with all |input parametes of each parameter group is distinguished
It is compared matching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570231.0A CN106528393A (en) | 2015-09-09 | 2015-09-09 | Method and device for Mock testing of WebService |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570231.0A CN106528393A (en) | 2015-09-09 | 2015-09-09 | Method and device for Mock testing of WebService |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528393A true CN106528393A (en) | 2017-03-22 |
Family
ID=58346969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510570231.0A Pending CN106528393A (en) | 2015-09-09 | 2015-09-09 | Method and device for Mock testing of WebService |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528393A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345527A (en) * | 2017-12-29 | 2018-07-31 | 广州品唯软件有限公司 | A kind of interface enters the analysis monitoring method and system of ginseng |
CN108733554A (en) * | 2017-04-21 | 2018-11-02 | 北京京东尚科信息技术有限公司 | Mock method and apparatus |
CN108804303A (en) * | 2017-05-05 | 2018-11-13 | 北京京东尚科信息技术有限公司 | A kind of method and system that data are provided |
CN109101430A (en) * | 2018-08-24 | 2018-12-28 | 阿里巴巴集团控股有限公司 | Test method, device and equipment |
CN109634836A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Test data packaging method, device, equipment and storage medium |
CN109634837A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Automated testing method, device, equipment and storage medium |
CN109656807A (en) * | 2018-11-01 | 2019-04-19 | 平安科技(深圳)有限公司 | Interface mock test method, device, equipment and storage medium based on information security |
CN109726117A (en) * | 2018-11-15 | 2019-05-07 | 北京奇艺世纪科技有限公司 | A kind of Mock test method, device, server and electronic equipment |
CN109739656A (en) * | 2018-11-29 | 2019-05-10 | 东软集团股份有限公司 | Interface data analogy method, device, storage medium and electronic equipment |
CN110321282A (en) * | 2019-05-24 | 2019-10-11 | 深圳壹账通智能科技有限公司 | The XML configuration file amending method and system of Mock test |
WO2020024419A1 (en) * | 2018-08-03 | 2020-02-06 | 平安科技(深圳)有限公司 | Testing method for service scenario, electronic device and readable storage medium |
CN111596910A (en) * | 2020-04-20 | 2020-08-28 | 微梦创科网络科技(中国)有限公司 | Mock service platform and method |
CN111752625A (en) * | 2020-06-23 | 2020-10-09 | 京东数字科技控股有限公司 | Method and device for interface mock |
CN112181824A (en) * | 2020-09-25 | 2021-01-05 | 中国建设银行股份有限公司 | System development auxiliary platform and method |
CN112732499A (en) * | 2020-12-30 | 2021-04-30 | 广州品唯软件有限公司 | Test method and device based on micro-service architecture and computer system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070277158A1 (en) * | 2006-02-24 | 2007-11-29 | International Business Machines Corporation | Method and apparatus for testing of business processes for Web services |
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
CN103297475A (en) * | 2012-03-01 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Mock service system and processing method of Mock service |
-
2015
- 2015-09-09 CN CN201510570231.0A patent/CN106528393A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070277158A1 (en) * | 2006-02-24 | 2007-11-29 | International Business Machines Corporation | Method and apparatus for testing of business processes for Web services |
CN103150238A (en) * | 2011-12-07 | 2013-06-12 | 阿里巴巴集团控股有限公司 | Service request processing method, simulation performance test method and simulation performance test device |
CN103297475A (en) * | 2012-03-01 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Mock service system and processing method of Mock service |
Non-Patent Citations (1)
Title |
---|
柴洪峰: "《金融IT服务外包信息安全管理》", 31 January 2015 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733554A (en) * | 2017-04-21 | 2018-11-02 | 北京京东尚科信息技术有限公司 | Mock method and apparatus |
CN108804303A (en) * | 2017-05-05 | 2018-11-13 | 北京京东尚科信息技术有限公司 | A kind of method and system that data are provided |
CN108804303B (en) * | 2017-05-05 | 2022-04-12 | 北京京东尚科信息技术有限公司 | Method and system for providing data |
CN108345527A (en) * | 2017-12-29 | 2018-07-31 | 广州品唯软件有限公司 | A kind of interface enters the analysis monitoring method and system of ginseng |
WO2020024419A1 (en) * | 2018-08-03 | 2020-02-06 | 平安科技(深圳)有限公司 | Testing method for service scenario, electronic device and readable storage medium |
CN109101430A (en) * | 2018-08-24 | 2018-12-28 | 阿里巴巴集团控股有限公司 | Test method, device and equipment |
CN109101430B (en) * | 2018-08-24 | 2022-08-09 | 创新先进技术有限公司 | Test method, device and equipment |
CN109634836B (en) * | 2018-10-23 | 2024-07-02 | 平安科技(深圳)有限公司 | Test data encapsulation method, device, equipment and storage medium |
CN109634837A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Automated testing method, device, equipment and storage medium |
CN109634837B (en) * | 2018-10-23 | 2024-05-28 | 平安科技(深圳)有限公司 | Automatic test method, device, equipment and storage medium |
CN109634836A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Test data packaging method, device, equipment and storage medium |
CN109656807A (en) * | 2018-11-01 | 2019-04-19 | 平安科技(深圳)有限公司 | Interface mock test method, device, equipment and storage medium based on information security |
CN109726117A (en) * | 2018-11-15 | 2019-05-07 | 北京奇艺世纪科技有限公司 | A kind of Mock test method, device, server and electronic equipment |
CN109739656A (en) * | 2018-11-29 | 2019-05-10 | 东软集团股份有限公司 | Interface data analogy method, device, storage medium and electronic equipment |
CN110321282A (en) * | 2019-05-24 | 2019-10-11 | 深圳壹账通智能科技有限公司 | The XML configuration file amending method and system of Mock test |
CN111596910A (en) * | 2020-04-20 | 2020-08-28 | 微梦创科网络科技(中国)有限公司 | Mock service platform and method |
CN111752625A (en) * | 2020-06-23 | 2020-10-09 | 京东数字科技控股有限公司 | Method and device for interface mock |
CN112181824A (en) * | 2020-09-25 | 2021-01-05 | 中国建设银行股份有限公司 | System development auxiliary platform and method |
CN112732499A (en) * | 2020-12-30 | 2021-04-30 | 广州品唯软件有限公司 | Test method and device based on micro-service architecture and computer system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528393A (en) | Method and device for Mock testing of WebService | |
US10182068B2 (en) | Determine vulnerability using runtime agent and network sniffer | |
CN110474900B (en) | Game protocol testing method and device | |
CN109976995B (en) | Method and apparatus for testing | |
US10331441B2 (en) | Source code mapping through context specific key word indexes and fingerprinting | |
US9262309B2 (en) | Optimizing test data payload selection for testing computer software applications that employ data sanitizers and data validators | |
CN109976999B (en) | Method and device for measuring coverage rate of test cases | |
US20170220806A1 (en) | String property labels for static analysis | |
US20200233793A1 (en) | Behavior driven development test framework for application programming interfaces and webservices | |
CN109614327B (en) | Method and apparatus for outputting information | |
CN110768875A (en) | Application identification method and system based on DNS learning | |
CN103581185A (en) | Cloud searching and killing method, device and system for resisting anti-antivirus test | |
CN112732567B (en) | Mock data testing method and device based on ip, electronic equipment and storage medium | |
CN109450880A (en) | Detection method for phishing site, device and computer equipment based on decision tree | |
CN104375935B (en) | The test method and device of SQL injection attack | |
US8949991B2 (en) | Testing web services that are accessible via service oriented architecture (SOA) interceptors | |
CN116915442A (en) | Vulnerability testing method, device, equipment and medium | |
TWI626538B (en) | Infrastructure rule generation | |
US20140379736A1 (en) | Identifying unknown parameter and name value pairs | |
CN116361793A (en) | Code detection method, device, electronic equipment and storage medium | |
CN114331167B (en) | Method, system, medium and equipment for managing champion challenger strategy | |
CN115712571A (en) | Interactive service test device, interactive service test device, computer equipment and storage medium | |
CN107357562B (en) | Information filling method, device and client | |
US10515219B2 (en) | Determining terms for security test | |
CN112181816A (en) | Interface testing method and device based on scene, computer equipment and medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |