WO2021083144A1 - 多业务系统的业务质量测试 - Google Patents

多业务系统的业务质量测试 Download PDF

Info

Publication number
WO2021083144A1
WO2021083144A1 PCT/CN2020/124034 CN2020124034W WO2021083144A1 WO 2021083144 A1 WO2021083144 A1 WO 2021083144A1 CN 2020124034 W CN2020124034 W CN 2020124034W WO 2021083144 A1 WO2021083144 A1 WO 2021083144A1
Authority
WO
WIPO (PCT)
Prior art keywords
test platform
business
test
atomic
atomic operation
Prior art date
Application number
PCT/CN2020/124034
Other languages
English (en)
French (fr)
Inventor
鲍佳娜
张慧
Original Assignee
口碑(上海)信息技术有限公司
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 口碑(上海)信息技术有限公司 filed Critical 口碑(上海)信息技术有限公司
Publication of WO2021083144A1 publication Critical patent/WO2021083144A1/zh

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

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a method and system for testing the service quality of a multi-service system, a computer storage medium, and a computing device.
  • the C-end user places an order from the A application, and the A application pushes the order to the ISV service provider, and then the ISV service provider pushes the order to the merchant's POS machine.
  • the merchant chooses to accept or reject the order through the POS machine.
  • operations such as synchronizing order status (such as preparing meals, cooking, and fetching meals, etc.)
  • the entire ordering business has a strong dependence on the A application and the ISV business system. If any party has a problem, it may affect the whole The ordering business has an impact.
  • ISV service problems have caused the success rate of merchants to receive orders to drop to zero, which directly affects the business of the merchants.
  • Related technical means find and deal with online problems through monitoring, but at this time online business has already caused damage.
  • the present disclosure is proposed to provide a method and system for testing the service quality of a multi-service system, a computer storage medium and a computing device, which overcomes the above-mentioned problems or at least partially solves the above-mentioned problems, can open up the multi-service system and realize Automated testing of complete business links in series can detect problems in advance and ensure online business.
  • a method for testing the service quality of a multi-service system is provided.
  • Each service system in the multi-service system has its own test platform, and the test platform of each service system provides the service externally.
  • the atomic operation capability of the system includes:
  • the multiple atomic operations are invoked through at least one test platform that externally provides atomic operation capabilities, and then the invoked atomic operations are used to invoke the business system to which each atomic operation belongs to perform business operations, and each atomic operation corresponds to a test
  • the platform performs test point verification on the atomic operation and generates node verification results;
  • the invoking the plurality of atomic operations through at least one test platform includes: invoking the plurality of atomic operations through an atomic operation interface of the at least one test platform that provides the atomic operation capability.
  • the method further includes constructing a business object for testing in each of the business systems;
  • Said using the called atomic operation to invoke the business system to which each atomic operation belongs to execute the business operation includes: using the called atomic operation to invoke the business system to which each atomic operation belongs, and to The business object under test performs business operations.
  • the invoking the plurality of atomic operations through at least one test platform includes: submitting identity verification information to the at least one test platform, and after the identity verification information is verified, pass the at least one test platform Invoke the multiple atomic operations.
  • the method further includes: selecting any test platform from the at least one test platform as the first test platform, and organizing and invoking the multiple atomic operations by the first test platform.
  • the organizing and invoking the plurality of atomic operations by the first test platform includes: invoking, by the first test platform, the plurality of atomic operations based on the invocation sequence of each of the plurality of atomic operations.
  • An atomic operation transfers the business operation result of the current atomic operation to the next atomic operation, so that the next atomic operation executes the business operation based on the business operation result of the current atomic operation.
  • a second test platform other than the first test platform in the at least one test platform synchronizes the node verification result generated by itself to the first test platform;
  • Collecting the node verification results generated by the test platform corresponding to each of the atomic operations includes: the first test platform receives the node verification result synchronized by the second test platform to collect the at least one test platform generated The node verification result.
  • the method further includes: outputting the service quality report of the multi-service system in a preset output manner.
  • the method further includes: establishing a test platform for a new business system and adding the test platform for the new business system to the multi-service system, the The test platform of the new business system provides external atomic operation capabilities of the business system.
  • a service quality test system for a multi-service system.
  • Each service system in the multi-service system has its own test platform, and the test platform of each service system is provided externally.
  • the atomic operation capability of the business system; the business quality test system includes:
  • the determining unit is configured to determine multiple atomic operations corresponding to the set business scenario when the set business scenario is tested;
  • the test unit is configured to invoke the plurality of atomic operations through at least one external test platform that provides the atomic operation capability, and then use the invoked atomic operations to invoke the business system to which each atomic operation belongs to perform business operations.
  • the test platform corresponding to the atomic operation performs test point verification on the atomic operation, and generates a node verification result;
  • the generating unit is configured to collect and analyze the node verification results generated by the test platform corresponding to each atomic operation, and generate a service quality report of the multi-service system.
  • test unit is further configured to: invoke the multiple atomic operations through an atomic operation interface of the at least one test platform.
  • system further includes:
  • a construction unit configured to construct business objects for testing in each of the business systems
  • the test unit is further configured to use the called atomic operation to call the business system to which each atomic operation belongs, and perform business operations on the business object used for testing.
  • test unit is further configured to submit identity verification information to the at least one test platform, and after the identity verification information is verified, invoke the multiple atomic operations through the at least one test platform.
  • test unit is further configured to select any test platform from the at least one test platform as the first test platform, and the first test platform organizes and invokes the multiple atomic operations.
  • test unit is further configured to: call the multiple atomic operations based on the calling sequence of each of the multiple atomic operations, and pass the business operation result of the current atomic operation to the next atomic operation, Therefore, the next atomic operation executes a business operation based on the business operation result of the current atomic operation.
  • system further includes:
  • a synchronization unit configured to synchronize a node verification result generated by itself to the first test platform by a second test platform other than the first test platform among the at least one test platform;
  • the generating unit is further configured to receive the node verification result synchronized by the second test platform to collect the node verification result generated by the at least one test platform.
  • system further includes:
  • the output unit is configured to output the service quality report of the multi-service system in a preset output manner after the generating unit generates the service quality report of the multi-service system.
  • a computer storage medium stores computer program code, and when the computer program code runs on a computing device, it causes the computing device to execute the foregoing The business quality test method of the multi-business system.
  • a computing device including: a processor; a memory storing computer program code; when the computer program code is executed by the processor, the computing device Perform the above-mentioned service quality test method for the multi-service system.
  • Fig. 1 shows a flowchart of a method for testing the service quality of a multi-service system according to an embodiment of the present disclosure
  • Fig. 2 shows a flowchart of a service quality test method of an A service system and an ISV service system according to an embodiment of the present disclosure
  • Figure 3 shows a schematic diagram of the interaction of the A business system, the A test platform, the ISV test platform, and the ISV business system;
  • Figure 4 shows a schematic diagram of a service quality report according to an embodiment of the present disclosure
  • Fig. 5 shows a schematic diagram of a service quality report according to another embodiment of the present disclosure
  • Fig. 6 shows a structural diagram of a service quality test system for a multi-service system according to an embodiment of the present disclosure
  • Fig. 7 shows a structural diagram of a service quality test system of a multi-service system according to another embodiment of the present disclosure
  • Fig. 8 shows a schematic structural diagram of a computing device according to another embodiment of the present disclosure.
  • the quality assurance methods in related technologies are mainly to monitor various business systems and business indicators, find and respond to online problems, and the main processing methods are concentrated after the event.
  • the A application and the ISV business system are separated from each other by domains, and the quality assurance systems are independent of each other in their respective domains. They cannot be opened up, and the complete link of ordering food cannot be connected in series by automated means.
  • the ISV system is simulated through the interface, and the ordering business is connected in series from the C-end user's order to the merchant's order to complete the quality acceptance.
  • order-related releases before the system functions are launched and the business is released, during this gray period, manually return to the ordering business.
  • the embodiments of the present disclosure provide a method and system for testing the service quality of a multi-service system, a computer storage medium, and a computing device, which can open up the multi-service system, realize the automated test of the serial complete service link, and discover in advance Problems to protect online business.
  • Fig. 1 shows a flow chart of a method for testing the service quality of a multi-service system according to an embodiment of the present disclosure.
  • Each business system in the multi-service system has its own test platform, and the respective test platform of each business system provides external atomic operation capabilities of the business system.
  • the multi-service system of the present disclosure includes at least two service systems, such as an A service system and an ISV service system, or more than three service systems, such as an A service system, an ISV1 service system, and an ISV2 service system, and for example A1 business system, A2 business system and ISV business system.
  • Each business system has its own test platform, and each test platform provides external atomic operation capabilities of the business system.
  • the respective test platform of each business system provides the atomic operation capability of the business system to the outside through the atomic operation interface. Therefore, the external party can send a request to call the atomic operation interface to the test platform of the business system, the test platform interacts with the business system according to the request, the business system executes the atomic operation and returns the result of the atomic operation to the test platform, and the test platform returns to the outside The operation result of the atomic operation.
  • the service quality testing method may include the following steps S101 to S104.
  • step S101 when the set business scenario is tested, multiple atomic operations corresponding to the set business scenario are determined.
  • Step S102 Invoke the multiple atomic operations through at least one test platform that externally provides the atomic operation capability, and then use the invoked atomic operations to invoke the business system to which each atomic operation belongs to execute the business operation.
  • step S103 the test platform corresponding to each atomic operation is invoked to perform test point verification on the atomic operation, and a node verification result is generated.
  • Step S104 Collect and analyze the node verification results generated by the test platform corresponding to each atomic operation, and generate a service quality report of the multi-service system.
  • each service system has its own test platform, and the atomic operation capability of the service system is provided externally through the respective test platform of each service system, and the said service system is called through at least one test platform.
  • a plurality of atomic operations and then use the called atomic operations to call the business system to which each atomic operation belongs to perform business operations, and the test platform corresponding to each atomic operation performs test point verification on the atomic operation to generate a node calibration
  • various business systems can be opened up, and the atomic operations of the set business scenarios can be invoked through the test platform that provides atomic operation capabilities to realize the automated testing of the complete business link in series, which can detect problems in advance and ensure online business.
  • the atomic operation here can be the smallest unit of operation. Take the ordering business as an example. Atomic operations can be operations such as adding purchases, subtracting purchases, placing orders, receiving orders, and rejecting orders. These atomic operations can be combined into ordering operations. It should be noted that the examples here are only illustrative and do not limit the embodiments of the present disclosure. In an alternative embodiment, the atomic operation may also be a pre-defined operation for realizing business functions. In the ordering business, the operations of adding purchases and substracting purchases may be regarded as atomic operations.
  • business objects for testing can be constructed in various business systems, such as testing stores, to achieve data isolation, and the online business will not be affected when the business object is tested, that is, This business object is only used for testing and does not provide external services.
  • the called atomic operation invokes its own business system to perform business operations on the business object used for testing.
  • step S102 invoking the atomic operation by the test platform that provides the atomic operation capability includes submitting identity verification information to the test platform that provides the atomic operation capability, and after the identity verification information is verified, pass the test that provides the atomic operation capability.
  • the platform invokes this atomic operation. In this way, through the identity verification of the test platform, the security of the business system can be improved.
  • any one of the above-mentioned at least one test platform can be selected as the designated test platform, and the designated test platform organizes and invokes each of the multiple atomic operations.
  • the above-mentioned at least one test platform can identify and invoke respective atomic operations; or, according to actual applications or empirical settings, multiple test platforms can be selected from the above-mentioned at least one test platform to invoke the multiple Atomic operations.
  • the designated test platform when the designated test platform organizes to call each of the multiple atomic operations, the designated test platform can call the multiple atomic operations based on the calling sequence of each of the multiple atomic operations, and the current atomic operation The business operation result is passed to the next atomic operation, so that the next atomic operation executes the business operation based on the business operation result of the current atomic operation.
  • the node verification results generated by itself are synchronized to the designated test platform, so that the corresponding atomic operations are collected in step S104.
  • the node verification result generated by the test platform may specifically be the node verification result synchronized by other test platforms in the test platform of the multi-service system received by the designated test platform except the designated test platform to collect the nodes generated by at least one of the above-mentioned test platforms Check the result.
  • the embodiment of the present disclosure may also output the service quality report of the multi-service system in a preset output manner.
  • the preset output mode may be text, picture, mail, etc., which is not limited in the embodiment of the present disclosure.
  • a test platform for the new business system can be constructed, and the test of the new business system The platform provides external atomic operation capabilities of the business system.
  • each service system in the multi-service system establishes its own test platform, and each test platform of each service system provides external atomic operation capabilities of the service system. .
  • the catering ordering business includes the A business system and the ISV business system.
  • the A business system provides additional purchases, purchases reductions, and orders executed by the C-end user on the A application.
  • the ISV business system provides merchants with the execution of orders on the POS machine. For operations such as receiving orders, rejecting orders, and synchronizing order status, the A business system and the ISV business system belong to different domains.
  • the embodiments of the present disclosure can build an automatic test regression system for ordering business in online test stores. It should be noted that the A service system listed here is only illustrative and does not limit the embodiments of the present disclosure.
  • Fig. 2 shows a flow chart of a service quality test method of an A service system and an ISV service system according to an embodiment of the present disclosure.
  • the service quality testing method may include the following steps S201 to S206.
  • Step S201 the A test platform of the A business system and the ISV test platform of the ISV business system are established.
  • the A test platform provides external atomic operation capabilities of the A business system
  • the ISV test platform external provides atomic operation capabilities of the ISV business system.
  • the A test platform provides external atomic operation capabilities of the A business system through its own atomic operation interface; the ISV test platform provides external atomic operation capabilities of the ISV business system through its own atomic operation interface.
  • the atomic operation capability of the business system is provided externally. On the one hand, it does not harm the business system. On the other hand, it can standardize the external call interface.
  • the test platform of a business system has no perception of changes on other business systems, such as the A business system The order link of A is changed. At this time, the ISV test platform has no sense, and the A test platform will uniformly adjust the change points.
  • Step S202 building a test store for testing in the A business system and the ISV business system.
  • the test store can be constructed according to the way the ISV business system is connected to the A business system. Specifically, the ISV business system creates a test store, registers the identification information of the test store to the A business system, and the A business system saves the ISV business. The identification information of the system and the test store is convenient for subsequent use.
  • Step S203 Test the set business scenario, and determine multiple atomic operations corresponding to the set business scenario.
  • the set business scenario may be a core scenario in the ordering business jointly formulated by the A test platform and the ISV test platform, such as placing an order in the A business system, receiving an order in the ISV business system, and so on.
  • Step S204 Invoke each atomic operation through a test platform that provides external atomic operation capabilities (for example, a designated test platform), and then use the invoked atomic operation to invoke the business system to which each atomic operation belongs to execute the business operation, and invoke the test corresponding to each atomic operation
  • the platform performs test point verification on the atomic operation and generates node verification results.
  • the A test platform organizes itself to call the order atomic operation, and the called order atomic operation calls the A business system to perform the business operation.
  • the test platform performs test point verification on the atomic operation of the order, and generates node verification results.
  • the A test platform transfers the result of the atomic operation of the order to the atomic operation of the order, the A test platform calls the atomic operation of the ISV test platform, and the atomic operation that is called calls the ISV business system to perform the business operation, and the ISV test
  • the platform performs test point verification on a single atomic operation, and generates node verification results.
  • the ISV test platform may also organize and call each of the multiple atomic operations. Still taking the order of the A business system and the ISV business system as an example, the ISV test platform calls the atomic operation of the A test platform, and the called atomic operation calls the A business system to perform business operations, and the A test platform places the order Atomic operations perform test point verification and generate node verification results. At the same time, the A test platform returns the operation result of the order atomic operation to the ISV test platform. The ISV test platform passes the operation result of the order atomic operation to the order atomic operation.
  • the ISV test platform organizes itself to call the order atomic operation, and the called The order-receiving atomic operation calls the ISV business system to perform business operations, and the ISV test platform performs test point verification on the order-receiving atomic operation, and generates node verification results.
  • step S205 when the test platform is the A test platform, the node verification result synchronized by the ISV test platform is received.
  • Step S206 the A test platform collects and analyzes the node verification result generated by itself and the node verification result synchronized by the ISV test platform, and generates and outputs the service quality reports of the A service system and the ISV service system.
  • the A test platform and the ISV test platform jointly formulate the core scenes in the ordering business. After the ordering-related system is released and before the business is opened, the core scenes are automatically regressed and collected. The verification results of each node in the scene will produce a pre-release quality inspection report, and output and submit it, so that problems can be found in time and online business can be guaranteed.
  • FIG. 3 shows a schematic diagram of the interaction of the A service system, the A test platform, the ISV test platform, and the ISV service system.
  • the ISV test platform calls the additional purchase operation interface to the A test platform to obtain the A order.
  • the called additional purchase operation calls the A business system to perform the business operation and returns the A order to the A test platform, and the A test platform returns the A order to the ISV test platform, so that the ISV test platform obtains the A order.
  • the A business system has no perception of the test process, and the A business system will push the A order to the ISV business system after generating the A order.
  • step2 the A test platform calls the ISV test platform to receive the order operation interface to obtain the order status.
  • the called order receiving operation invokes the ISV business system to perform business operations and returns the order status to the ISV test platform.
  • the ISV test platform returns the order status to the A test platform, so that the A test platform obtains the order status.
  • the ISV business system is unaware of the testing process. After the ISV business system generates the order status, it will push the order status to the A business system.
  • step3 the ISV test platform synchronizes the node verification results to the A test platform.
  • the A test platform collects the verification results of each node on the A side and the ISV side, it produces a quality report and informs relevant personnel.
  • daily online business inspections can also be performed.
  • the A business system and the ISV business system have other business-related announcements. These announcements may affect the ordering business.
  • it is necessary to establish an online function inspection of the ordering business. Trigger the return execution of daily scenario use cases through timed tasks, notify relevant quality personnel of the execution results, and intervene in time.
  • the embodiments of the present disclosure also provide a service quality testing system of the multi-service system.
  • Fig. 6 shows a schematic structural diagram of a service quality test system of a multi-service system according to an embodiment of the present disclosure.
  • Each business system in the multi-service system has its own test platform, and the respective test platform of each business system provides external atomic operation capabilities of the business system.
  • the service quality testing system may include a determining unit 620, a testing unit 630, and a generating unit 640.
  • the determining unit 620 is configured to determine multiple atomic operations corresponding to the set business scenario when the set business scenario is tested;
  • the test unit 630 is configured to invoke the plurality of atomic operations through at least one test platform that externally provides the atomic operation capability, and then use the invoked atomic operations to invoke the business system to which each atomic operation belongs to perform business operations, each The test platform corresponding to the atomic operation performs test point verification on the atomic operation, and generates a node verification result;
  • the generating unit 640 is configured to collect and analyze the node verification results generated by the test platform corresponding to each atomic operation, and generate a service quality report of the multi-service system.
  • the respective test platform of each business system provides the atomic operation capability of the business system to the outside through the atomic operation interface; the test unit 630 is also configured as:
  • the multiple atomic operations are invoked through the atomic operation interface of the at least one test platform.
  • the service quality test system shown in FIG. 6 above may further include a construction unit 710 configured to construct business objects for testing in each of the business systems;
  • the test unit 630 is further configured to use the called atomic operation to call the business system to which each atomic operation belongs, and perform business operations on the business object used for testing.
  • the testing unit 630 is further configured to:
  • the identity verification information is submitted to the at least one test platform, and after the identity verification information is verified, the multiple atomic operations are invoked through the at least one test platform.
  • the testing unit 630 is further configured to:
  • Any one test platform is selected from the at least one test platform as the first test platform, and the multiple atomic operations are organized and invoked by the first test platform.
  • the testing unit 630 is further configured to:
  • the multiple atomic operations are invoked based on the calling sequence of each of the multiple atomic operations, and the business operation result of the current atomic operation is passed to the next atomic operation, so that the next atomic operation is based on the current atomic operation
  • the business operation result of the operation executes the business operation.
  • the service quality test system shown in FIG. 6 above may further include a synchronization unit 720, configured such that, in addition to the first test platform, of the at least one test platform The second test platform of synchronizing the node verification result generated by itself to the first test platform;
  • the generating unit 640 is further configured to receive the node verification result synchronized by the second test platform to collect the node verification result generated by the at least one test platform.
  • the service quality test system shown in FIG. 6 above may further include an output unit 730, configured to: after the generating unit 640 generates the service quality report of the multi-service system, The preset output mode can output the service quality report of the multi-service system.
  • the service quality test system shown in FIG. 6 above may further include a establishing unit 610, configured to establish a test platform for a new service system and set the test platform for the new service system.
  • the test platform is added to the multi-service system, and the test platform of the new service system externally provides the atomic operation capability of the service system.
  • the embodiments of the present disclosure also provide a computer storage medium that stores computer program codes, which when the computer program codes run on a computing device, cause the computing device to execute the services of the above-mentioned multi-service system. Quality testing methods.
  • an embodiment of the present disclosure also provides a computing device 800.
  • the computing device includes: a processor 801; a memory 802 storing computer program codes; During operation, the computing device 800 is caused to execute the above-mentioned service quality testing method of the multi-service system.
  • the functional units in the various embodiments of the present disclosure may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated in one processing unit.
  • the above-mentioned integrated functional unit can be implemented in the form of hardware, or in the form of software or firmware.
  • the integrated functional unit is implemented in the form of software and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present disclosure is essentially or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes several instructions to make a A computing device (for example, a personal computer, a server, or a network device, etc.) executes all or part of the steps of the method described in each embodiment of the present disclosure when running the instructions.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disks or optical disks and other media that can store program codes.
  • all or part of the steps of the foregoing method embodiments may be implemented by a program instructing related hardware (computing devices such as a personal computer, a server, or a network device), and the program instructions may be stored in a computer readable storage
  • the program instructions when executed by the processor of the computing device, the computing device executes all or part of the steps of the methods described in the embodiments of the present disclosure.
  • a method for testing service quality of a multi-service system including:
  • the atomic operation is invoked through the test platform that provides the atomic operation capability, and then the invoked atomic operation invokes its own business system to execute the business operation, and invokes the test platform of the atomic operation Perform test point verification on the atomic operation and generate node verification results;
  • the respective test platform of each business system provides the atomic operation capability of the business system to the outside through the atomic operation interface;
  • Invoking the atomic operation through a test platform that provides the atomic operation capability includes:
  • A3 The method according to A1, further comprising: constructing business objects for testing in each of the business systems;
  • the called atomic operation invokes its own business system to perform business operations, including:
  • the called atomic operation invokes its own business system to perform business operations on the business object used for testing.
  • the identity verification information is submitted to the test platform that provides the atomic operation capability, and after the identity verification information is verified, the atomic operation is invoked through the test platform that provides the atomic operation capability.
  • test platforms of the multi-service system is selected as a designated test platform, and the designated test platform organizes and calls each of the multiple atomic operations.
  • the designated test platform organizes and invokes each of the multiple atomic operations, including:
  • the designated test platform organizes the calling sequence of each of the multiple atomic operations, and transfers the business operation result of the current atomic operation to the next atomic operation, so that the next atomic operation is based on the business operation of the current atomic operation As a result, perform business operations.
  • test platforms other than the designated test platform in the test platform of the multi-service system synchronize the node verification results generated by itself to the designated test platform;
  • the designated test platform receives the node verification results synchronized by other test platforms in the test platform of the multi-service system except the designated test platform, so as to collect the node verification results generated by the respective test platforms of the respective business systems .
  • A8 The method according to any one of A1-A7, after generating the service quality report of the multi-service system, the method further includes:
  • a service quality testing system for a multi-service system including:
  • the establishment unit is adapted to establish the respective test platform of each business system in the multi-service system, and the respective test platform of each business system provides external atomic operation capabilities of the business system;
  • the determining unit is adapted to determine multiple atomic operations corresponding to the set business scenario when the set business scenario is tested;
  • the test unit is adapted to, for each of the multiple atomic operations, invoke the atomic operation through a test platform that provides the atomic operation capability, and then the invoked atomic operation invokes its own business system to execute the business operation, and invokes the atomic operation.
  • the atomic operation test platform performs test point verification on the atomic operation and generates node verification results;
  • the generating unit is adapted to collect and analyze the node verification results generated by the respective test platforms of the respective business systems, and generate a service quality report of the multi-service system.
  • test unit is also suitable for:
  • the building unit is suitable for building business objects for testing in each of the business systems
  • the test unit is also suitable for the called atomic operation to call its own business system, and perform business operations on the business object used for testing.
  • test unit is further adapted to:
  • the identity verification information is submitted to the test platform that provides the atomic operation capability, and after the identity verification information is verified, the atomic operation is invoked through the test platform that provides the atomic operation capability.
  • test unit is further adapted to:
  • test platforms of the multi-service system is selected as a designated test platform, and the designated test platform organizes and calls each of the multiple atomic operations.
  • test unit is further adapted to:
  • the designated test platform organizes the calling sequence of each of the multiple atomic operations, and transfers the business operation result of the current atomic operation to the next atomic operation, so that the next atomic operation is based on the business operation of the current atomic operation As a result, perform business operations.
  • a synchronization unit adapted to synchronize node verification results generated by itself to the designated test platform by other test platforms other than the designated test platform in the test platform of the multi-service system;
  • the generating unit is further adapted to receive, by the designated test platform, the verification results of nodes synchronized by other test platforms in the test platform of the multi-service system except for the designated test platform, so as to collect the respective data of each business system.
  • the output unit is adapted to output the service quality report of the multi-service system in a preset output manner after the generating unit generates the service quality report of the multi-service system.
  • a computer storage medium storing computer program code, which when the computer program code runs on a computing device, causes the computing device to Execute the service quality test method of the multi-service system described in any one of A1-A8.
  • a computing device including: a processor; a memory storing computer program code; when the computer program code is executed by the processor, causing the The computing device executes the service quality test method of the multi-service system described in any one of A1-A8.

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)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种多业务系统的业务质量测试方法和系统、计算机存储介质以及计算设备。其中方法包括:多业务系统中各个业务系统具有各自的测试平台,各个业务系统各自的测试平台对外提供该业务系统的原子操作能力;当对设定业务场景进行测试时,确定设定业务场景对应的多个原子操作;通过至少一个对外提供该原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;收集并分析各原子操作对应的测试平台生成的节点校验结果,生成多业务系统的业务质量报告。

Description

多业务系统的业务质量测试 技术领域
本公开涉及计算机技术领域,尤其是涉及到一种多业务系统的业务质量测试方法和系统、计算机存储介质以及计算设备。
背景技术
涉及外部ISV(Independent Software Vendors,独立软件开发商)的业务,由于环境隔离、发布节奏不一致等问题对整个业务系统的稳定性和线上业务存在质量风险。
在餐饮点餐业务中,C端用户从A应用程序下单,由A应用程序将订单推送到ISV服务商,再由ISV服务商推送到商家POS机上,商家通过POS机选择接单、拒单以及同步订单状态(如备餐、下厨、取餐等状态)等操作,可以看出整个点餐业务对A应用程序和ISV的业务系统都存在强依赖,任何一方出现问题,都可能对整体点餐业务造成影响。截至目前,已经发现多起ISV服务出现问题导致商家接单成功率跌零事件,直接影响商家营业。相关技术手段通过监控发现并处理线上问题,但此时线上业务已经造成了损伤。
发明内容
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的一种多业务系统的业务质量测试方法和系统、计算机存储介质以及计算设备,能够打通多业务系统,实现串联完整业务链路的自动化测试,提前发现问题,保障线上业务。
根据本公开实施例的一方面,提供了一种多业务系统的业务质量测试方法,所述多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力,所述方法包括:
当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
通过至少一个对外提供原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;
收集并分析各所述原子操作对应的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
可选地,所述通过至少一个测试平台调用所述多个原子操作,包括:通过所述至少一个提供该原子操作能力的测试平台的原子操作接口调用所述多个原子操作。
可选地,所述方法还包括在所述各个业务系统中构建用于测试的业务对象;
所述利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,包括:利用被调用的所述原子操作调用各所述原子操作所属的业务系统,对所述用于测试的业务对象执行业务操作。
可选地,所述通过至少一个测试平台调用所述多个原子操作,包括:向所述至少一个测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过所述至少一个测试平台调用所述多个原子操作。
可选地,所述方法还包括:从所述至少一个测试平台中选取任意一个测试平台作为第一测试平台,由所述第一测试平台组织调用所述多个原子操作。
可选地,所述由所述第一测试平台组织调用所述多个原子操作,包括:由所述第一测试平台基于所述多个原子操作中各原子操作的调用顺序调用所述多个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而所述下一个原子操作基于所述当前原子操作的业务操作结果执行业务操作。
可选地,所述至少一个测试平台中除所述第一测试平台外的第二测试平台将自身生成的节点校验结果同步至所述第一测试平台;
收集所述各所述原子操作对应的测试平台生成的节点校验结果,包括:所述第一测试平台接收所述第二测试平台同步的节点校验结果,以收集所述至少一个测试平台生成的节点校验结果。
可选地,在所述生成所述多业务系统的业务质量报告之后,所述方法还包括:以预设的输出方式,输出所述多业务系统的业务质量报告。
可选地,在所述对设定业务场景进行测试之前,所述方法还包括:建立新业务系统的测试平台并将所述新业务系统的测试平台添加到所述多业务系统中,所述新业务系统的测试平台对外提供该业务系统的原子操作能力。
根据本公开实施例的另一方面,还提供了一种多业务系统的业务质量测试系统,所 述多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力;业务质量测试系统包括:
确定单元,配置为当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
测试单元,配置为通过至少一个对外提供该原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;
生成单元,配置为收集并分析各所述原子操作对应的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
可选地,所述测试单元还配置为:通过所述至少一个测试平台的原子操作接口调用所述多个原子操作。
可选地,所述系统还包括:
构建单元,配置为在所述各个业务系统中构建用于测试的业务对象;
所述测试单元,还配置为利用被调用的所述原子操作调用各所述原子操作所属的业务系统,对所述用于测试的业务对象执行业务操作。
可选地,所述测试单元还配置为:向所述至少一个测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过所述至少一个测试平台调用所述多个原子操作。
可选地,所述测试单元还配置为:从所述至少一个测试平台中选取任意一个测试平台作为第一测试平台,由所述第一测试平台组织调用所述多个原子操作。
可选地,所述测试单元还配置为:基于所述多个原子操作中的各原子操作的调用顺序调用所述多个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而所述下一个原子操作基于所述当前原子操作的业务操作结果执行业务操作。
可选地,所述系统还包括:
同步单元,配置为所述至少一个测试平台中除所述第一测试平台外的第二测试平台将自身生成的节点校验结果同步至所述第一测试平台;
所述生成单元,还配置为接收所述第二测试平台同步的节点校验结果,以收集所述至少一个测试平台生成的节点校验结果。
可选地,所述系统还包括:
输出单元,配置为在所述生成单元生成所述多业务系统的业务质量报告之后,以预设的输出方式,输出所述多业务系统的业务质量报告。
根据本公开实施例的又一方面,还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序代码,当所述计算机程序代码在计算设备上运行时,导致所述计算设备执行上述的多业务系统的业务质量测试方法。
根据本公开实施例的再一方面,还提供了一种计算设备,包括:处理器;存储有计算机程序代码的存储器;当所述计算机程序代码被所述处理器运行时,导致所述计算设备执行上述的多业务系统的业务质量测试方法。
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。
根据下文结合附图对本公开具体实施例的详细描述,本领域技术人员将会更加明了本公开的上述以及其他目的、优点和特征。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1示出了根据本公开一实施例的多业务系统的业务质量测试方法的流程图;
图2示出了根据本公开一实施例的A业务系统和ISV业务系统的业务质量测试方法的流程图;
图3示出了A业务系统、A测试平台、ISV测试平台以及ISV业务系统的交互示意图;
图4示出了根据本公开一实施例的业务质量报告示意图;
图5示出了根据本公开另一实施例的业务质量报告示意图;
图6示出了根据本公开一实施例的多业务系统的业务质量测试系统的结构图;
图7示出了根据本公开另一实施例的多业务系统的业务质量测试系统的结构图;
图8示出了根据本公开另一实施例的计算设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
相关技术中的质量保障手段主要为监控各业务系统和业务指标,发现和响应线上问题,主要处理手段集中在事后。A应用程序和ISV的业务系统由于域隔离,质量保证体系各自独立在各自的域内,未能打通,无法通过自动化手段串联点餐完整链路。
具体地,在应用程序A侧,通过接口模拟ISV系统,将点餐业务从C端用户下单到商户接单串联起来,完成质量验收。在ISV侧,点餐相关发布,系统功能上线、业务发布前,在这段灰度时期,手动回归点餐业务。以上手段存在的缺点:1)应用程序A侧使用模拟的方式,只能保障A域内业务系统功能;2)ISV由于缺少应用程序A的下单能力,只能进行人工业务回归,工作量大,同时由其他非点餐业务引入的问题容易评估遗漏。
因此,面对不同域的业务系统,如何实现自动化串联完整业务链路,提前发现问题,减少对业务的损害,成为亟需解决的技术问题。
为解决上述技术问题,本公开实施例提供了一种多业务系统的业务质量测试方法和系统、计算机存储介质以及计算设备,能够打通多业务系统,实现串联完整业务链路的自动化测试,提前发现问题,保障线上业务。
图1示出了根据本公开一实施例的多业务系统的业务质量测试方法的流程图。多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力。本公开的多业务系统包括至少两个业务系统,例如包括A业务系统和ISV业务系统,也可以包括三个以上的业务系统,例如包括A业务系统、ISV1业务系统和ISV2业务系统,又例如包括A1业务系统、A2业务系统和ISV业务系统。各业务系统具有各自的测试平台,且各测试平台对外提供该业务系统的原子操作能力。具体地,各个业务系统各自的测试平台通过原子操作接口,对外提供该业务系统的原子操作能力。从而,外部可以向业务系统的测试平台发送调用原子操作接口的请求, 测试平台根据该请求与业务系统交互,业务系统执行原子操作并向测试平台返回原子操作的操作结果,进而测试平台向外部返回原子操作的操作结果。如图1所示,该业务质量测试方法可以包括以下步骤S101至S104。
步骤S101,当对设定业务场景进行测试时,确定设定业务场景对应的多个原子操作。
步骤S102,通过至少一个对外提供该原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的该原子操作调用各所述原子操作所属的业务系统执行业务操作。
步骤S103,调用各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果。
步骤S104,收集并分析各原子操作对应的测试平台生成的节点校验结果,生成多业务系统的业务质量报告。
本公开实施例提供的多业务系统的业务质量测试方法,各个业务系统具有各自的测试平台,通过各个业务系统各自的测试平台对外提供该业务系统的原子操作能力,通过至少一个测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果,从而打通各个业务系统,通过提供原子操作能力的测试平台调用设定业务场景的原子操作,实现串联完整业务链路的自动化测试,能够提前发现问题,保障线上业务。
这里的原子操作可以是最小的操作单元,以点餐业务为例,原子操作可以是加购、减购、下单、接单、拒单等操作,这些原子操作可以组合成点餐操作,需要说明的是,这里的举例仅是示意性的,并不对本公开实施例进行限制。在可选的实施例中,原子操作还可以是预先定义的实现业务功能的操作,在点餐业务中,可以将加购、减购操作作为原子操作。
在本公开的可选实施例中,可以在各个业务系统中构建用于测试的业务对象,例如测试门店,做到数据隔离,在测试该业务对象时不会影响线上业务,也就是说,该业务对象仅仅用于测试,并不对外提供业务。具体地,被调用的该原子操作调用自身的业务系统,对用于测试的业务对象执行业务操作。
上文步骤S102中通过提供该原子操作能力的测试平台调用该原子操作包括,向提供该原子操作能力的测试平台提交身份验证信息,在身份验证信息验证通过后,通过提供该原子操作能力的测试平台调用该原子操作。这样,通过测试平台的身份验证,可以 提高业务系统的安全性。
在本公开的可选实施例中,为了提高测试效率,可以从上述的至少一个测试平台中选取任意一个测试平台作为指定测试平台,由指定测试平台组织调用多个原子操作中的各原子操作。在本公开另一可选实施例中,上述至少一个测试平台可以识别和调用各自的原子操作;或者,可以根据实际应用或经验设置从上述至少一个测试平台中选取多个测试平台调用所述多个原子操作。
进一步地,由指定测试平台组织调用多个原子操作中的各原子操作时,可以由指定测试平台基于多个原子操作中各原子操作的调用顺序调用所述多个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而下一个原子操作基于当前原子操作的业务操作结果执行业务操作。
在本公开的可选实施例中,多业务系统的测试平台中除指定测试平台外的其他测试平台将自身生成的节点校验结果同步至指定测试平台,从而步骤S104中收集各原子操作对应的测试平台生成的节点校验结果,具体可以是由指定测试平台接收多业务系统的测试平台中除指定测试平台外的其他测试平台同步的节点校验结果,以收集上述至少一个测试平台生成的节点校验结果。
在步骤S104生成多业务系统的业务质量报告之后,本公开实施例还可以以预设的输出方式,输出多业务系统的业务质量报告。这里,预设的输出方式可以是文本、图片、邮件等方式,本公开实施例对此不作限制。
在一可选实施例中,若新的业务系统将入该多业务系统中,则在步骤101对设定业务场景进行测试之前,可以构建新业务系统的测试平台,所述新业务系统的测试平台对外提供该业务系统的原子操作能力。在另一可选实施例中,在首次建立一个多业务系统时,对该多业务系统中的各业务系统建立各自的测试平台,各个业务系统的各测试平台对外提供该业务系统的原子操作能力。
以上介绍了图1所示的实施例中各个环节的多种实现方式,下面结合具体的业务系统对本公开实施例提供的多业务系统的业务质量测试方法做进一步说明。
餐饮点餐业务包括A业务系统和ISV业务系统,A业务系统提供C端用户在A应用程序上执行的加购、减购、下单等操作,ISV业务系统提供商家在POS机上对订单执行的接单、拒单以及同步订单状态等操作,A业务系统和ISV业务系统两者属于不同的域,本公开实施例可以在线上测试门店构建点餐业务的自动测试回归体系。需要说明的 是,这里列举的A业务系统仅是示意性的,并不对本公开实施例进行限制。
图2示出了根据本公开一实施例的A业务系统和ISV业务系统的业务质量测试方法的流程图。如图2所示,该业务质量测试方法可以包括以下步骤S201至S206。
步骤S201,建立A业务系统的A测试平台以及ISV业务系统的ISV测试平台,A测试平台对外提供A业务系统的原子操作能力,ISV测试平台对外提供ISV业务系统的原子操作能力。
在该步骤中,A测试平台通过自身的原子操作接口,对外提供A业务系统的原子操作能力;ISV测试平台通过自身的原子操作接口,对外提供ISV业务系统的原子操作能力。通过测试平台对外提供业务系统的原子操作能力,一方面对业务系统无侵害,另一方面可以规范对外调用接口,某个业务系统的测试平台对其他业务系统上的改动无感知,例如A业务系统的下单链路发生了改动,此时ISV测试平台无感知,由A测试平台统一调整改动点。
步骤S202,在A业务系统和ISV业务系统中构建用于测试的测试门店。
在该步骤中,可以根据ISV业务系统接入A业务系统的方式来构建测试门店,具体地,ISV业务系统创建测试门店,将测试门店的标识信息注册到A业务系统,A业务系统保存ISV业务系统和测试门店的标识信息,便于后续的使用。
步骤S203,对设定业务场景进行测试,确定设定业务场景对应的多个原子操作。
在该步骤中,设定业务场景可以是A测试平台和ISV测试平台共同制定的点餐业务中的核心场景,如A业务系统下单、ISV业务系统接单等。
步骤S204,通过一个对外提供原子操作能力的测试平台(例如指定测试平台)调用各原子操作,进而利用被调用的该原子操作调用各原子操作所属业务系统执行业务操作,调用各原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果。
在可选的实施例中,以A业务系统下单、ISV业务系统接单为例,A测试平台组织自身调用下单原子操作,被调用的下单原子操作调用A业务系统执行业务操作,A测试平台对下单原子操作执行测试点校验,生成节点校验结果。同时,A测试平台将下单原子操作的操作结果传递给接单原子操作,A测试平台调用ISV测试平台的接单原子操作,被调用的接单原子操作调用ISV业务系统执行业务操作,ISV测试平台对接单原子操作执行测试点校验,生成节点校验结果。
在另一可选的实施例中,也可以由ISV测试平台组织调用多个原子操作中的各原子操作。仍然以A业务系统下单、ISV业务系统接单为例,ISV测试平台调用A测试平台的下单原子操作,被调用的下单原子操作调用A业务系统执行业务操作,A测试平台对下单原子操作执行测试点校验,生成节点校验结果。同时,A测试平台向ISV测试平台返回下单原子操作的操作结果,ISV测试平台将下单原子操作的操作结果传递给接单原子操作,ISV测试平台组织自身调用接单原子操作,被调用的接单原子操作调用ISV业务系统执行业务操作,ISV测试平台对接单原子操作执行测试点校验,生成节点校验结果。
步骤S205,该测试平台为A测试平台时接收ISV测试平台同步的节点校验结果。
步骤S206,A测试平台收集并分析自身生成的节点校验结果和ISV测试平台同步的节点校验结果,生成并输出A业务系统和ISV业务系统的业务质量报告。
在本公开实施例中,A测试平台和ISV测试平台共同制定点餐业务中的核心场景,在点餐相关的系统发布后、业务开放前这一灰度阶段,对核心场景进行自动回归,收集场景中各节点的验证结果,产出发布前质量检验报告,并输出提交,从而能够及时发现问题,保证线上业务。
图3示出了A业务系统、A测试平台、ISV测试平台以及ISV业务系统的交互示意图。以A业务系统下单、ISV业务系统接单为例,在step1中,ISV测试平台向A测试平台调用加购操作接口,获得A订单。具体地,被调用的加购操作调用A业务系统执行业务操作并向A测试平台返回A订单,A测试平台将A订单返回给ISV测试平台,从而ISV测试平台获得A订单。在这一过程中,A业务系统对测试过程无感知,A业务系统生成A订单后会向ISV业务系统推送A订单。
在step2中,A测试平台向ISV测试平台调用接单操作接口,获得订单状态。具体地,被调用的接单操作调用ISV业务系统执行业务操作并向ISV测试平台返回订单状态,ISV测试平台将订单状态返回给A测试平台,从而A测试平台获得订单状态。在这一过程中,ISV业务系统对测试过程无感知,ISV业务系统生成订单状态后会向A业务系统推送订单状态。
在step3中,ISV测试平台将节点校验结果同步给A测试平台。
A测试平台收集A侧和ISV侧各节点的校验结果后,产出质量报告,并通知相关人员。
如图4所示,在业务质量报告示意图中,在场景1中,“后付下单”和“商家接单”节点都通过了测试,“商家退款”未通过测试,从而可以及时发现问题,并解决该问题,保证线上业务。在场景2中,“后付下单”和“商家拒单”节点都通过了测试。
在本公开的可选实施例中,还可以在日常线上业务巡检。A业务系统和ISV业务系统除了点餐业务外,还有其他业务相关的发布,这些发布可能会对点餐业务造成影响,为了及时发现该类问题,需要建立点餐业务的线上功能巡检,通过定时任务触发每日场景用例回归执行,通知相关质量人员执行结果,及时进行干预。
如图5所示,在业务质量报告示意图中,在场景1中,“后付下单”、“商家接单”以及“商家退款”节点都通过了测试。在场景2中,“后付下单”和“商家拒单”节点都通过了测试。
需要说明的是,实际应用中,上述所有可选实施方式可以采用结合的方式任意组合,形成本公开的可选实施例,在此不再一一赘述。
基于上文各个实施例提供的多业务系统的业务质量测试方法,基于同一发明构思,本公开实施例还提供了一种多业务系统的业务质量测试系统。
图6示出了根据本公开一实施例的多业务系统的业务质量测试系统的结构示意图。所述多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力。如图6所示,该业务质量测试系统可包括确定单元620、测试单元630以及生成单元640。
确定单元620,配置为当对设定业务场景进行测试时,确定设定业务场景对应的多个原子操作;
测试单元630,配置为通过至少一个对外提供该原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;
生成单元640,配置为收集并分析各原子操作对应的测试平台生成的节点校验结果,生成多业务系统的业务质量报告。
在本公开的可选实施例中,各个业务系统各自的测试平台通过原子操作接口,对外提供该业务系统的原子操作能力;测试单元630还配置为:
通过所述至少一个测试平台的原子操作接口调用所述多个原子操作。
在本公开的可选实施例中,如图7所示,上文图6展示的业务质量测试系统还可以包括构建单元710,配置为在所述各个业务系统中构建用于测试的业务对象;
测试单元630,还配置为利用被调用的所述原子操作调用各所述原子操作所属的业务系统,对所述用于测试的业务对象执行业务操作。
在本公开的可选实施例中,测试单元630还配置为:
向所述至少一个测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过所述至少一个测试平台调用所述多个原子操作。
在本公开的可选实施例中,测试单元630还配置为:
从所述至少一个测试平台中选取任意一个测试平台作为第一测试平台,由所述第一测试平台组织调用所述多个原子操作。
在本公开的可选实施例中,测试单元630还配置为:
基于所述多个原子操作中的各原子操作的调用顺序调用所述多个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而所述下一个原子操作基于所述当前原子操作的业务操作结果执行业务操作。
在本公开的可选实施例中,如图7所示,上文图6展示的业务质量测试系统还可以包括同步单元720,配置为所述至少一个测试平台中除所述第一测试平台外的第二测试平台将自身生成的节点校验结果同步至所述第一测试平台;
生成单元640,还配置为接收所述第二测试平台同步的节点校验结果,以收集所述至少一个测试平台生成的节点校验结果。
在本公开的可选实施例中,如图7所示,上文图6展示的业务质量测试系统还可以包括输出单元730,配置为在生成单元640生成多业务系统的业务质量报告之后,以预设的输出方式,输出多业务系统的业务质量报告。
在本公开的可选实施例中,如图7所示,上文图6展示的业务质量测试系统还可以包括建立单元610,配置为建立新业务系统的测试平台并将所述新业务系统的测试平台添加到所述多业务系统中,所述新业务系统的测试平台对外提供该业务系统的原子操作能力。
基于同一发明构思,本公开实施例还提供了一种计算机存储介质,该计算机存 储介质存储有计算机程序代码,当计算机程序代码在计算设备上运行时,导致计算设备执行上述的多业务系统的业务质量测试方法。
基于同一发明构思,本公开实施例还提供了一种计算设备800,如图8所示,该计算设备包括:处理器801;存储有计算机程序代码的存储器802;当计算机程序代码被处理器801运行时,导致计算设备800执行上述的多业务系统的业务质量测试方法。
所属领域的技术人员可以清楚地了解到,上述描述的系统、装置、单元和模块的具体工作过程,可以参考前述方法实施例中的对应过程,为简洁起见,在此不另赘述。
另外,在本公开各个实施例中的各功能单元可以物理上相互独立,也可以两个或两个以上功能单元集成在一起,还可以全部功能单元都集成在一个处理单元中。上述集成的功能单元既可以采用硬件的形式实现,也可以采用软件或者固件的形式实现。
本领域普通技术人员可以理解:所述集成的功能单元如果以软件的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,其包括若干指令,用以使得一台计算设备(例如个人计算机,服务器,或者网络设备等)在运行所述指令时执行本公开各实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM)、随机存取存储器(RAM),磁碟或者光盘等各种可以存储程序代码的介质。
或者,实现前述方法实施例的全部或部分步骤可以通过程序指令相关的硬件(诸如个人计算机,服务器,或者网络设备等的计算设备)来完成,所述程序指令可以存储于一计算机可读取存储介质中,当所述程序指令被计算设备的处理器执行时,所述计算设备执行本公开各实施例所述方法的全部或部分步骤。
最后应说明的是:以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:在本公开的精神和原则之内,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案脱离本公开的保护范围。
根据本公开实施例的一方面,提供了A1.一种多业务系统的业务质量测试方法,包括:
建立多业务系统中各个业务系统各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力;
当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
对于所述多个原子操作中的各原子操作,通过提供该原子操作能力的测试平台调用该原子操作,进而被调用的该原子操作调用自身的业务系统执行业务操作,调用该原子操作的测试平台对该原子操作执行测试点校验,生成节点校验结果;
收集并分析所述各个业务系统各自的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
A2.根据A1所述的方法,所述各个业务系统各自的测试平台通过原子操作接口,对外提供该业务系统的原子操作能力;
通过提供该原子操作能力的测试平台调用该原子操作,包括:
向提供该原子操作能力的测试平台调用该原子操作接口,以调用该原子操作。
A3.根据A1所述的方法,还包括:在所述各个业务系统中构建用于测试的业务对象;
被调用的该原子操作调用自身的业务系统执行业务操作,包括:
被调用的该原子操作调用自身的业务系统,对所述用于测试的业务对象执行业务操作。
A4.根据A1所述的方法,通过提供该原子操作能力的测试平台调用该原子操作,包括:
向提供该原子操作能力的测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过提供该原子操作能力的测试平台调用该原子操作。
A5.根据A1所述的方法,还包括:
从所述多业务系统的测试平台中选取任意一个测试平台作为指定测试平台,由所述指定测试平台组织调用所述多个原子操作中的各原子操作。
A6.根据A5所述的方法,由所述指定测试平台组织调用所述多个原子操作中的各原子操作,包括:
由所述指定测试平台组织调用所述多个原子操作中的各原子操作的调用顺序, 将当前原子操作的业务操作结果传递给下一个原子操作,从而下一个原子操作基于当前原子操作的业务操作结果执行业务操作。
A7.根据A5所述的方法,所述多业务系统的测试平台中除所述指定测试平台外的其他测试平台将自身生成的节点校验结果同步至所述指定测试平台;
收集所述各个业务系统各自的测试平台生成的节点校验结果,包括:
所述指定测试平台接收所述多业务系统的测试平台中除所述指定测试平台外的其他测试平台同步的节点校验结果,以收集所述各个业务系统各自的测试平台生成的节点校验结果。
A8.根据A1-A7中任意一项所述的方法,在生成所述多业务系统的业务质量报告之后,所述方法还包括:
以预设的输出方式,输出所述多业务系统的业务质量报告。
根据本公开实施例的另一方面,提供了B9.一种多业务系统的业务质量测试系统,包括:
建立单元,适于建立多业务系统中各个业务系统各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力;
确定单元,适于当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
测试单元,适于对于所述多个原子操作中的各原子操作,通过提供该原子操作能力的测试平台调用该原子操作,进而被调用的该原子操作调用自身的业务系统执行业务操作,调用该原子操作的测试平台对该原子操作执行测试点校验,生成节点校验结果;
生成单元,适于收集并分析所述各个业务系统各自的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
B10.根据B9所述的系统,所述各个业务系统各自的测试平台通过原子操作接口,对外提供该业务系统的原子操作能力;所述测试单元还适于:
向提供该原子操作能力的测试平台调用该原子操作接口,以调用该原子操作。
B11.根据B9所述的系统,还包括:
构建单元,适于在所述各个业务系统中构建用于测试的业务对象;
所述测试单元,还适于被调用的该原子操作调用自身的业务系统,对所述用于测试的业务对象执行业务操作。
B12.根据B9所述的系统,所述测试单元还适于:
向提供该原子操作能力的测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过提供该原子操作能力的测试平台调用该原子操作。
B13.根据B9所述的系统,所述测试单元还适于:
从所述多业务系统的测试平台中选取任意一个测试平台作为指定测试平台,由所述指定测试平台组织调用所述多个原子操作中的各原子操作。
B14.根据B13所述的系统,所述测试单元还适于:
由所述指定测试平台组织调用所述多个原子操作中的各原子操作的调用顺序,将当前原子操作的业务操作结果传递给下一个原子操作,从而下一个原子操作基于当前原子操作的业务操作结果执行业务操作。
B15.根据B13所述的系统,还包括:
同步单元,适于所述多业务系统的测试平台中除所述指定测试平台外的其他测试平台将自身生成的节点校验结果同步至所述指定测试平台;
所述生成单元,还适于所述指定测试平台接收所述多业务系统的测试平台中除所述指定测试平台外的其他测试平台同步的节点校验结果,以收集所述各个业务系统各自的测试平台生成的节点校验结果。
B16.根据B9-B15中任意一项所述的系统,还包括:
输出单元,适于在所述生成单元生成所述多业务系统的业务质量报告之后,以预设的输出方式,输出所述多业务系统的业务质量报告。
根据本公开实施例的又一方面,还提供了C17.一种计算机存储介质,所述计算机存储介质存储有计算机程序代码,当所述计算机程序代码在计算设备上运行时,导致所述计算设备执行A1-A8中任意一项所述的多业务系统的业务质量测试方法。
根据本公开实施例的再一方面,还提供了D18.一种计算设备,包括:处理器;存储有计算机程序代码的存储器;当所述计算机程序代码被所述处理器运行时,导致所述计算设备执行A1-A8中任意一项所述的多业务系统的业务质量测试方法。

Claims (20)

  1. 一种多业务系统的业务质量测试方法,所述多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力,所述方法包括:
    当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
    通过至少一个对外提供原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;
    收集并分析各所述原子操作对应的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
  2. 根据权利要求1所述的方法,其特征在于,所述通过至少一个测试平台调用所述多个原子操作,包括:
    通过所述至少一个提供该原子操作能力的测试平台的原子操作接口调用所述多个原子操作。
  3. 根据权利要求1所述的方法,其特征在于,还包括:在所述各个业务系统中构建用于测试的业务对象;
    所述利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,包括:
    利用被调用的所述原子操作调用各所述原子操作所属的业务系统,对所述用于测试的业务对象执行业务操作。
  4. 根据权利要求1所述的方法,其特征在于,所述通过至少一个测试平台调用所述多个原子操作,包括:
    向所述至少一个测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过所述至少一个测试平台调用所述多个原子操作。
  5. 根据权利要求1所述的方法,其特征在于,还包括:
    从所述至少一个测试平台中选取任意一个测试平台作为第一测试平台,由所述第一测试平台组织调用所述多个原子操作。
  6. 根据权利要求5所述的方法,其特征在于,所述由所述第一测试平台组织调用所述多个原子操作,包括:
    由所述第一测试平台基于所述多个原子操作中各原子操作的调用顺序调用所述多 个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而所述下一个原子操作基于所述当前原子操作的业务操作结果执行业务操作。
  7. 根据权利要求5所述的方法,其特征在于,所述至少一个测试平台中除所述第一测试平台外的第二测试平台将自身生成的节点校验结果同步至所述第一测试平台;
    所述收集所述各所述原子操作对应的测试平台生成的节点校验结果,包括:
    所述第一测试平台接收所述第二测试平台同步的节点校验结果,以收集所述至少一个测试平台生成的节点校验结果。
  8. 根据权利要求1-7中任意一项所述的方法,其特征在于,在所述生成所述多业务系统的业务质量报告之后,所述方法还包括:
    以预设的输出方式,输出所述多业务系统的业务质量报告。
  9. 根据权利要求1-7中任意一项所述的方法,其特征在于,在所述对设定业务场景进行测试之前,所述方法还包括:
    建立新业务系统的测试平台并将所述新业务系统的测试平台添加到所述多业务系统中,所述新业务系统的测试平台对外提供该业务系统的原子操作能力。
  10. 一种多业务系统的业务质量测试系统,
    所述多业务系统中各个业务系统具有各自的测试平台,所述各个业务系统各自的测试平台对外提供该业务系统的原子操作能力;
    所述业务质量测试系统包括:
    确定单元,配置为当对设定业务场景进行测试时,确定所述设定业务场景对应的多个原子操作;
    测试单元,配置为通过至少一个对外提供该原子操作能力的测试平台调用所述多个原子操作,进而利用被调用的所述原子操作调用各所述原子操作所属的业务系统执行业务操作,各所述原子操作对应的测试平台对该原子操作执行测试点校验,生成节点校验结果;
    生成单元,配置为收集并分析各所述原子操作对应的测试平台生成的节点校验结果,生成所述多业务系统的业务质量报告。
  11. 根据权利要求10所述的业务质量测试系统,其特征在于,所述测试单元还配置为:
    通过所述至少一个测试平台的原子操作接口调用所述多个原子操作。
  12. 根据权利要求10所述的业务质量测试系统,其特征在于,还包括:
    构建单元,配置为在所述各个业务系统中构建用于测试的业务对象;
    所述测试单元,还配置为利用被调用的所述原子操作调用各所述原子操作所属的业务系统,对所述用于测试的业务对象执行业务操作。
  13. 根据权利要求10所述的业务质量测试系统,其特征在于,所述测试单元还配置为:
    向所述至少一个测试平台提交身份验证信息,在所述身份验证信息验证通过后,通过所述至少一个测试平台调用所述多个原子操作。
  14. 根据权利要求10所述的业务质量测试系统,其特征在于,所述测试单元还配置为:
    从所述至少一个测试平台中选取任意一个测试平台作为第一测试平台,由所述第一测试平台组织调用所述多个原子操作。
  15. 根据权利要求14所述的业务质量测试系统,其特征在于,所述测试单元还配置为:
    基于所述多个原子操作中的各原子操作的调用顺序调用所述多个原子操作,将当前原子操作的业务操作结果传递给下一个原子操作,从而所述下一个原子操作基于所述当前原子操作的业务操作结果执行业务操作。
  16. 根据权利要求14所述的业务质量测试系统,其特征在于,还包括:
    同步单元,配置为所述至少一个测试平台中除所述第一测试平台外的第二测试平台将自身生成的节点校验结果同步至所述第一测试平台;
    所述生成单元,还配置为接收所述第二测试平台同步的节点校验结果,以收集所述至少一个测试平台生成的节点校验结果。
  17. 根据权利要求10-16中任意一项所述的业务质量测试系统,其特征在于,还包括:
    输出单元,配置为在所述生成单元生成所述多业务系统的业务质量报告之后,以预设的输出方式,输出所述多业务系统的业务质量报告。
  18. 根据权利要求10-16中任一项所述的业务质量测试系统,还包括:
    建立单元,配置为建立新业务系统的测试平台并将所述新业务系统的测试平台添加到所述多业务系统中,所述新业务系统的测试平台对外提供该业务系统的原子操作能力。
  19. 一种计算机存储介质,所述计算机存储介质存储有计算机程序代码,当所述计算机程序代码在计算设备上运行时,导致所述计算设备执行权利要求1-9中任意一项所述的多业务系统的业务质量测试方法。
  20. 一种计算设备,包括:处理器;存储有计算机程序代码的存储器;当所述计算机程序代码被所述处理器运行时,导致所述计算设备执行权利要求1-9中任意一项所述的多业务系统的业务质量测试方法。
PCT/CN2020/124034 2019-10-29 2020-10-27 多业务系统的业务质量测试 WO2021083144A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911039182.2A CN111026639B (zh) 2019-10-29 2019-10-29 一种多业务系统的业务质量测试方法和系统
CN201911039182.2 2019-10-29

Publications (1)

Publication Number Publication Date
WO2021083144A1 true WO2021083144A1 (zh) 2021-05-06

Family

ID=70204704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124034 WO2021083144A1 (zh) 2019-10-29 2020-10-27 多业务系统的业务质量测试

Country Status (2)

Country Link
CN (1) CN111026639B (zh)
WO (1) WO2021083144A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026639B (zh) * 2019-10-29 2021-03-02 口碑(上海)信息技术有限公司 一种多业务系统的业务质量测试方法和系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130046585A1 (en) * 2010-02-23 2013-02-21 Inn-Sung Bang Remote program development mediation system and method for mediating a program development contract and development of program using virtual development environment of client
CN106484603A (zh) * 2015-08-26 2017-03-08 阿里巴巴集团控股有限公司 一种业务测试方法及装置
CN107526676A (zh) * 2016-06-20 2017-12-29 苏宁云商集团股份有限公司 一种跨系统测试方法及装置
CN107832231A (zh) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 一种系统测试方法、装置及介质
CN111026639A (zh) * 2019-10-29 2020-04-17 口碑(上海)信息技术有限公司 一种多业务系统的业务质量测试方法和系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201248052Y (zh) * 2008-06-26 2009-05-27 阿里巴巴集团控股有限公司 一种服务集成平台系统及提供互联网服务的系统
CN101650652B (zh) * 2009-09-17 2012-07-18 中兴通讯股份有限公司 一种业务流程开发的方法及装置
US9842042B2 (en) * 2014-09-25 2017-12-12 Bank Of America Corporation Datacenter management computing system
CN107015902B (zh) * 2016-01-27 2021-02-09 创新先进技术有限公司 一种测试方法和设备
CN109189669A (zh) * 2018-08-03 2019-01-11 平安科技(深圳)有限公司 业务场景的测试方法、电子装置及可读存储介质
CN109739634A (zh) * 2019-01-16 2019-05-10 中国银联股份有限公司 一种原子任务执行方法及装置
CN109933522B (zh) * 2019-01-25 2022-04-22 畅捷通信息技术股份有限公司 一种自动化用例的测试方法、测试系统及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130046585A1 (en) * 2010-02-23 2013-02-21 Inn-Sung Bang Remote program development mediation system and method for mediating a program development contract and development of program using virtual development environment of client
CN106484603A (zh) * 2015-08-26 2017-03-08 阿里巴巴集团控股有限公司 一种业务测试方法及装置
CN107526676A (zh) * 2016-06-20 2017-12-29 苏宁云商集团股份有限公司 一种跨系统测试方法及装置
CN107832231A (zh) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 一种系统测试方法、装置及介质
CN111026639A (zh) * 2019-10-29 2020-04-17 口碑(上海)信息技术有限公司 一种多业务系统的业务质量测试方法和系统

Also Published As

Publication number Publication date
CN111026639B (zh) 2021-03-02
CN111026639A (zh) 2020-04-17

Similar Documents

Publication Publication Date Title
US11068383B2 (en) Service oriented architecture infrastructure for business process verification and systems integrated testing
CN106470133B (zh) 系统压力测试方法及装置
CN109617759A (zh) 区块链系统稳定性测试方法、装置、设备及存储介质
CN112488652B (zh) 工单审核方法、系统、终端和存储介质
CN107153646B (zh) 一种数据处理方法和设备
CN108805667A (zh) 订单流程处理方法和系统
TW202232395A (zh) 雲平臺管理方法、裝置、電子設備以及存儲介質
CN110457175A (zh) 业务数据处理方法、装置、电子设备及介质
CN107622060A (zh) 订单跟踪分析方法及装置
CN109472615A (zh) 业务处理方法、装置及设备、可读介质
WO2021083144A1 (zh) 多业务系统的业务质量测试
US8103535B2 (en) Evaluation of fitness for a contractual agreement related to provisioning information technology services
US7844870B2 (en) Method for embedded integrated end-to-end testing
CN112905492B (zh) 验证方法及装置
CN109345249A (zh) 一种支付失败处理方法及装置
Chopra et al. Analyzing contract robustness through a model of commitments
CN112445787A (zh) 一种基于实时业务的数据稽核方法和系统
Teimoury et al. Automation of the supply chain performance measurement based on multi-agent system
CN111143151B (zh) 业务监控方法、装置以及电子设备
US20120198281A1 (en) Validation rules for process validation
CN115293750A (zh) 一种基于ai中台的智能审核系统、方法和装置
CN112199275B (zh) 一种组件接口测试分析方法、装置、服务器以及存储介质
CN113360363A (zh) 微服务系统的测试方法、装置、设备和计算机存储介质
US11929932B1 (en) Systems and methods for balancing communication loads across computer networks based on real-time confirmation of network resource availability
CN111027866B (zh) 产品模型构建方法、装置、电子设备和介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20883513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20883513

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20883513

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.10.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20883513

Country of ref document: EP

Kind code of ref document: A1