Software testing method and device

A software testing method and test result technology, applied in the field of Internet of Things, can solve the problems of being easily affected by the test environment, single test framework scene, strong downstream system dependence, etc., to achieve the effect of improving the reuse rate and test efficiency

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

AI Technical Summary

Problems solved by technology

[0004] The software testing in the prior art is a semi-automated testing method, some of the test functions require manual participation, and the test framework has a single scenario, which is highly dependent on the downstream system of the system under test and is easily affected by the test environment, which is not conducive to test reuse rate, reducing 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
  • Software testing method and device
  • Software testing method and device
  • Software testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0022] The embodiment of the present invention provides a software testing method, figure 1 It is a schematic flow chart of the software testing method provided in the embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0023] Step 101: When the use case framework receives the user's test request for the current system under test, it calls the pre-written test case for verifying the interface under test of the current system under test according to the parameter information of the current system under test, and a...

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 discloses a software testing method and device, and the method comprises the steps: calling a test case for verifying a to-be-tested interface of a current tested system according to the parameter information of the current tested system when a case frame receives a test request, and transmitting a service request to a protocol frame; enabling the protocol frame to obtain a response result when the current tested system is tested by using a simulation system of a downstream system according to the service request; obtaining an expected result of the current tested system according to a pre-configured corresponding relationship between the parameter information of all the tested systems and the expected result in the protocol frame; and comparing the response result with an expected result by the case frame to obtain a test result. The invention relates to the technical field of Internet of Things, the case frame and the protocol frame are combined, the dependency of the tested system on a downstream system is shielded, constraint of data, execution and environment is avoided, comprehensive interface protocol verification is carried out on the tested system, and the test reuse rate and the test efficiency are improved.

Description

technical field [0001] The invention relates to the technical field of the Internet of Things, in particular to a software testing method and device. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] At present, mobile banking applications, as one of the most important product channels, provide users with various and reliable financial services, but the success of channel products is inseparable from various background systems. With the continuous development of banking business, more and more user scenarios are involved, and the transaction volume is also increasing. The chain of a single complete transaction is also very long, but the number of systems involved is countless. To complete the system verification of a user transaction scenario, we need to integrate the various ...

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/3688G06F11/3692
Inventor 徐凯路杨硕
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products