CN112948272A - Production environment-based data test system function method and device and related equipment - Google Patents

Production environment-based data test system function method and device and related equipment Download PDF

Info

Publication number
CN112948272A
CN112948272A CN202110412744.4A CN202110412744A CN112948272A CN 112948272 A CN112948272 A CN 112948272A CN 202110412744 A CN202110412744 A CN 202110412744A CN 112948272 A CN112948272 A CN 112948272A
Authority
CN
China
Prior art keywords
interface
test
data
configuration table
production environment
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
Application number
CN202110412744.4A
Other languages
Chinese (zh)
Inventor
杨攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Jingxundi Supply Chain Technology Co ltd
Original Assignee
Xi'an Jingxundi Supply Chain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Jingxundi Supply Chain Technology Co ltd filed Critical Xi'an Jingxundi Supply Chain Technology Co ltd
Priority to CN202110412744.4A priority Critical patent/CN112948272A/en
Publication of CN112948272A publication Critical patent/CN112948272A/en
Pending legal-status Critical Current

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

Abstract

The invention provides a method for testing system functions based on data of a production environment, which comprises the following steps: the method comprises the steps of obtaining an interface configuration table from a test scene server, when service logic in a production environment is called, utilizing a first interface interception component to detect whether a current calling interface is an interface in the interface configuration table, if the current calling interface is the interface in the interface configuration table, utilizing the first interface interception component to process a calling return result of the current calling interface, and storing a processing result to the test scene server according to id of a calling request. And by intercepting and storing the interface data of the production environment, a complete, real and reliable data scene can be provided for the subsequent system function test, so that the quality of the test result is higher.

Description

Production environment-based data test system function method and device and related equipment
Technical Field
The invention relates to the technical field of system function testing, in particular to a method and a device for testing system functions based on production environment and related equipment.
Background
After the system development is completed, the system function test is an indispensable link. The function test in the system can be completed through single test, and the function test between the systems needs the manpower of data coordination and multiple parties to complete. For example, when testing a function of a system, multiple interfaces need to be called to complete the testing of the function. In this case, the providers of the interfaces need to be coordinated to complete the testing of the function, which reduces the efficiency of the system function testing.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and related equipment for testing system functions based on production environment, so that the efficiency of system function testing can be improved at least to a certain extent, and a complete, real and reliable data scene can be provided for subsequent system function testing by intercepting and storing interface data of the production environment, so that the quality of a test result is higher.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, there is provided a method for testing system functions based on data of a production environment, which is applied to the production environment of a system, where a first interface intercepting component is deployed in the production environment, the method including: acquiring an interface configuration table from a test scene server, wherein an interface in the interface configuration table is an intercepted interface; when service logic in a production environment is called, a first interface interception component is utilized to detect whether a current calling interface is an interface in an interface configuration table; if the current calling interface is an interface in the interface configuration table, processing a calling return result of the current calling interface by using a first interface interception component; and sending the processing result and the id of the calling request to a test scene server so that the test scene server stores the processing result to a database according to the id of the calling request.
In some embodiments of the present invention, processing a call return result of a current call interface by using a first interface intercepting component includes: and utilizing the first interface interception component to perform serialization processing on the call return result of the current call interface in a preset data format to obtain a character string in the preset format.
In some embodiments of the present invention, before sending the processing result and the id of the invocation request to the test scenario server, the method further includes: detecting whether the unique id of the calling request exists in the current thread by using a first interface interception component; if the unique id of the calling request exists, acquiring the id of the calling request; or if the unique calling request id does not exist, generating the unique calling request id and obtaining the calling request id.
According to a second aspect of the embodiments of the present invention, there is provided a method for testing system functions based on data of a production environment, which is applied to a test environment of a system, where a second interface intercepting component is deployed in the test environment, the method including: acquiring a test scene configuration table from a test scene server, wherein the test scene configuration table comprises an id of a service test scene; configuring the id of the service test scene in the test scene configuration table to the current thread; according to the id of the service test scene in the current thread, inquiring test data corresponding to the id of the service test scene from a database in a test scene server, wherein the test data is a character string obtained by intercepting data in a production environment through a first interface interception component and serializing the data, the first interface interception component is different from a second interface interception component, and the first interface interception component is deployed in the production environment of the system; processing the test data by using a second interface interception component, and taking a processing result as a return value; in a test environment, the functionality of the system is tested based on the return values.
In some embodiments of the present invention, before querying, according to the id of the service test scenario in the current thread, test data corresponding to the id of the service test scenario from a database in the test scenario server, the method further includes: and preferentially utilizing the second interface interception component to inquire the test data corresponding to the id of the service test scene from the local database according to the id of the service test scene in the current thread.
In some embodiments of the present invention, querying, from a database in a test scenario server, test data corresponding to the id of the service test scenario according to the id of the service test scenario in the current thread includes: sending the id of the service test scene in the current thread to a test scene server through an internal interface of the test environment, so that the test scene server matches the id of a calling request corresponding to the id of the service test scene from a database based on the id of the service test scene, acquires a test data test corresponding to the id of the service test scene according to the matched id of the calling request, and returns the test data to the test environment; and receiving the test data through an internal interface of the test environment.
In some embodiments of the present invention, processing the test data by using the second interface intercepting component, and taking the processing result as a return value includes: and performing deserialization processing on the test data by using the second interface interception component according to the data type of the test data to obtain an object in the test data, and taking the object as a return value.
According to a third aspect of the embodiments of the present invention, there is provided a device for testing system functions based on data of a production environment, which is applied to the production environment of a system, where a first interface intercepting component is deployed in the production environment, the device including: the interface configuration table acquisition module is used for acquiring an interface configuration table from the test scene server, wherein an interface in the interface configuration table is an intercepted interface; the interface detection module is used for detecting whether a current calling interface is an interface in an interface configuration table or not by utilizing the first interface interception component when the service logic in the production environment is called; the processing module is used for processing the calling return result of the current calling interface by utilizing the first interface interception component if the current calling interface is an interface in the interface configuration table; and the sending module is used for sending the processing result and the id of the calling request to the test scene server so that the test scene server stores the processing result to the database according to the id of the calling request.
In some embodiments of the invention, the processing module is configured to: and utilizing the first interface interception component to perform serialization processing on the call return result of the current call interface in a preset data format to obtain a character string in the preset format.
In some embodiments of the present invention, before sending the processing result and the id of the call request to the test scenario server, the apparatus further includes: the thread detection module detects whether the unique id of the calling request exists in the current thread by using the first interface interception component; the request id acquisition module is used for acquiring the id of the calling request if the unique id of the calling request exists; or if the unique calling request id does not exist, generating the unique calling request id and obtaining the calling request id.
According to a fourth aspect of the embodiments of the present invention, there is provided a device for testing system functions based on data of a production environment, which is applied to a test environment of a system, where a second interface intercepting component is deployed in the test environment, the device including: the test scene configuration table acquisition module is used for acquiring a test scene configuration table from the test scene server, and the test scene configuration table comprises the id of the service test scene; the configuration module is used for configuring the id of the service test scene in the test scene configuration table into the current thread; the first query module is used for querying test data corresponding to the id of the service test scene from a database in the test scene server according to the id of the service test scene in the current thread, the test data is a character string obtained by intercepting data in a production environment through a first interface interception component and serializing the data, the first interface interception component is different from a second interface interception component, and the first interface interception component is deployed in the production environment of the system; the processing module is used for processing the test data by utilizing the second interface interception component and taking a processing result as a return value; a test module to test a function of the system based on the return value in a test environment.
In some embodiments of the present invention, before querying, according to the id of the service test scenario in the current thread, test data corresponding to the id of the service test scenario from a database in the test scenario server, the apparatus further includes: and the second query module is used for preferentially utilizing the second interface interception component to query the test data corresponding to the id of the service test scene from the local database according to the id of the service test scene in the current thread.
In some embodiments of the invention, the first query module is configured to: sending the id of the service test scene in the current thread to a test scene server through an internal interface of the test environment, so that the test scene server matches the id of a calling request corresponding to the id of the service test scene from a database based on the id of the service test scene, acquires a test data test corresponding to the id of the service test scene according to the matched id of the calling request, and returns the test data to the test environment; and receiving the test data through an internal interface of the test environment.
In some embodiments of the invention, the processing module is configured to: and performing deserialization processing on the test data by using the second interface interception component according to the data type of the test data to obtain an object in the test data, and taking the object as a return value.
According to a fifth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for production environment based data testing system functionality of the first aspect or the method for production environment based data testing system functionality of the second aspect as described in the embodiments above.
According to a sixth aspect of embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method of production environment based data testing system functionality according to the first aspect or the method of production environment based data testing system functionality according to the second aspect of the embodiments described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the technical solutions provided in some embodiments of the present invention, an interface configuration table is obtained from a test scenario server, when a service logic in a production environment is invoked, a first interface interception component is used to detect whether a current invocation interface is an interface in the interface configuration table, if the current invocation interface is an interface in the interface configuration table, the first interface interception component is used to process a call return result of the current invocation interface, and a processing result is stored in the test scenario server according to an id of a call request. And by intercepting and storing the interface data of the production environment, a complete, real and reliable data scene can be provided for the subsequent system function test, so that the quality of the test result is higher.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 illustrates a schematic diagram of an exemplary system architecture of a method for production environment based data testing system functionality or an apparatus for production environment based data testing system functionality to which embodiments of the present invention may be applied;
FIG. 2 schematically illustrates a flow diagram of a method applied to a production environment for testing system functionality based on data of the production environment, in accordance with an embodiment of the present invention;
FIG. 3 schematically illustrates a flow diagram of a method applied to a production environment for testing system functionality based on data of the production environment, in accordance with another embodiment of the present invention;
FIG. 4 schematically illustrates a flow diagram of a method applied to production environment based data testing system functionality in a testing environment, in accordance with an embodiment of the present invention;
FIG. 5 schematically illustrates a flow diagram of a method applied to production environment based data testing system functionality in a testing environment, in accordance with another embodiment of the present invention;
FIG. 6 schematically illustrates a block diagram of an apparatus for testing system functionality based on data of a production environment applied to the production environment, in accordance with an embodiment of the present invention;
FIG. 7 schematically illustrates a block diagram of an apparatus for testing system functionality based on data of a production environment in accordance with another embodiment of the present invention;
FIG. 8 schematically illustrates a block diagram of an apparatus for production environment based data testing system functionality applied in a testing environment, in accordance with an embodiment of the present invention;
FIG. 9 is a block diagram that schematically illustrates an apparatus for production environment-based data testing system functionality in a testing environment, in accordance with another embodiment of the present invention;
FIG. 10 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture of a method for production environment-based data testing system function or an apparatus for production environment-based data testing system function to which an embodiment of the present invention may be applied.
As shown in fig. 1, the system architecture may include a production environment server 100, a test environment server 200, and a test scenario server 300. The production environment server 100 deploys a production environment of a system, the test environment server 200 deploys a test environment of the system, the test scenario server 300 includes a test scenario configuration table and an interface configuration table configured in advance, and the test scenario server 300 further includes a production environment data table for storing production environment data intercepted from the production environment.
In some embodiments of the present inventors, an interface intercept component is configured into the production environment server 100 and the test environment server 200. For example, a first interface interception component is configured into the traffic engineering of the production environment server 100 for intercepting data of the production environment. For another example, a second interface intercepting component is configured in the service engineering of the test environment server 200, and is used for analyzing the intercepted production environment data. The first interface interception component is different from the second interface interception component.
In some embodiments of the present invention, after the system is online in the production environment server 100, an interface configuration table may be obtained from the test scenario server 300, where an interface in the interface configuration table is an intercepted interface, when a service logic of the production environment server 100 is invoked, a first interface intercepting component is used to detect whether a current invoking interface is an interface in the interface configuration table, and if the current invoking interface is an interface in the interface configuration table, a call return result of the current invoking interface is processed by the first interface intercepting component; the processing result and the id of the calling request are sent to the test scenario server 300, so that the test scenario server 300 stores the processing result into a production environment data table of the test scenario server 300 according to the id of the calling request, and thus when the system function is subsequently tested, data are called without coordinating a plurality of external interfaces, data are obtained from the test scenario server 300 only through an internal interface of the test environment, and the efficiency of system function testing is improved. And by intercepting and storing the interface data of the production environment, a complete, real and reliable data scene can be provided for the subsequent system function test, so that the quality of the test result is higher.
In some embodiments of the present invention, if the current calling interface is an interface in the interface configuration table, intercepting a call return result of the current calling interface by using the first interface interception component. For example, the interception mode can be a cut plane interception based on a local engineering class, and can also be an interface interception based on a micro service. Specifically, the interface interception includes an AOP interceptor (default interception service packet path) implemented or passed by a filter based on a micro service RPC interface (default interception all interfaces).
In some embodiments of the present inventors, after system development is complete, the system may complete the testing of functionality in the test environment server 200. For example, a test scenario configuration table is obtained from the test scenario server 300, the test scenario configuration table includes an id of a service test scenario, the id of the service test scenario in the test scenario configuration table is configured into a current thread, test data corresponding to the id of the service test scenario is queried from a database in the test scenario server 300 according to the id of the service test scenario in the current thread, in this way, the test data is called without coordinating providers of a plurality of interfaces, time cost and labor cost are saved, then the test data is processed, a processing result is used as a return value, and in the test environment server 200, a function of a system is tested based on the return value, so that the test efficiency of the system function is improved. In this embodiment, the test data is a character string obtained by intercepting data in the production environment through the first interface intercepting component and serializing the intercepted data.
In some embodiments of the present invention, when testing the system function in the test environment server 300, the second interface intercepting component may be preferentially utilized to load the local test data of the test scenario server 300 to test the system function, and the local test data may be pre-defined.
In some embodiments of the present inventors, the production environment server 100 may be used to implement the method of production environment based data testing system functionality described in fig. 2 and 3. The test environment server 200 may be used to implement the method for production environment based data testing system functionality described in fig. 4 and 5.
FIG. 2 schematically illustrates a flow diagram of a method applied to a production environment for testing system functionality based on data of the production environment, according to an embodiment of the invention.
As shown in fig. 2, the method for testing system functions based on data of a production environment may include steps S210 to S240.
In step S210, an interface configuration table is obtained from the test scenario server, where an interface in the interface configuration table is an intercepted interface.
In step S220, when a service logic in the production environment is called, the first interface interception component is used to detect whether the currently called interface is an interface in the interface configuration table.
In step S230, if the current calling interface is an interface in the interface configuration table, the first interface intercepting component is used to process the call return result of the current calling interface.
In step S240, the processing result and the id of the invocation request are transmitted to the test scenario server, so that the test scenario server stores the processing result to the database according to the id of the invocation request.
The method can acquire the interface configuration table from the test scene server, when the service logic in the production environment is called, whether the current calling interface is the interface in the interface configuration table is detected by using the first interface interception component, if the current calling interface is the interface in the interface configuration table, the calling return result of the current calling interface is processed by using the first interface interception component, and the processing result is stored in the test scene server according to the id of the calling request, so that when the system function is tested subsequently, data is acquired from the test scene server only through the internal interface of the test environment without coordinating a plurality of external interfaces, and the efficiency of the system function test is improved. And by intercepting and storing the interface data of the production environment, a complete, real and reliable data scene can be provided for the subsequent system function test, so that the quality of the test result is higher.
In some embodiments of the present invention, the interface configuration table may be configured in advance according to actual service test requirements. The interface configuration table is used to store the intercepted interface, for example, the intercepted interface may be a calling interface of the production environment. In this embodiment, the configured interface configuration table may be issued to the project of the first interface intercepting component. The configuration format of the interface is as follows: [ class full name. interface/method name … ].
In some embodiments of the present invention, when a call occurs to business logic in a production environment, a first interface interception component is utilized to detect whether a currently called interface is an interface in an interface configuration table. For example, when a service logic in a production environment is called, a first interface interception component is utilized to match the interface identifier which is the same as the identifier of the current calling interface from an interface configuration table based on the identifier of the current calling interface, and if the matching is successful, the first interface interception component intercepts the calling return result of the current calling interface.
In some embodiments of the present invention, processing a call return result of a current call interface by using a first interface intercepting component includes: and utilizing the first interface interception component to perform serialization processing on the call return result of the current call interface in a preset data format to obtain a character string in the preset format. For example, a first interface interception component is utilized to perform serialization processing on a return object of a current call interface in a json format to obtain a character string in the json format. In this example, the preset data format may be set according to actual conditions.
In some embodiments of the invention, the processing result and the id of the call request are sent to the test scenario server, so that the test scenario server stores the processing result to the database according to the id of the call request. For example, the processing result is the character string in the json format, the character string in the json format and the id of the call request are printed in a log, the log including the character string in the json format and the id of the call request is sent to the test scenario server through the log collector, and when the test scenario server receives the log, the log is analyzed to obtain the character string in the json format and the id of the call request. And the test scene server stores the character string in the json format into the mysql database according to the service main key by using the id of the calling request, so that the data of the mysql database can be conveniently inquired and used in the subsequent test of the system function.
FIG. 3 schematically illustrates a flow diagram of a method applied to a production environment for testing system functionality based on data of the production environment, according to another embodiment of the invention.
As shown in fig. 3, before step S240, the method further includes step S310 and step S320.
In step S310, the first interface intercepting component is utilized to detect whether there is a unique id of the call request in the current thread.
In step S320, if there is a unique id of the invocation request, obtaining the id of the invocation request; or if the unique calling request id does not exist, generating the unique calling request id and obtaining the calling request id.
The method can detect whether the unique id of the calling request exists in the current thread by utilizing a first interface interception component, and if the unique id of the calling request exists, the id of the calling request is obtained; or if the unique calling request id does not exist, the unique calling request id is generated, and the calling request id is obtained, so that the test data can be obtained from the mysql database according to the test scene id which is the same as the unique calling request id when the system function is tested subsequently, and the accuracy of the data is ensured.
In an embodiment of the invention, the function of the system can be tested according to the normal unit test or the whole test function, and if different scenes are required to be subjected to coverage condition test or regression test, the global service test scene id can be reset according to requirements.
In one embodiment of the invention, the data set may be formed from the unique id of the call request by intercepting an interface specified by the production environment. The complete data set is then used as a test scenario for interface simulation and regression testing of the development environment. Therefore, the purpose of improving the testing quality and efficiency can be achieved.
FIG. 4 schematically illustrates a flow diagram of a method applied to production environment based data testing system functionality in a testing environment, in accordance with an embodiment of the present invention.
As shown in fig. 4, the method for testing system functions based on data of a production environment applied to a test environment includes steps S410 to S450.
In step S410, a test scenario configuration table is obtained from the test scenario server, where the test scenario configuration table includes an id of a service test scenario.
In step S420, the id of the service test scenario in the test scenario configuration table is configured to the current thread.
In step S430, according to the id of the service test scenario in the current thread, the test data corresponding to the id of the service test scenario is queried from the database in the test scenario server.
In step S440, the second interface interception component is utilized to process the test data, and the processing result is used as a return value.
In step S450, the functionality of the system is tested based on the return values in the test environment.
The method can acquire a test scene configuration table from a test scene server, configure the id of a service test scene in the test scene configuration table into a current thread, query test data corresponding to the id of the service test scene from a database in the test scene server according to the id of the service test scene in the current thread, call the test data in such a way without coordinating providers of a plurality of interfaces, save time cost and labor cost, process the test data, take a processing result as a return value, and test the function of a system based on the return value in a test environment, thereby improving the test efficiency of the system function.
In an embodiment of the present invention, the test scenario configuration table may be set according to an actual service request. For example, the test scenario id in the test scenario configuration table and the call request id for calling the service data are set to be the same id, so that the same call request id can be matched from the mysql database of the test scenario server based on the test scenario id, and the test data can be obtained from the mysql database according to the call request id.
In one embodiment of the invention, the id of the service test scenario in the test scenario configuration table is configured to the current thread. For example, when the test environment tests the system function, the test scenario id of the preset configuration is configured to the environment of the system running, that is, the test scenario id is configured to the current thread for declaring the test scenario.
In an embodiment of the present invention, according to the id of the service test scenario in the current thread, the test data corresponding to the id of the service test scenario is queried from the database in the test scenario server. For example, in a test environment, when an external interface or an internal interface is called, the second interface interception component may first query whether there is a locally matched data file, and then query data from the test scenario server according to the id of the service test scenario in the current thread. If the data is inquired, the test data is deserialized according to the return type of the interface, and the generated object is used as a return value without normal interface/method calling.
In an embodiment of the present invention, the test data is a character string obtained by intercepting data in a production environment through a first interface intercepting component and serializing the data, where the first interface intercepting component is different from a second interface intercepting component, and the first interface intercepting component is deployed in the production environment of the system.
In some embodiments of the present invention, before querying, according to the id of the service test scenario in the current thread, test data corresponding to the id of the service test scenario from a database in the test scenario server, the method further includes: and preferentially utilizing the second interface interception component to inquire the test data corresponding to the id of the service test scene from the local database according to the id of the service test scene in the current thread. For example, when an external interface or an internal interface is called, the second interface interception component may preferentially query whether there is a locally matched data file according to the id of the service test scenario in the current thread. If the matching is successful, the system function is tested based on the local test data, so that the test efficiency is further accelerated. In this embodiment, the local test data may be written according to the requirement of the actual test, and then the written test data is stored in the local default storage path. For example, written json files are stored to the local disk according to a default classpath path. The local test data is used to supplement or replace data in the test scenario server. The test data file naming format for local configuration is [ class full name.
In some embodiments of the present invention, processing the test data by using the second interface intercepting component, and taking the processing result as a return value includes: and performing deserialization processing on the test data by using the second interface interception component according to the data type of the test data to obtain an object in the test data, and taking the object as a return value.
FIG. 5 schematically illustrates a flow diagram of a method applied to production environment based data testing system functionality in a testing environment, in accordance with another embodiment of the present invention.
As shown in fig. 5, the step S430 may specifically include a step S510 and a step S520.
In step S510, the id of the service test scenario in the current thread is sent to the test scenario server through the internal interface of the test environment, so that the test scenario server matches the id of the call request corresponding to the id of the service test scenario from the database based on the id of the service test scenario, and obtains the test data test corresponding to the id of the service test scenario according to the matched id of the call request, and returns the test data to the test environment.
In step S520, test data is received through the internal interface of the test environment.
The method can call the test data of the test system function through the internal interface of the test environment without depending on an external interface and without coordinating the providers of a plurality of interfaces by developers. The testing process is simplified, and the testing efficiency is improved.
In some embodiments of the present invention, when testing a system function, a second interface interception component is preferentially utilized to load locally preconfigured test data, if no test data is locally matched, based on an interface inside the test environment, according to an id of a service test scenario in a current thread sent to a test scenario server, so that the test scenario server matches, based on the id of the service test scenario, an id of a call request corresponding to the id of the service test scenario from a database (for example, the id of the service test scenario is the same as the id of the call request), and according to the id of the matched call request, obtains a test data test corresponding to the id of the service test scenario, and returns the test data to the test environment.
FIG. 6 schematically illustrates a block diagram of an apparatus for testing system functionality based on data of a production environment in accordance with an embodiment of the present invention.
As shown in fig. 6, the apparatus 600 for testing system functions based on data of a production environment applied to the production environment includes an interface configuration table obtaining module 610, an interface detecting module 620, a processing module 630 and a sending module 640.
Specifically, the interface configuration table obtaining module 610 is configured to obtain an interface configuration table from the test scenario server, where an interface in the interface configuration table is an intercepted interface.
The interface detection module 620 detects whether the current calling interface is an interface in the interface configuration table by using the first interface interception component when the service logic in the production environment is called.
If the current calling interface is an interface in the interface configuration table, the processing module 630 processes the calling return result of the current calling interface by using the first interface interception component.
And a sending module 640, configured to send the processing result and the id of the call request to the test scenario server, so that the test scenario server stores the processing result in the database according to the id of the call request.
The device 600 for testing the system function based on the data in the production environment can acquire an interface configuration table from a test scene server, when service logic in the production environment is called, a first interface interception component is utilized to detect whether a current calling interface is an interface in the interface configuration table, if the current calling interface is the interface in the interface configuration table, the first interface interception component is utilized to process a calling return result of the current calling interface, and a processing result is stored in the test scene server according to id of a calling request. And by intercepting and storing the interface data of the production environment, a complete, real and reliable data scene can be provided for the subsequent system function test, so that the quality of the test result is higher.
According to the embodiment of the present invention, the apparatus 600 applied to the data testing system function based on the production environment in the production environment can be used to implement the method applied to the data testing system function based on the production environment in the production environment described in the embodiment of fig. 2.
In an embodiment of the present invention, the processing module 630 is configured to: and utilizing the first interface interception component to perform serialization processing on the call return result of the current call interface in a preset data format to obtain a character string in the preset format.
FIG. 7 schematically illustrates a block diagram of an apparatus for testing system functionality based on data of a production environment in accordance with another embodiment of the present invention.
As shown in FIG. 7, the apparatus 600 for testing system functions based on data of a production environment applied to the production environment may further include a thread detection module 650 and a request id acquisition module 660.
Specifically, the thread detection module 650 detects whether there is a unique id of the call request in the current thread by using the first interface interception component.
A request id obtaining module 660, which obtains the id of the calling request if the unique id of the calling request exists; or if the unique calling request id does not exist, generating the unique calling request id and obtaining the calling request id.
The device 600 for testing system functions based on the data of the production environment in the production environment can detect whether the unique id of the calling request exists in the current thread by using the first interface interception component, and if the unique id of the calling request exists, the id of the calling request is obtained; or if the unique calling request id does not exist, the unique calling request id is generated, and the calling request id is obtained, so that the test data can be obtained from the mysql database according to the test scene id which is the same as the unique calling request id when the system function is tested subsequently, and the accuracy of the data is ensured.
According to the embodiment of the present invention, the apparatus 600 applied to the data testing system function based on the production environment in the production environment can be used to implement the method applied to the data testing system function based on the production environment in the production environment described in the embodiment of fig. 3.
For details not disclosed in the embodiments of the apparatus of the present invention, reference is made to the above-mentioned embodiments of the method for testing system functions based on data in a production environment according to the present invention for details not disclosed in the embodiments of the apparatus of the present invention, because various modules of the apparatus 600 for testing system functions based on data in a production environment according to the present invention can be used to implement the steps of the above-mentioned embodiments of the method for testing system functions based on data in a production environment according to the present invention described in fig. 2 to 3.
It is understood that the interface configuration table obtaining module 610, the interface detecting module 620, the processing module 630, the sending module 640, the thread detecting module 650, and the request id obtaining module 660 may be combined into one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the interface configuration table obtaining module 610, the interface detecting module 620, the processing module 630, the sending module 640, the thread detecting module 650, and the request id obtaining module 660 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations of software, hardware, and firmware. Alternatively, at least one of the interface configuration table acquisition module 610, the interface detection module 620, the processing module 630, the sending module 640, the thread detection module 650, and the request id acquisition module 660 may be at least partially implemented as a computer program module that, when executed by a computer, may perform the functions of the respective modules.
FIG. 8 schematically illustrates a block diagram of an apparatus for production environment based data testing system functionality in a testing environment, in accordance with an embodiment of the present invention.
As shown in fig. 8, an apparatus 800 for testing system functions based on data of a production environment in a test environment may include a test scenario configuration table obtaining module 810, a configuration module 820, a first query module 830, a processing module 840, and a test module 850.
Specifically, the test scenario configuration table obtaining module 810 is configured to obtain a test scenario configuration table from the test scenario server, where the test scenario configuration table includes an id of a service test scenario.
And a configuration module 820, configured to configure the id of the service test scenario in the test scenario configuration table to the current thread.
The first query module 830 is configured to query, according to the id of the service test scenario in the current thread, test data corresponding to the id of the service test scenario from a database in the test scenario server, where the test data is a character string obtained by intercepting, by a first interface interception component, data in a production environment for serialization, and the first interface interception component is different from a second interface interception component, and the first interface interception component is deployed in the production environment of the system.
The processing module 840 processes the test data by using the second interface interception component, and uses the processing result as a return value.
The test module 850, in a test environment, tests the functionality of the system based on the return values.
The device 800 for testing the system function based on the production environment in the test environment can acquire the test scene configuration table from the test scene server, configure the id of the service test scene in the test scene configuration table into the current thread, query the test data corresponding to the id of the service test scene from the database in the test scene server according to the id of the service test scene in the current thread, call the test data in such a way without coordinating providers of a plurality of interfaces, save time cost and labor cost, process the test data, take the processing result as a return value, test the system function based on the return value in the test environment, and thus improve the test efficiency of the system function.
The apparatus 800 for testing system functions based on production environment data in a test environment according to an embodiment of the present invention can be used to implement the method for testing system functions based on production environment data in a test environment described in the embodiment of fig. 4.
In some embodiments of the invention, the first query module 830 is configured to: sending the id of the service test scene in the current thread to a test scene server through an internal interface of the test environment, so that the test scene server matches the id of a calling request corresponding to the id of the service test scene from a database based on the id of the service test scene, acquires a test data test corresponding to the id of the service test scene according to the matched id of the calling request, and returns the test data to the test environment; and receiving the test data through an internal interface of the test environment.
In some embodiments of the invention, the processing module 840 is configured to: and performing deserialization processing on the test data by using the second interface interception component according to the data type of the test data to obtain an object in the test data, and taking the object as a return value.
FIG. 9 schematically illustrates a block diagram of an apparatus for production environment based data testing system functionality in a testing environment, in accordance with another embodiment of the present invention.
As shown in FIG. 9, the apparatus 800 for testing system functionality based on production environment data in a test environment may further comprise a second query module 860.
Specifically, the second query module 860 is configured to preferentially utilize the second interface interception component to query, according to the id of the service test scenario in the current thread, the test data corresponding to the id of the service test scenario from the local database.
The device 800 for testing system functions based on data of a production environment in a test environment can preferably inquire whether a locally matched data file exists according to the id of a service test scene in a current thread. If the matching is successful, the system function is tested based on the local test data, so that the test efficiency is further accelerated.
For details not disclosed in the embodiments of the apparatus of the present invention, please refer to the above-described embodiments of the method for testing system functions based on production environment in a test environment, since the respective modules of the apparatus 800 for testing system functions based on production environment in a test environment according to the exemplary embodiments of the present invention can be used to implement the steps of the above-described exemplary embodiments of the method for testing system functions based on production environment in a test environment according to the exemplary embodiments of the present invention described in fig. 4 to 5.
It is understood that the test scenario configuration table acquisition module 810, the configuration module 820, the first query module 830, the processing module 840, the test module 850, and the second query module 860 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the test scenario configuration table obtaining module 810, the configuration module 820, the first query module 830, the processing module 840, the test module 850, and the second query module 860 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations of software, hardware, and firmware. Alternatively, at least one of the test scenario configuration table acquisition module 810, the configuration module 820, the first query module 830, the processing module 840, the test module 850, and the second query module 860 may be implemented at least in part as a computer program module that, when executed by a computer, may perform the functions of the respective module.
Referring now to FIG. 10, shown is a block diagram of a computer system 1000 suitable for use with the electronic device implementing an embodiment of the present invention. The computer system 1000 of the electronic device shown in fig. 10 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the method applied to the data testing system function based on the production environment in the production environment or the method applied to the data testing system function based on the production environment in the testing environment as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 4: in step S410, a test scenario configuration table is obtained from the test scenario server, where the test scenario configuration table includes an id of a service test scenario. In step S420, the id of the service test scenario in the test scenario configuration table is configured to the current thread. In step S430, according to the id of the service test scenario in the current thread, the test data corresponding to the id of the service test scenario is queried from the database in the test scenario server. In step S440, the second interface interception component is utilized to process the test data, and the processing result is used as a return value. In step S450, the functionality of the system is tested based on the return values in the test environment.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

1. A method for testing system functions based on data of a production environment is applied to the production environment of a system, and is characterized in that a first interface interception component is deployed in the production environment, and the method comprises the following steps:
acquiring an interface configuration table from a test scene server, wherein an interface in the interface configuration table is an intercepted interface;
when the service logic in the production environment is called, detecting whether a current calling interface is an interface in the interface configuration table by using the first interface interception component;
if the current calling interface is an interface in the interface configuration table, processing a calling return result of the current calling interface by using the first interface interception component;
and sending the processing result and the id of the calling request to the test scene server so that the test scene server stores the processing result in a database according to the id of the calling request.
2. The method of claim 1, wherein processing the call return result of the current call interface with the first interface intercept component comprises:
and utilizing the first interface interception component to perform serialization processing on the call return result of the current call interface in a preset data format to obtain the character string in the preset format.
3. The method of claim 1, wherein before sending the processing result and the id of the invocation request to the test scenario server, the method further comprises:
detecting whether the unique id of the calling request exists in the current thread by using the first interface interception component;
if the unique id of the calling request exists, acquiring the id of the calling request; or if the unique calling request id does not exist, generating the unique calling request id and obtaining the calling request id.
4. A method for testing system functions based on data of a production environment is applied to a test environment of a system, and is characterized in that a second interface interception component is deployed in the test environment, and the method comprises the following steps:
acquiring a test scene configuration table from a test scene server, wherein the test scene configuration table comprises an id of a service test scene;
configuring the id of the service test scene in the test scene configuration table to the current thread;
according to the id of a service test scene in the current thread, inquiring test data corresponding to the id of the service test scene from a database in a test scene server, wherein the test data is a character string obtained by intercepting data in a production environment through a first interface interception component and serializing the data, the first interface interception component is different from the second interface interception component, and the first interface interception component is deployed in the production environment of the system;
processing the test data by using the second interface interception component, and taking a processing result as a return value;
testing, in the test environment, a function of the system based on the return value.
5. The method of claim 4, wherein before querying the database in the test scenario server for the test data corresponding to the id of the business test scenario according to the id of the business test scenario in the current thread, the method further comprises:
and preferentially utilizing the second interface interception component to inquire test data corresponding to the id of the service test scene from a local database according to the id of the service test scene in the current thread.
6. The method of claim 4, wherein querying, from a database in the test scenario server, test data corresponding to the id of the business test scenario according to the id of the business test scenario in the current thread comprises:
sending the id of a service test scene in the current thread to the test scene server through an internal interface of the test environment, so that the test scene server matches the id of a call request corresponding to the id of the service test scene from the database based on the id of the service test scene, acquires a test data test corresponding to the id of the service test scene according to the matched id of the call request, and returns the test data to the test environment; and
receiving the test data through an internal interface of the test environment.
7. The method of claim 4, wherein processing the test data using the second interface intercept component and using the processing result as a return value comprises:
and performing deserialization processing on the test data according to the data type of the test data by using the second interface interception component to obtain an object in the test data, and taking the object as the return value.
8. A device for testing system functions based on data of a production environment is applied to the production environment of a system, and is characterized in that a first interface interception component is deployed in the production environment, and the device comprises:
the interface configuration table acquisition module is used for acquiring an interface configuration table from the test scene server, wherein an interface in the interface configuration table is an intercepted interface;
the interface detection module is used for detecting whether a current calling interface is an interface in the interface configuration table or not by utilizing the first interface interception component when the service logic in the production environment is called;
the processing module is used for processing a calling return result of the current calling interface by utilizing the first interface interception component if the current calling interface is an interface in the interface configuration table;
and the sending module is used for sending the processing result and the id of the calling request to the test scene server so that the test scene server stores the processing result in a database according to the id of the calling request.
9. A device for testing system functions based on data of a production environment is applied to a test environment of a system, and is characterized in that a second interface interception component is deployed in the test environment, and the device comprises:
the system comprises a test scene configuration table acquisition module, a test scene configuration table acquisition module and a test scene configuration table acquisition module, wherein the test scene configuration table acquisition module is used for acquiring a test scene configuration table from a test scene server, and the test scene configuration table comprises an id of a service test scene;
the configuration module is used for configuring the id of the service test scene in the test scene configuration table into the current thread;
the first query module is used for querying test data corresponding to the id of the service test scene from a database in the test scene server according to the id of the service test scene in the current thread, the test data is a character string obtained by intercepting data in a production environment through a first interface interception component and serializing the data, the first interface interception component is different from the second interface interception component, and the first interface interception component is deployed in the production environment of the system;
the processing module is used for processing the test data by utilizing the second interface interception component and taking a processing result as a return value;
a test module to test a function of the system based on the return value in the test environment.
10. An electronic device, comprising:
one or more processors; and
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method according to any one of claims 1 to 3 or a method according to any one of claims 4 to 7.
11. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 3 or the method according to any one of claims 4 to 7.
CN202110412744.4A 2021-04-16 2021-04-16 Production environment-based data test system function method and device and related equipment Pending CN112948272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110412744.4A CN112948272A (en) 2021-04-16 2021-04-16 Production environment-based data test system function method and device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110412744.4A CN112948272A (en) 2021-04-16 2021-04-16 Production environment-based data test system function method and device and related equipment

Publications (1)

Publication Number Publication Date
CN112948272A true CN112948272A (en) 2021-06-11

Family

ID=76232822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110412744.4A Pending CN112948272A (en) 2021-04-16 2021-04-16 Production environment-based data test system function method and device and related equipment

Country Status (1)

Country Link
CN (1) CN112948272A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672513A (en) * 2021-08-23 2021-11-19 四川新网银行股份有限公司 System and method for automatically generating test baffle
CN113778507A (en) * 2021-07-26 2021-12-10 北京芬香科技有限公司 Supporting pipe type online method and system
CN115225666A (en) * 2022-07-07 2022-10-21 支付宝(杭州)信息技术有限公司 Production drilling method, device and system, emergency rule platform and injection platform
CN115276968A (en) * 2022-07-08 2022-11-01 中国第一汽车股份有限公司 Third-party platform HTTP callback distribution method, system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563575A (en) * 2018-04-16 2018-09-21 百度在线网络技术(北京)有限公司 Applied program testing method, device, terminal and computer readable storage medium
CN109446063A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, device, computer equipment and storage medium
CN109688202A (en) * 2018-12-04 2019-04-26 北京腾云天下科技有限公司 A kind of processing method of interface data, calculates equipment and storage medium at device
CN112380115A (en) * 2020-11-09 2021-02-19 中国人寿保险股份有限公司 Regression testing method and device, electronic equipment and storage medium
CN112463605A (en) * 2020-11-26 2021-03-09 杭州网易云音乐科技有限公司 Automatic testing method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563575A (en) * 2018-04-16 2018-09-21 百度在线网络技术(北京)有限公司 Applied program testing method, device, terminal and computer readable storage medium
CN109446063A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, device, computer equipment and storage medium
CN109688202A (en) * 2018-12-04 2019-04-26 北京腾云天下科技有限公司 A kind of processing method of interface data, calculates equipment and storage medium at device
CN112380115A (en) * 2020-11-09 2021-02-19 中国人寿保险股份有限公司 Regression testing method and device, electronic equipment and storage medium
CN112463605A (en) * 2020-11-26 2021-03-09 杭州网易云音乐科技有限公司 Automatic testing method and device, storage medium and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778507A (en) * 2021-07-26 2021-12-10 北京芬香科技有限公司 Supporting pipe type online method and system
CN113778507B (en) * 2021-07-26 2024-02-20 北京芬香科技有限公司 Method and system for supporting pipe type online
CN113672513A (en) * 2021-08-23 2021-11-19 四川新网银行股份有限公司 System and method for automatically generating test baffle
CN115225666A (en) * 2022-07-07 2022-10-21 支付宝(杭州)信息技术有限公司 Production drilling method, device and system, emergency rule platform and injection platform
CN115276968A (en) * 2022-07-08 2022-11-01 中国第一汽车股份有限公司 Third-party platform HTTP callback distribution method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112948272A (en) Production environment-based data test system function method and device and related equipment
CN111897724B (en) Automatic testing method and device suitable for cloud platform
CN112667426B (en) Log analysis method and device
CN111831542B (en) API application debugging method and device and storage medium
CN111597120B (en) Interface test apparatus, method, electronic device, and computer-readable storage medium
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN113076253A (en) Test method and test device
CN112187558A (en) Data verification method and device and electronic equipment
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
CN113360377B (en) Test method and device
CN111880786A (en) Multi-application sharing method, system, device, electronic equipment and storage medium
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN110838929B (en) System error checking method and system error checking device
CN107247661B (en) Method and system for supporting automatic verification of installation package of application
CN111666201A (en) Regression testing method, device, medium and electronic equipment
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN114116509A (en) Program analysis method, program analysis device, electronic device, and storage medium
CN112182083A (en) File generation method, device, equipment and storage medium
CN112783903B (en) Method and device for generating update log
CN113742235A (en) Method and device for checking codes
CN110618943B (en) Security service test method and device, electronic equipment and readable storage medium
CN113434382A (en) Database performance monitoring method and device, electronic equipment and computer readable medium
CN108288135B (en) System compatibility method and device, computer readable storage medium and electronic equipment
CN108089899B (en) Method and device for realizing query report
CN112579428A (en) Interface testing method and device, electronic equipment and storage medium

Legal Events

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