Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed transaction testing method, device and system

A distributed transaction and test device technology, applied in the Internet field, can solve problems such as incomplete test coverage, labor-intensive, difficult-to-cover service call idempotency, etc., and achieve the effect of improving test analysis efficiency and comprehensive test coverage

Active Publication Date: 2019-09-03
TENPAY PAID TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] (1) The business of the distributed service framework application often has a relatively complex call link, and has certain requirements for the data consistency of the transaction and the idempotence of the service call. The existing testing methods relying on manual analysis and settings are relatively Difficult to override idempotency of service calls
[0011] (2) Each kind of exception coverage is also a very critical process for transactional business, and test case coverage is required. However, when using the existing test method for testing, as the model-tuning relationship is further deepened, the number of written use cases will be at a geometric level increase, but in fact the parameters of each call have not changed, which is labor-intensive; in addition, due to the relationship between manual analysis and settings, it is easy to miss the complex call relationship, resulting in incomplete test coverage

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
  • Distributed transaction testing method, device and system
  • Distributed transaction testing method, device and system
  • Distributed transaction testing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0038] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device compr...

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 invention relates to the technical field of Internet, in particular to a distributed transaction test method, which comprises the following steps: obtaining a use case ID of a to-be-tested use case; pulling all abnormal cases associated with the case ID according to the case ID, and establishing a task set according to the abnormal cases, the task set comprising a plurality of tasks in one-to-one correspondence with the abnormal cases; obtaining task information of a task, wherein the task information comprises a use case ID, an abnormal use case ID, call link information and an abnormal type; obtaining operation environment information according to the calling link information; and constructing an exception according to the exception type and the operation environment information, andexecuting a use case corresponding to the use case ID under an exceptional condition to obtain a test result under the exceptional condition. Abnormity does not need to be set manually, only abnormity needs to be automatically generated and executed according to the modulo adjustment relation, test coverage is more comprehensive, and test analysis efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a distributed transaction testing method, device and system. Background technique [0002] The distributed service framework is widely used in highly transactional businesses, such as payment, shopping, logistics and other scenarios. For the automated testing of the distributed service background, the current main automated testing methods are: constructing different parameters, adapting to different protocols, calling the interface, and judging whether the interface call is successful based on the returned result. [0003] The existing interface automation test platform and the existing automation test scheme rely on manual analysis for abnormalities in mode adjustment, and different preset conditions are required for different distributed service architectures, and then each preset condition is manually set and repeated. Execute the preset conditions that have been set. ...

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
CPCG06F11/3684G06F11/3688G06F11/3676
Inventor 刘坚周少贤周川
Owner TENPAY PAID TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products