CN110532184B - Method, device, computer equipment and storage medium for multi-scene simulation response - Google Patents

Method, device, computer equipment and storage medium for multi-scene simulation response Download PDF

Info

Publication number
CN110532184B
CN110532184B CN201910810388.4A CN201910810388A CN110532184B CN 110532184 B CN110532184 B CN 110532184B CN 201910810388 A CN201910810388 A CN 201910810388A CN 110532184 B CN110532184 B CN 110532184B
Authority
CN
China
Prior art keywords
service
mock
forwarding
request
simulation response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910810388.4A
Other languages
Chinese (zh)
Other versions
CN110532184A (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.)
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanrong Lianyi Information Technology Service 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 Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority to CN201910810388.4A priority Critical patent/CN110532184B/en
Publication of CN110532184A publication Critical patent/CN110532184A/en
Application granted granted Critical
Publication of CN110532184B publication Critical patent/CN110532184B/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/3664Environments for testing or debugging software
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

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 application discloses a method, a device, computer equipment and a storage medium for multi-scene simulation response, wherein the method comprises the following steps: configuring a multi-scene simulation response mode of each service system in a mock system in advance; configuring the starting or closing of a mock system through an intermediate system, starting the mock system when a service system needs to be tested, and closing the mock system when the service system needs to be forwarded; when a test request of a service system is received, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response; and when receiving a service request of a service system, forwarding the service request to an external system interface through the intermediate system. The method and the device can flexibly set under the condition that the service systems are numerous and interface interaction with an external system interface is needed, so that the quick response of the service systems can be realized, and the development, test and joint debugging time is shortened.

Description

Method, device, computer equipment and storage medium for multi-scene simulation response
Technical Field
The present invention relates to the field of service testing, and in particular, to a method, an apparatus, a computer device, and a storage medium for multi-scenario simulation response.
Background
At present, in the development process of the service system, testing is required, and after the testing is completed, an external system interface is required to be connected so as to process corresponding service. The business system is that in such a process, test and business processing are repeated. For a single service system, the process is not very complex, but as the service systems are increased, each service system needs to be connected with different external systems in an interfacing way, and meanwhile, tests of different scenes need to be performed, so that the whole development, testing, joint debugging and the like are very high in cost, low in efficiency and difficult to manage and maintain.
Content of the application
The embodiment of the application provides a method, a device, computer equipment and a storage medium for multi-scene simulation response, which aim to solve the problems of long development and test time and low efficiency under the condition of a plurality of service systems in the prior art.
In a first aspect, embodiments of the present application provide a method for multi-scenario simulation response, including:
configuring a multi-scene simulation response mode of each service system in a mock system in advance;
configuring the starting or closing of a mock system through an intermediate system, starting the mock system when a service system needs to be tested, and closing the mock system when the service system needs to be forwarded;
when a test request of a service system is received, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response;
and when receiving a service request of a service system, forwarding the service request to an external system interface through the intermediate system.
In a second aspect, embodiments of the present application provide an apparatus for multi-scenario simulation response, including:
the first configuration module is used for configuring a multi-scene simulation response mode of each service system in the mock system in advance;
the second configuration module is used for configuring the starting or closing of the mock system through an intermediate system, starting the mock system when the service system needs to be tested, and closing the mock system when the service system needs to be forwarded;
the simulation response module is used for forwarding the test request to the mock system through the intermediate system when the test request of the service system is received so as to perform multi-scene simulation response;
and the service forwarding module is used for forwarding the service request to an external system interface through the intermediate system when receiving the service request of the service system.
In a third aspect, embodiments of the present application provide a computer apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method of the first aspect of the multi-scenario simulation response when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing a method of multi-scenario simulation response according to the first aspect.
The embodiment of the application provides a method for multi-scene simulation response, which comprises the following steps: configuring a multi-scene simulation response mode of each service system in a mock system in advance; configuring the starting or closing of a mock system through an intermediate system, starting the mock system when a service system needs to be tested, and closing the mock system when the service system needs to be forwarded; when a test request of a service system is received, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response; and when receiving a service request of a service system, forwarding the service request to an external system interface through the intermediate system. The method can be flexibly set under the conditions that the service systems are numerous and interface interaction with a plurality of external system interfaces is needed, can be quickly switched to a mock system when development and test are needed, and can be connected to the external system interfaces when service forwarding is needed. Therefore, the quick response of the service system can be realized, and the development, test and joint debugging time is shortened. The embodiment of the application also provides a device for multi-scene simulation response, a computer readable storage medium and a computer device, which have the beneficial effects and are not described herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for multi-scenario simulation response provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for multi-scenario simulation response according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flowchart of a method for multi-scenario simulation response according to an embodiment of the present application, where the method may include the following steps:
s101, configuring a multi-scene simulation response mode of each service system in a mock system in advance;
the mock system is a system which is created by using a virtual object for testing certain objects which are not easy to construct or easy to obtain in the process of testing a service system.
The virtual object is a mock object. mock objects are substitutes for real objects during debugging. Real objects (such as stock quotes and weather forecast) have uncertain behaviors and generate unpredictable effects, so that the real objects are difficult to be created in an actual scene, and virtual objects need to be created in a mock system. An interface may be used specifically to describe this virtual object. In mock systems, mock objects can be used for testing, mainly to simulate tools that are not easily built in applications (e.g., httpServletRequest must be built in Servlet containers) or are relatively complex objects (e.g., resultSet objects in JDBC) to facilitate testing. Currently, the main Mock test tools in Java camps are JMock, mockCreator, mockrunner, easyMock, mockMaker, etc., and in microsoft. As a specific example, the alarm clock can be used for reminding service according to time, if the time passes by 5 pm, the audio file is played to remind the user of working, if the real object is used for testing, the user can only wait for five pm, then the ear is placed beside the loudspeaker box, and the mock object can be used for testing, so that the time can be controlled in a simulated mode without waiting for the clock to turn to 5 pm.
In this step, a multi-scenario simulation response mode of each service system needs to be configured in the mock system. For example, for identity verification name authentication of the service system A, three scenes of consistent real-name authentication, inconsistent real-name authentication and failure of the real-name authentication can be configured. Or, for the three-element verification of the mobile phone of the service system B, two scenes of consistent verification and inconsistent verification can be configured and returned.
Further, the step S101 includes:
and configuring a multi-scene simulation response mode of each service system in a database of the mock system.
The method comprises the steps that a database is arranged in the mock system, or a database is connected outside the mock system, and configuration is carried out in the database, so that the mock system can acquire corresponding data from the database and store the corresponding data when testing.
S102, configuring the starting or closing of a mock system through an intermediate system, starting the mock system when a service system needs to be tested, and closing the mock system when the service system needs to be forwarded;
the intermediate system is similar to a gateway, and the intermediate system is used for forwarding when the service system needs to access an external system interface or the external system interface needs to access the service system in the application.
The intermediate system is also similar to a switch, by means of which the mock system can be switched on or off. When the service system needs to be tested, the mock system is started through the intermediate system configuration so as to develop and test the service system, and therefore response of multiple scenes is simulated. When the service system is required to be forwarded, the mock system is closed through the configuration of the intermediate system, so that the service of the service system can be forwarded through the intermediate system, and the service can be forwarded to an external system interface.
S103, when a test request of a service system is received, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response;
the step is that the multi-service system carries out multi-scene simulation response. Specifically, the step S103 includes: step one, when a test request of a service system is received, setting and starting a mock system in the intermediate system; and step two, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response.
In the process, when a test request of the service system is received, a mock system switch is started through the intermediate system, and then the test request is forwarded to the mock system through the intermediate system to perform multi-scene simulation response.
S104, when receiving the service request of the service system, forwarding the service request to an external system interface through the intermediate system.
The step is to forward the business for the multi-business system. Specifically, the step S104 includes: step one, when a service request of a service system is received, setting a mock system to be closed in the intermediate system; and step two, forwarding the service request to an external system interface through the intermediate system.
In the above process, when a service request of the service system is received, the mock system is closed through the intermediate system, and then the service request is forwarded to the external system interface through the intermediate system, so that the service can be processed in time.
Further, the method for multi-scene simulation response further comprises:
and when receiving a service request of an external system interface, forwarding the service request to a corresponding service system through the intermediate system.
The intermediate system not only can realize the forwarding of the service request of the service system, but also can forward the service request of the service system to an external system interface; and meanwhile, the service request of the external system interface can be forwarded through the intermediate system, namely, the service request of the external system interface is forwarded to the service system.
Further, the method for multi-scene simulation response further comprises:
the starting or closing of the mock system is preset in the intermediate system.
That is, in the embodiment of the present application, the on or off of the mock system may be preset. For example, the mock system is started first, then development and testing of the service system are carried out in a period of time, then the mock system is closed, and service forwarding of the service system is carried out in a next period of time.
Of course, in the embodiment of the present application, after each time a request is received, the type of the request may be confirmed, and when the request type is a test request, the mock system is opened through the intermediate system, and when the request type is a service request, the mock system is closed through the intermediate system.
In order to make the development test and the forwarding of the service more flexible, it is preferable to determine whether to open the mock system according to the type of the request after each request is received, so that optimization and improvement can be performed more flexibly and conveniently at the service system end.
In addition, in the embodiment of the present application, various data may be counted by the intermediate system, for example, counting the number of times the intermediate system opens the mock system, the number of times the mock system closes the mock system, the time duty ratio of the mock system in the open state, and the time duty ratio of the mock system in the closed state in one period. Thus, the data can be counted cycle by cycle, and the user can conveniently know the state of the mock system. For example, the period is 1 day, the number of times the mock system is opened, the number of times the mock system is closed, the time proportion of the mock system in the opened state and the time proportion of the mock system in the closed state can be counted, and the total number of times the mock system is opened, the total time of the mock system in the opened state and the total time of the mock system in the closed state can be obtained through the data, so that the utilization rate of the mock system can be known macroscopically. Then, a chart can be made according to the data, for example, in one period, the chart is made by taking time as an axis and taking a switching state as an index (divided into an open state and a closed state), so that a user can monitor the switching state of the mock system in each period conveniently, and timely find some abnormal conditions, for example, the test frequency of the mock system is high in one period, and the test frequency of the mock system is low in the other period, and the test frequency of the mock system can be properly regulated so as to balance the test frequency of the mock system.
In addition, the starting service system of the mock system can be started, the starting service system of the mock system can be closed, the time of starting the mock system each time, and the time of closing the mock system each time can be counted through the intermediate system, for example, the period is 1 day, so that the request initiated by which service system in 1 day can be counted to cause the mock system to be started, the request initiated by which service system can cause the mock system to be closed, the time of starting the mock system each time, and the time of closing the mock system each time. Through the data, the service system can have microscopic knowledge, namely, the frequency of testing the service systems is high, the frequency of forwarding the service systems is high, the service systems are frequently opened and closed at the time in a period. And then a chart is made for the condition of each service system so as to know the development test and forwarding condition of each service system in each period. For example, for each service system, drawing is performed with time as an axis and requests as indexes (divided into service requests and test requests), so that a user can monitor the request condition of the service system in each period conveniently, and find some abnormal conditions in time, for example, the frequency of sending test requests and forwarding requests by the service system is high in one time period, and the frequency of sending forwarding requests and forwarding requests by the service system is low in another time period, so that appropriate adjustment can be performed. Meanwhile, according to the situation of each service system counted in the step and the situation of the mock system, the test and forwarding of each service system can be comprehensively conducted, so that the statistics result of the intermediate system is utilized to conduct deeper analysis.
Further, the method for multi-scene simulation response further comprises:
when the positive and negative use cases of different service scenes are required to be tested for the service system, setting a corresponding multi-scene simulation response mode in a database of the mock system.
In the embodiment of the present application, the positive and negative use cases of the test required by the service system may be different according to different service scenarios, so that different multi-scenario simulation response modes need to be set so as to test the corresponding service scenarios.
In the embodiment of the present application, since the mock system needs to perform multi-scenario simulation response to different service systems, it is required to configure the multi-scenario simulation response modes of different service systems, so that it is required to perform classification configuration and classification storage of the multi-scenario simulation response modes of each service system, that is, to store the multi-scenario simulation response modes of each service system on corresponding storage nodes. For example, for the service system a, the corresponding multi-scenario simulation response mode is stored in the node 1 (storage node) of the database; for the service system B, storing the corresponding multi-scene simulation response mode in the node 2 of the database; for the service system C, its corresponding multi-scenario analog response mode is stored in node 3 of the database.
Meanwhile, for each service system, since the analog response mode is implemented under multiple scenes, even for each service system, the storage node of each service system is still divided into a plurality of storage sub-nodes, and each storage sub-node corresponds to one scene, that is, the storage sub-node is the analog response mode for storing a single scene.
Further, key fields of the service system are set on the storage node so as to identify the service system, and key fields of the scene are set on the storage sub-node so as to identify the scene of the service system. In this way, after receiving the test request forwarded by the intermediate system, the mock system analyzes the request, confirms the source of the request, namely, obtains the key field of the service system and the key field of the scene carried in the request, searches the corresponding storage node according to the key field of the service system, searches the corresponding storage sub-node according to the key field of the scene after searching the storage node, and further performs a simulation response according to the content of the storage sub-node.
After the mock system performs simulation response, a simulation response result is generated, key fields of the service system are added to the simulation response result through corresponding storage nodes, the simulation response result is sent to an intermediate system, the intermediate system searches for the corresponding service system according to the key fields of the service system carried in the simulation response result, and then the simulation response result is forwarded to the corresponding service system.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a device for multi-scenario simulation response according to an embodiment of the present application;
the apparatus may include:
a first configuration module 201, configured to configure a multi-scenario simulation response mode of each service system in advance in a mock system;
a second configuration module 202, configured to configure, through an intermediate system, on or off of a mock system, and when a service system needs to be tested, turn on the mock system, and when a service system needs to be forwarded, turn off the mock system;
the simulation response module 203 is configured to forward, when a test request of a service system is received, the test request to a mock system through the intermediate system, so as to perform a multi-scenario simulation response;
and the service forwarding module 204 is configured to forward, when receiving a service request of a service system, the service request to an external system interface through the intermediate system.
Further, the apparatus for multi-scenario simulation response further comprises:
and the external forwarding module is used for forwarding the service request to a corresponding service system through the intermediate system when receiving the service request of the external system interface.
Further, the apparatus for multi-scenario simulation response further comprises:
the preset module is used for presetting the starting or closing of the mock system in the intermediate system.
Further, the analog response module 203 includes:
the starting unit is used for setting a mock system to be started in the intermediate system when a test request of the service system is received;
and the test unit is used for forwarding the test request to the mock system through the intermediate system so as to perform multi-scene simulation response.
Further, the service forwarding module 204 includes:
the closing unit is used for setting a mock system to be closed in the intermediate system when a service request of the service system is received;
and the forwarding unit is used for forwarding the service request to an external system interface through the intermediate system.
Further, the first configuration module 201 includes:
the configuration unit is used for configuring the multi-scene simulation response modes of each service system in the database of the mock system.
Further, the apparatus for multi-scenario simulation response further comprises:
the setting module is used for setting a corresponding multi-scene simulation response mode in a database of the mock system when the positive and negative use cases of different service scenes need to be tested on the service system.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed, can implement the method provided by the above-mentioned embodiments. The storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The application also provides a computer device, which may include a memory and a processor, where the memory stores a computer program, and the processor may implement the method provided in the foregoing embodiment when calling the computer program in the memory. Of course the computer device may also include various network interfaces, power supplies, and the like.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (6)

1. A method of multi-scenario simulation response, comprising:
configuring a multi-scene simulation response mode of each service system in a mock system in advance;
configuring the starting or closing of a mock system through an intermediate system, starting the mock system when a service system needs to be tested, and closing the mock system when the service system needs to be forwarded;
when a test request of a service system is received, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response;
when a service request of a service system is received, forwarding the service request to an external system interface through the intermediate system;
when receiving a service request of an external system interface, forwarding the service request to a corresponding service system through the intermediate system;
setting the starting or closing of a mock system in an intermediate system in advance;
counting the times of opening the mock system, the times of closing the mock system, the time duty ratio of the mock system in an opening state and the time duty ratio of the mock system in a closing state of the intermediate system in one period, and then making a chart by taking time as an axis according to the data; counting the starting service system of the mock system, the moment of opening the mock system each time and the moment of closing the mock system each time in one period by an intermediate system, and then making a chart by taking time as an axis according to the data;
when receiving a test request of a service system, forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response comprises: when a test request of a service system is received, setting and starting a mock system in the intermediate system; forwarding the test request to a mock system through the intermediate system so as to perform multi-scene simulation response;
when receiving a service request of a service system, forwarding the service request to an external system interface through the intermediate system includes: when a service request of a service system is received, setting a closing mock system in the intermediate system; and forwarding the service request to an external system interface through the intermediate system.
2. The method of claim 1, wherein the configuring the multi-scenario simulation response mode of each service system in the mock system in advance comprises:
and configuring a multi-scene simulation response mode of each service system in a database of the mock system.
3. The method of multi-scenario simulation response of claim 2, further comprising:
when the positive and negative use cases of different service scenes are required to be tested for the service system, setting a corresponding multi-scene simulation response mode in a database of the mock system.
4. An apparatus for multi-scenario simulation response, comprising:
the first configuration module is used for configuring a multi-scene simulation response mode of each service system in the mock system in advance;
the second configuration module is used for configuring the starting or closing of the mock system through an intermediate system, starting the mock system when the service system needs to be tested, and closing the mock system when the service system needs to be forwarded;
the simulation response module is used for forwarding the test request to the mock system through the intermediate system when the test request of the service system is received so as to perform multi-scene simulation response;
the service forwarding module is used for forwarding the service request to an external system interface through the intermediate system when receiving the service request of the service system;
the external forwarding module is used for forwarding the service request to a corresponding service system through the intermediate system when receiving the service request of an external system interface;
the preset module is used for presetting the starting or closing of the mock system in the intermediate system;
the statistics module is used for counting the times of opening the mock system, the times of closing the mock system, the time duty ratio of the mock system in an opening state and the time duty ratio of the mock system in a closing state of the intermediate system in one period, and then making a chart by taking time as an axis according to the data; counting the starting service system of the mock system, the moment of opening the mock system each time and the moment of closing the mock system each time in one period by an intermediate system, and then making a chart by taking time as an axis according to the data;
the analog response module includes: the starting unit is used for setting a mock system to be started in the intermediate system when a test request of the service system is received; the test unit is used for forwarding the test request to the mock system through the intermediate system so as to perform multi-scene simulation response;
the service forwarding module comprises: the closing unit is used for setting a mock system to be closed in the intermediate system when a service request of the service system is received; and the forwarding unit is used for forwarding the service request to an external system interface through the intermediate system.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of multi-scenario simulation response according to any one of claims 1 to 3 when the computer program is executed.
6. A computer readable storage medium, having stored thereon a computer program which when executed by a processor implements a method of multi-scenario simulation response according to any one of claims 1 to 3.
CN201910810388.4A 2019-08-29 2019-08-29 Method, device, computer equipment and storage medium for multi-scene simulation response Active CN110532184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910810388.4A CN110532184B (en) 2019-08-29 2019-08-29 Method, device, computer equipment and storage medium for multi-scene simulation response

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910810388.4A CN110532184B (en) 2019-08-29 2019-08-29 Method, device, computer equipment and storage medium for multi-scene simulation response

Publications (2)

Publication Number Publication Date
CN110532184A CN110532184A (en) 2019-12-03
CN110532184B true CN110532184B (en) 2023-06-30

Family

ID=68665203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910810388.4A Active CN110532184B (en) 2019-08-29 2019-08-29 Method, device, computer equipment and storage medium for multi-scene simulation response

Country Status (1)

Country Link
CN (1) CN110532184B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035344A (en) * 2020-08-13 2020-12-04 天津智融创新科技发展有限公司 Multi-scenario test method, device, equipment and computer readable storage medium
CN112328501A (en) * 2020-11-30 2021-02-05 浙江诺诺网络科技有限公司 Test method, test device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368405B (en) * 2016-05-11 2021-11-09 腾讯科技(北京)有限公司 Test system, test method, mock platform, interceptor and client
CN106528400A (en) * 2016-09-22 2017-03-22 深圳峰创智诚科技有限公司 MOCK testing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970873A (en) * 2017-01-10 2017-07-21 阿里巴巴集团控股有限公司 Mock method of testings, apparatus and system on line

Also Published As

Publication number Publication date
CN110532184A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN103650545B (en) Machine To Machine (M2M) application server, XDMS servers and the method for M2M application group management
US20210357587A1 (en) An intelligent response method and device
CN110532184B (en) Method, device, computer equipment and storage medium for multi-scene simulation response
US20200349920A1 (en) Organizational-based language model generation
CN101556669A (en) Method and device for conducting personalized marketing with user by using human-computer interaction technology
CN110908815B (en) Message queue data early warning method, device and system and storage medium
CN110503408B (en) Business process management system based on custom configuration
US7467066B2 (en) System and method for benchmarking correlated stream processing systems
CN106886535A (en) A kind of data pick-up method and apparatus for being adapted to multiple data sources
CN107820613A (en) Database index is recommended and created automatically
CN110807085A (en) Fault information query method and device, storage medium and electronic device
US20230044850A1 (en) Tracing and exposing data used for generating analytics
US20150268951A1 (en) Subject and audience oriented instant collaborative development
CN104965873A (en) Paging inquiring method and apparatus
CN106777368A (en) Data base query language adaptation method and device, distributed data-storage system
CN110535928A (en) A kind of event method for pushing of the JAVA intelligence contract of block chain
US20200211027A1 (en) Business rules processing framework
CN114328566A (en) Relationship graph updating method, device, medium, equipment and generating method
US20070043752A1 (en) Disparate network model synchronization
CN110380890A (en) A kind of CDN system service quality detection method and system
CN106506212A (en) Abnormal information acquisition methods and user terminal
CN110990381B (en) Processing method and device of server, storage medium and electronic device
CN115941538B (en) Test system, test method and test device for multiparty security calculation
CN106649874A (en) Data interaction method, device and system
CN113672776B (en) Fault analysis method and device

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