Business test method and system

A business testing and business operation technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as failure to successfully perform business operations, and achieve the effect of improving reliability, reducing workload, and ensuring quality

Pending Publication Date: 2022-01-04
SHANDONG SYNTHESIS ELECTRONICS TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the above problems, the present invention proposes a business testing method and system, aiming at the problem that the corresponding business operation cannot be successfully executed by directly executing the unprocessed script file, by pre-executing the script file and executing the execution process by responding to the assertion verification to ensure that the test script file will not report errors and can run normally

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 system
  • Business test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] According to the problems described in the background technology, this embodiment takes the smart catering business as an example. At present, when performing functional tests on the smart catering business, the test model is established through the testers’ understanding of the business. However, due to the variety and complexity of the smart catering business, the The testers generate a huge workload, and the test model depends on the testers' understanding of the business. When the testers change, it is difficult for the new testers to cover all the operations included in the smart catering business, and when the smart catering business is fast When iterating, testers need to spend a lot of time and energy on regression testing. Based on this, this embodiment provides a business testing method, such as figure 1 shown, including:

[0037] S1: Automatically generate business-related script files according to test cases;

[0038] S2: Analyze and process the script fil...

Embodiment 2

[0058] Such as figure 2 As shown, this embodiment provides a service testing system, including:

[0059] Script generation module 10 is used for automatically generating script files relevant to business according to test cases;

[0060] The script analysis and processing module 20 is configured to analyze and process the automatically generated script file to obtain a test script file matching the test case.

[0061] The business testing module 30 is configured to use the test script file matched with the test case to test the business and output the test result.

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 business test method and system. The method comprises the following steps: obtaining a script file related to business operation according to a test case; adding a response assertion to the script file, executing the script file, verifying whether error information exists in the execution process through the response assertion, if the error information exists, adjusting service parameters in the script file until the error information does not exist, and obtaining a test script file matched with the test case; and testing the service operation by using the test script file to obtain a test result. In order to solve the problem that corresponding business operation cannot be successfully executed when an unprocessed script file is executed, the script file is pre-executed, the execution process is verified by responding to assertion, and it is ensured that a test script file which cannot report errors and can normally run is obtained.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a service testing method and system. Background technique [0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art. [0003] In the software development process, due to the complex software functions and different business scenarios, in order to ensure the performance of the software, it is necessary to test the business functions of the software products under different business conditions. [0004] At present, the business testing process is carried out by users. For each business to be tested, testers need to understand the business and design corresponding test models based on their understanding of the business. workload; and the test model depends on the tester's understanding of the business. When the tester changes, the new tester has to re-understand the business, ...

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 SHANDONG SYNTHESIS ELECTRONICS TECH
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