CN114817067A - Automatic mock testing method and device - Google Patents

Automatic mock testing method and device Download PDF

Info

Publication number
CN114817067A
CN114817067A CN202210571665.2A CN202210571665A CN114817067A CN 114817067 A CN114817067 A CN 114817067A CN 202210571665 A CN202210571665 A CN 202210571665A CN 114817067 A CN114817067 A CN 114817067A
Authority
CN
China
Prior art keywords
mock
state
result
tested
expected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210571665.2A
Other languages
Chinese (zh)
Other versions
CN114817067B (en
Inventor
王凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accumulus Technologies Tianjin Co Ltd
Original Assignee
Accumulus Technologies Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accumulus Technologies Tianjin Co Ltd filed Critical Accumulus Technologies Tianjin Co Ltd
Priority to CN202210571665.2A priority Critical patent/CN114817067B/en
Publication of CN114817067A publication Critical patent/CN114817067A/en
Application granted granted Critical
Publication of CN114817067B publication Critical patent/CN114817067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for automatic mock test, wherein the method comprises the following steps: receiving state mapping information configured by a user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes; generating configuration information corresponding to the scene to be tested according to the state mapping information; generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested; executing the mock test script in the system to be tested, and calling an interface corresponding to the mock test script in a mock server through the system to be tested to obtain a mock response; and obtaining a test result after the system to be tested receives and processes the mock response, and displaying the test result. According to the invention, the automatic test of the whole-flow mock is realized.

Description

Automatic mock testing method and device
Technical Field
The invention relates to the field of system testing, in particular to a method and a device for automatic mock testing.
Background
When a complex state flow system of a third party is tested and butted, mock tests of various state flows need to be carried out on each link respectively due to the instability of third party services, testers need to carry out a series of complex operations on each link, and the whole testing process is strong in time sequence, complex in process and prone to errors.
In the prior art, on one hand, the data needs to be frequently reset and the page or interface operation needs to be executed by relying on pure manual test, so that the efficiency and the reliability are low; on the other hand, depending on the existing state flow test scheme, complicated and detailed basic data and expected results need to be preset manually, and automatic data generation cannot be performed.
Disclosure of Invention
The invention provides a method and a device for automatic mock test, which are used for solving the problem that the automation of the mock test cannot be realized in the whole process in the prior art.
In order to solve the above problems, the present invention is realized by:
in a first aspect, an embodiment of the present invention provides an automatic mock testing method, including:
receiving state mapping information configured by a user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
generating configuration information corresponding to the scene to be tested according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested, and writing the mock response into a mock server;
executing the mock test script in a system to be tested, and calling an interface corresponding to the mock test script in a mock server through the system to be tested to obtain a mock response;
and obtaining a test result after the system to be tested receives and processes the mock response, and displaying the test result.
Optionally, the method further includes:
and changing the configuration parameters in the mock response to generate a new mock response, writing the new mock response into the mock server, and waiting for test call.
Optionally, the obtaining a test result after the system to be tested receives and processes the mock response further includes:
acquiring an actual result after the system to be tested receives and processes the mock response;
acquiring an expected state input by a user, and automatically generating a system expected result according to the expected state;
parsing the actual results into the same format as the system expected results;
and comparing the analyzed actual result with the expected system result to generate a comparison result, and displaying the comparison result.
Optionally, the data corresponding to the system status node includes at least one of: a status value and a status check item;
the state value is a state marking bit and a state marking value in the system to be tested; and the state check item is an attribute to be checked in the system state node.
Optionally, the status check item includes at least one of: whether the file generates a mark, file name format requirements, data filling items and parameter calculation formulas.
In a second aspect, an embodiment of the present invention provides an apparatus for automatic mock testing, including:
the receiving module is used for receiving the state mapping information configured by the user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
the configuration module is used for generating configuration information corresponding to the scene to be tested according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
the generating module is used for generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested, and writing the mock response into a mock server;
the execution module is used for executing the mock test script in a system to be tested, calling an interface corresponding to the mock test script in a mock server through the system to be tested, and acquiring the mock response;
and the result display module is used for acquiring the test result after the system to be tested receives and processes the mock response and displaying the test result.
Optionally, the method further includes:
and the changing module is used for changing the configuration parameters in the mock response to generate a new mock response, writing the new mock response into the mock server, and waiting for test call.
Optionally, the result display module further includes:
the obtaining submodule is used for obtaining an actual result after the system to be tested receives and processes the mock response;
the processing submodule is used for acquiring an expected state input by a user and automatically generating a system expected result according to the expected state;
the analysis submodule is used for analyzing the actual result into a format which is the same as the expected result of the system;
and the comparison submodule is used for comparing the analyzed actual result with the expected system result to generate a comparison result and displaying the comparison result.
Optionally, the data corresponding to the system status node includes at least one of: a status value and a status check item;
the state value is a state marking bit and a state marking value in the system to be tested; and the state check item is an attribute to be checked in the system state node.
Optionally, the status check item includes at least one of: whether the file generates a mark, file name format requirements, data filling items and parameter calculation formulas.
In a third aspect, an embodiment of the present invention provides a server, including: a processor, a memory and a program stored on the memory and running on the processor, which program, when executed by the processor, carries out the steps of the method of automatic mock testing according to any of the first aspects.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for automatic mock testing according to any one of the first aspect.
According to the method and the device, the characteristic that the state node data in the state flow can be standardized is utilized, the aim of configuring multi-link mapping reference at one time is achieved through state data mapping, the configuration process is simplified, the maintenance cost is reduced, and the whole-process mock automatic test is achieved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a method for automatic mock testing according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a comparison interface of an automatic mock testing method according to an embodiment of the present invention;
FIG. 3 is a schematic general flowchart of a method for automatic mock testing according to an embodiment of the present invention;
FIG. 4 is a block diagram of an embodiment of the present invention showing an automatic mock testing method;
FIG. 5 is a block diagram of an apparatus for automatic mock testing according to an embodiment of the present invention;
fig. 6 is a diagram of a server architecture according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.
Referring to fig. 1, an embodiment of the present invention provides an automatic mock testing method, including:
step 11: receiving state mapping information configured by a user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
step 12: generating configuration information corresponding to the scene to be tested according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
step 13: generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested, and writing the mock response into a mock server;
step 14: executing the mock test script in a system to be tested, and calling an interface corresponding to the mock test script in a mock server through the system to be tested to obtain a mock response;
step 15: and obtaining a test result after the system to be tested receives and processes the mock response, and displaying the test result.
In the embodiment of the invention, the standardization of state node data in the state flow is utilized, the aim of configuring multi-link mapping reference at one time is realized through state data mapping, the configuration process is simplified, the maintenance cost is reduced, and the automatic test of the whole flow mock is realized.
In the embodiment of the invention, the mock test is a test method which is created by using a virtual object for testing some objects which are not easy to construct or obtain in the test process; in step 11, receiving state mapping information configured by a user through a state data mapping module; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes; the data corresponding to the system state node comprises at least one of the following: a status value and a status check item; the state value is a state marking bit and a state marking value in the system to be tested; the state check item is an attribute to be checked in a system state node; the status check item includes at least one of: whether the file generates a mark, file name format requirements, data filling items and parameter calculation formulas.
In step 12, generating configuration information corresponding to the scene to be tested according to the state mapping information through a basic data generation module; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process; the data information corresponding to the circulation process comprises: initializing a table and table association relation setting and initial state setting corresponding to the circulation process in the circulation process; for example: in the registration link, data in a registry, including names, certificate numbers and initial states, needs to be generated; in the declaration link, basic data of a declaration form needs to be generated, and besides the data needed in the registration link, the basic data also comprises data of the declaration form, such as names, certificate numbers, various amounts of declaration, states before declaration and the like; in the step of obtaining the certificate, basic data of a plurality of tables such as a registry, a statement table, a flow meter, a certificate table and the like need to be generated, the tables are associated according to an inline relation, and the initial state of each table is preset.
In step 13, generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested by a mock data generation function in a mock data generation and change module, and writing the mock response into a mock server; for example, simulating a test scene of a third party, which fails when a voucher request interface is obtained, automatically generating a mock response of the request failure according to an interface document format, wherein the functional input parameter of the module is a custom state value cert-fail, and the output parameter of the module is a mock configuration corresponding to the request failure; and changing the configuration parameters in the mock response to generate a new mock response through a mock data changing function in a mock data generating and changing module, writing the new mock response into the mock server, and waiting for test call.
In step 14, executing the mock test script in the test system through an operation execution module, and calling an interface corresponding to the mock test script in a mock server through the system to be tested to obtain the mock response; for example: and calling an acquisition certificate interface in the mock server to acquire a response that the corresponding mock certificate is successfully acquired, wherein the initial state is 'payment completion and certificate to be acquired', and the state is changed into the state that the certificate is successfully acquired.
In step 15, a test result of the system to be tested after processing the mock response is obtained through an actual result obtaining mode executed in an actual result obtaining module, and the test result is displayed; in the embodiment of the invention, the acquisition modes of acquiring the test execution result in each link in the system to be tested are different, some are different API interfaces, and some are different data tables and fields in the query database; therefore, the module does not directly give an actual result, but adopts a result generating and obtaining mode, and then obtains the actual result of the tested system through the obtaining mode, the generated result obtaining mode can be an API calling interface, a database can be inquired, or the combination of the two, and the like, if the API calling interface is used, the executed result obtaining mode comprises an interface path, a request mode and a request parameter, and if the API calling interface is used, the executed result obtaining mode comprises a query table, a result field, a query condition and the like; for example: after the obtaining voucher interface is executed, the way of obtaining the execution result is to execute the database query statement to obtain the name, the date of belongingness and the voucher state in the voucher table, so that the module can generate the query database statements select _ name, test _ month, and start _ status from test _ table _ name where id = testId which need to be executed; after the operation is executed, the actual result of the tested system can be obtained by executing an actual result obtaining mode; generating a corresponding system expected result according to the expected state input by the user; parsing the actual processing result into a format identical to the expected result of the system; comparing the analyzed actual result with the system expected result through an actual result and expected result comparison module to generate a comparison result, and displaying the comparison result; the comparison result can be a single piece or a plurality of pieces, and the comparison result display includes but is not limited to the following elements: whether the test result passes, the number of fields which do not pass, the reason of failing and the details of the test result; referring to fig. 2, if the expected result is batch data, the comparison result is shown as green label of the row passing the test, and orange label of the row not passing the test; the specific failed field red font is highlighted.
Referring to fig. 3 and 4, in the embodiment of the present invention, first, initial state and expected state presets are performed, that is, state mapping information configured by a user through a state data mapping module is received; secondly, generating basic data, generating mock presetting, generating an actual result acquisition mode and generating an expected result according to a preset initial state and an expected state, namely generating configuration information corresponding to the scene to be detected according to the state mapping information through a basic data generation module; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process; generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested through a mock data generation function in a mock data generation and change module, and writing the mock response into a mock server; automatically generating a system expected result according to an expected state input by a user and the expected state through an expected result generating module; thirdly, performing operation execution and actual result acquisition through an operation execution module, namely executing the mock test script in the system to be tested, and calling a mock interface corresponding to the mock test script in a mock server through the system to be tested to acquire the mock response; acquiring an actual result after the system to be tested receives and processes the mock response through an actual result acquisition module, and displaying the test result; finally, comparing the actual result with the expected result, namely acquiring the actual result after the system to be tested receives and processes the mock response through an actual result and expected result comparison module; acquiring an expected state input by a user; generating a corresponding system expected result according to the expected state input by the user; parsing the actual results into the same format as the system expected results; and comparing the analyzed actual result with the expected system result through an actual result and expected result comparison module to generate a comparison result, and displaying the comparison result.
In the embodiment of the invention, the standardization of state node data in a state flow is utilized to realize the aim of configuring multi-link mapping citation once, the configuration process is simplified, a user only needs to preset a self-defined initial state and an expected termination state and configures the operation needed to be carried out when the state is changed, and the test can be started; generating response data of the mock and loading the response data into the mock server; inquiring a state data mapping module according to the expected state to generate an expected result; calling an interface of the tested system to execute system operation, generating an actual result acquisition mode through an actual result acquisition module after the execution is finished, and executing the acquisition mode to obtain actual result data after the operation is executed by the tested system; after the actual result data are analyzed, the actual result data and the expected result data are transmitted to the actual result and expected result comparison module together, a final test report is generated, the test report is displayed in an interface form, and the whole-process mock automatic test is realized.
Referring to fig. 5, an embodiment of the present invention provides an apparatus for automatic mock testing, including:
a receiving module 51, configured to receive state mapping information configured by a user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
the configuration module 52 is configured to generate configuration information corresponding to the scene to be detected according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
a generating module 53, configured to generate a mock test script and a mock response according to the initial state node, the expected state node, and the configuration information corresponding to the scene to be tested, and write the mock response into a mock server;
the execution module 54 is configured to execute the mock test script in a system to be tested, and call an interface corresponding to the mock test script in a mock server through the system to be tested to obtain the mock response;
and the result display module 55 is configured to obtain a test result after the system to be tested executes the mock response, and display the test result.
In the embodiment of the present invention, optionally, the method further includes:
and the changing module is used for changing the configuration parameters in the mock response to generate a new mock response, writing the new mock response into the mock server, and waiting for test call.
In this embodiment of the present invention, optionally, the result display module further includes:
the obtaining submodule is used for obtaining an actual result after the system to be tested receives and processes the mock response;
the processing submodule is used for acquiring an expected state input by a user and automatically generating a system expected result according to the expected state;
the analysis submodule is used for analyzing the actual result into a format which is the same as the expected result of the system;
and the comparison submodule is used for comparing the analyzed actual result with the expected system result to generate a comparison result and displaying the comparison result.
In this embodiment of the present invention, optionally, the data corresponding to the system state node includes at least one of the following: a status value and a status check item;
the state value is a state marking bit and a state marking value in the system to be tested; and the state check item is an attribute to be checked in the system state node.
In the embodiment of the present invention, optionally, the status check item includes at least one of the following items: whether the file generates a mark, file name format requirements, data filling items and parameter calculation formulas.
The device for automatically mock testing provided by the embodiment of the invention can realize each process realized by the method for automatically mock testing in the embodiment of the method in fig. 1, and is not repeated here for avoiding repetition.
Referring to fig. 6, an embodiment of the present invention further provides a server 60, which includes a processor 61, a memory 62, and a computer program stored in the memory 62 and running on the processor 61, where the computer program, when executed by the processor 61, implements each process of the above-mentioned method for automatic mock testing, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above method for automatically mock testing, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a terminal) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of automatic mock testing, comprising:
receiving state mapping information configured by a user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
generating configuration information corresponding to the scene to be tested according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested, and writing the mock response into a mock server;
executing the mock test script in a system to be tested, and calling an interface corresponding to the mock test script in a mock server through the system to be tested to obtain a mock response;
and obtaining a test result after the system to be tested receives and processes the mock response, and displaying the test result.
2. The method for automated mock testing according to claim 1, further comprising:
and changing the configuration parameters in the mock response to generate a new mock response, writing the new mock response into the mock server, and waiting for test call.
3. The method according to claim 1, wherein the obtaining the test result after the system under test receives and processes the mock response, and the displaying the test result further comprises:
acquiring an actual result of the system to be tested after the mock response is obtained;
acquiring an expected state input by a user, and automatically generating a system expected result according to the expected state;
parsing the actual results into the same format as the system expected results;
and comparing the analyzed actual result with the expected system result to generate a comparison result, and displaying the comparison result.
4. The method for automatic mock testing according to claim 1,
the data corresponding to the system state node comprises at least one of the following: a status value and a status check item;
the state value is a state marking bit and a state marking value in the system to be tested; and the state check item is an attribute to be checked in the system state node.
5. The method of automatic mock testing according to claim 4,
the status check item includes at least one of: whether the file generates a mark, file name format requirements, data filling items and parameter calculation formulas.
6. An apparatus for automated mock testing, comprising:
the receiving module is used for receiving the state mapping information configured by the user; the state mapping information includes: the system state node and the mapping relation of the data corresponding to the system state node; the system state nodes comprise initial state nodes and expected state nodes;
the configuration module is used for generating configuration information corresponding to the scene to be tested according to the state mapping information; the configuration information includes: the circulation process of the system state node and the data information corresponding to the circulation process;
the generating module is used for generating a mock test script and a mock response according to the initial state node, the expected state node and the configuration information corresponding to the scene to be tested, and writing the mock response into a mock server;
the execution module is used for executing the mock test script in a system to be tested, calling an interface corresponding to the mock test script in a mock server through the system to be tested, and acquiring the mock response;
and the result display module is used for acquiring the test result after the system to be tested receives and processes the mock response and displaying the test result.
7. The apparatus for automatic mock testing according to claim 6, further comprising:
and the changing module is used for changing the configuration parameters in the mock response to generate a new mock response, writing the new mock response into the mock server, and waiting for test call.
8. The apparatus for automated mock testing according to claim 6, wherein said result presentation module further comprises:
the obtaining submodule is used for obtaining an actual result after the system to be tested receives and processes the mock response;
the processing submodule is used for acquiring an expected state input by a user and automatically generating a system expected result according to the expected state;
the analysis submodule is used for analyzing the actual result into a format which is the same as the expected result of the system;
and the comparison submodule is used for comparing the analyzed actual result with the expected system result to generate a comparison result and displaying the comparison result.
9. A server, comprising: processor, memory and program stored on the memory and running on the processor, which when executed by the processor implements the steps of the method of automatic mock testing according to any of the claims 1 to 5.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of automatic mock testing according to any of the claims 1 to 5.
CN202210571665.2A 2022-05-25 2022-05-25 Automatic mock testing method and device Active CN114817067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210571665.2A CN114817067B (en) 2022-05-25 2022-05-25 Automatic mock testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210571665.2A CN114817067B (en) 2022-05-25 2022-05-25 Automatic mock testing method and device

Publications (2)

Publication Number Publication Date
CN114817067A true CN114817067A (en) 2022-07-29
CN114817067B CN114817067B (en) 2022-09-02

Family

ID=82517626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210571665.2A Active CN114817067B (en) 2022-05-25 2022-05-25 Automatic mock testing method and device

Country Status (1)

Country Link
CN (1) CN114817067B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279840A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Workflow engine implement method based on dynamic language and event processing mechanism
CN103455413A (en) * 2012-05-31 2013-12-18 联想(北京)有限公司 Method, device and system for interaction scenario test data processing of communication terminals
US20150261505A1 (en) * 2014-03-13 2015-09-17 Infosys Limited Method and system for generating stateflow models from software requirements
CN105630667A (en) * 2014-11-28 2016-06-01 阿里巴巴集团控股有限公司 Test method and terminal equipment
CN106294179A (en) * 2016-08-22 2017-01-04 上海亿账通互联网科技有限公司 Analog detection method in process of application development and server
CN109101223A (en) * 2018-07-26 2018-12-28 北京大米未来科技有限公司 A kind of Business Process Control method, Business Process Control engine and system
US20190370420A1 (en) * 2018-06-01 2019-12-05 The Mathworks, Inc. Systems and methods for automatically realizing models for co-simulation
CN112052172A (en) * 2020-09-04 2020-12-08 云账户技术(天津)有限公司 Rapid testing method and device for third-party channel and electronic equipment
CN112052038A (en) * 2020-09-09 2020-12-08 云账户技术(天津)有限公司 Method and device for generating front-end interface
CN113034165A (en) * 2019-12-09 2021-06-25 腾讯科技(深圳)有限公司 Data processing method and device, storage medium and electronic device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455413A (en) * 2012-05-31 2013-12-18 联想(北京)有限公司 Method, device and system for interaction scenario test data processing of communication terminals
CN103279840A (en) * 2013-06-08 2013-09-04 北京首钢自动化信息技术有限公司 Workflow engine implement method based on dynamic language and event processing mechanism
US20150261505A1 (en) * 2014-03-13 2015-09-17 Infosys Limited Method and system for generating stateflow models from software requirements
CN105630667A (en) * 2014-11-28 2016-06-01 阿里巴巴集团控股有限公司 Test method and terminal equipment
CN106294179A (en) * 2016-08-22 2017-01-04 上海亿账通互联网科技有限公司 Analog detection method in process of application development and server
US20190370420A1 (en) * 2018-06-01 2019-12-05 The Mathworks, Inc. Systems and methods for automatically realizing models for co-simulation
CN109101223A (en) * 2018-07-26 2018-12-28 北京大米未来科技有限公司 A kind of Business Process Control method, Business Process Control engine and system
CN113034165A (en) * 2019-12-09 2021-06-25 腾讯科技(深圳)有限公司 Data processing method and device, storage medium and electronic device
CN112052172A (en) * 2020-09-04 2020-12-08 云账户技术(天津)有限公司 Rapid testing method and device for third-party channel and electronic equipment
CN112052038A (en) * 2020-09-09 2020-12-08 云账户技术(天津)有限公司 Method and device for generating front-end interface

Also Published As

Publication number Publication date
CN114817067B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN107665171B (en) Automatic regression testing method and device
CN109189669A (en) Test method, electronic device and the readable storage medium storing program for executing of business scenario
CN112905459B (en) Service interface testing method and device, electronic equipment and storage medium
CN105404574B (en) Smart card and mobile terminal consistency test method and device
WO2021196674A1 (en) System code testing method and apparatus, and computer device and storage medium
CN114817067B (en) Automatic mock testing method and device
CN107632909A (en) Method and system for ATE function
CN111078529B (en) Client writing module testing method and device and electronic equipment
CN113434405B (en) Method and device for determining test file, storage medium and electronic device
CN113238901B (en) Multi-device automatic testing method and device, storage medium and computer device
CN110704252A (en) Automatic testing device and testing method based on cloud dynamic management
CN115167339A (en) Test method, test platform, test system and computer readable storage medium
CN111679983B (en) JAVA interface static test method and device
CN111240989B (en) Interface automation test framework and method
CN114116712A (en) Extended field processing method and device, electronic equipment and storage medium
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
CN111538606A (en) Method, device and equipment for testing and simulating Dubbo interface
CN111813665A (en) Big data platform interface data testing method and system based on python
KR100775102B1 (en) Quality test result estimate system of platform based application on embedded device and method thereof
CN111666301B (en) Service interface testing method, computer device and storage medium
CN115129355B (en) Page repair method, system and computer equipment thereof
CN112835803B (en) Tool generation method, test data construction method, device, equipment and medium
CN113094281B (en) Test method and device for hybrid App
CN115203616A (en) Element positioning method and element positioning device
CN117762380A (en) Method and device for checking software component interface and readable storage medium

Legal Events

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