Unlock instant, AI-driven research and patent intelligence for your innovation.

Business test method and device, electronic equipment and storage medium

A technology of business testing and electronic equipment, applied in the field of testing, can solve problems such as difficulty in ensuring the availability of external systems, affecting test tasks, and bad effects on test efficiency

Pending Publication Date: 2022-04-08
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing testing tools will perform unit tests on the services that need to be tested, but when testing services that need to call external systems, the testing tools need the external systems to be available before testing can be carried out. However, when performing multi-system joint debugging In the test task, it is difficult to ensure that each external system is in an available state. As long as an external system is in an unavailable state, it will affect the overall test task, which has a very bad impact on the current test efficiency.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Business test method and device, electronic equipment and storage medium
  • Business test method and device, electronic equipment and storage medium
  • Business test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a schematic flow chart of a business testing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation that the test cannot be continued when the external system service is unavailable during multi-system joint debugging. This method can be executed by a business testing device. The device can be implemented by software and / or hardware, and can be configured in a terminal and / or server to implement the service testing method in the embodiment of the present invention.

[0029] like figure 1 As shown, the method of this embodiment may specifically include:

[0030] S110. Receive a service test request for testing a target service, and determine a target external service system corresponding to the service test request.

[0031] Wherein, the target service may be a service that needs to be tested, corresponding to a target external service system, and the test needs to access the target external service syste...

Embodiment 2

[0056] figure 2 It is a schematic flow chart of a business testing method provided in Embodiment 2 of the present invention. On the basis of any optional technical solution in the embodiment of the present invention, this embodiment optionally combines the generation and the target external service The simulated response data corresponding to the system includes: obtaining target service parameters corresponding to the service test request, and generating simulated response data according to the target service parameters.

[0057] Such as figure 2 As shown, the method in this embodiment may specifically include:

[0058] S210. Receive a service test request for testing a target service, and determine a target external service system corresponding to the service test request.

[0059] S220. If the target external service system is in an unavailable state, acquire target service parameters corresponding to the service test request, and generate simulated response data accord...

Embodiment 3

[0089] Figure 4 It is a schematic structural diagram of a service testing device provided in Embodiment 3 of the present invention. The service testing device provided in this embodiment can be realized by software and / or hardware, and can be configured in a terminal and / or server to realize the implementation of the present invention The business test method in the example. The device may specifically include: a service test request accepting module 310 , a simulated response data generating module 320 and a service test module 330 .

[0090] Among them, the service test request accepting module 310 is used to receive a service test request for testing the target service, and to determine the target external service system corresponding to the service test request; the simulation response data generation module 320 is used to if the target external service system If the service system is in an unavailable state, simulated response data corresponding to the target external s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a business test method and device, electronic equipment and a storage medium, and the method comprises the steps: receiving a business test request for testing a target business, and determining a target external service system corresponding to the business test request; if the target external service system is in the unavailable state, generating simulation response data corresponding to the target external service system; and testing the target service based on the simulation response data. According to the technical scheme provided by the embodiment of the invention, through the method, the technical problem that the target business cannot be tested when the target external service system is unavailable is solved, and the technical effects that the business test does not completely depend on the availability of the target external service system and the test of the target business can be completed are achieved.

Description

technical field [0001] The embodiments of the present invention relate to the field of testing, and in particular, to a service testing method, device, electronic equipment, and storage medium. Background technique [0002] With the development of computer technology, software applications are becoming more and more extensive, and the requirements for testing various software systems are gradually increasing. [0003] Existing testing tools will perform unit tests on the services that need to be tested, but when testing services that need to call external systems, the testing tools need the external systems to be available before testing can be carried out. However, when performing multi-system joint debugging In the test task, it is difficult to ensure that all external systems are available. As long as an external system is unavailable, it will affect the overall test task, which has a very bad impact on the current test efficiency. Contents of the invention [0004] Th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 马剑
Owner AGRICULTURAL BANK OF CHINA