An automated testing system and method

A technology of automated testing and test cases, applied in software testing/debugging, etc., can solve problems such as test errors, manpower waste, and manpower testing, so as to improve efficiency and accuracy, and reduce time and manpower waste.

Inactive Publication Date: 2018-01-05
FOUNDER BROADBAND NETWORK SERVICE
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is that in the prior art, when testing the interface, manual testing is required, the waste of time and manpower caused by manual comparison and the test errors that may be caused thereby provide an automated Test system and method

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
  • An automated testing system and method
  • An automated testing system and method
  • An automated testing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] This embodiment provides an automated test system, such as figure 1 Shown, including:

[0083] The comparison test case calling module is used to retrieve the comparison test case according to the storage path of the comparison test case; the comparison test case includes several first test cases and corresponding second test cases, each of the first test cases It has the same input operation parameters as the corresponding second test case. The comparison test execution module is used to control the online system to run each first test case to obtain the first test result; at the same time, control the updated system to run the second test case corresponding to the first test case to obtain the second test result. The comparison module is used to compare whether each first test result and the corresponding second test result are the same and output the comparison test result.

[0084] In this embodiment, the online system refers to the system currently providing services, ...

Embodiment 2

[0103] In order to be suitable for testing the interface based on HttpConnection connection, the automated test system in this embodiment is improved as follows on the basis of embodiment 1: In the parameter configuration module, use the Check.properties configuration function to configure the The test parameters include: the TestType parameter used to configure the test type; the DiffUrl parameter used to configure the storage path of the comparison test case; the OutputDiffurl parameter used to configure the storage path of the comparison test result. The test type reading module is used to determine whether the test type is a comparative test type or a functional test type according to the TestType parameter. The comparison test case invocation module is used to establish a connection with the path configured by the DiffUrl parameter during the comparison test to retrieve a comparison test case; the first test case includes online system domain names and access logs, and the ...

Embodiment 3

[0114] The automated test method in this embodiment, such as Image 6 As shown, including the following steps:

[0115] Use the Check.properties configuration function to configure the test parameters; use the TestType parameter in the Check.properties configuration function to configure the test type; the DiffUrl parameter to configure the storage path of the comparison test case; the OutputDiffurl parameter configuration to compare the storage path of the test result. According to the TestType parameter, determine whether the test type is a comparison test type or a functional test type. When the test type is a comparison test, establish a connection with the path configured by the DiffUrl parameter to call a comparison test case; the comparison test case includes several first test cases and corresponding second test cases, and the first test cases include Online system domain name and access log, the second test case includes the updated system domain name and access log, and...

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 present invention relates to an automated testing system and method. The test type, test case, test result storage address, etc. are configured through the control panel. The background establishes an HttpConnection connection with the interface according to the above configuration, calls the test case and obtains the interface return result, and then performs the test on the result. Analyze, call the comparison algorithm to compare the two results, and store the test result and the comparison result in the corresponding path. The present invention can carry out both function test and comparative test; the system can obtain the results of all test cases at one time without the need for testers to test one by one; the system has comparison algorithms for intelligent comparison without the need for testers to manually compare the results; The system has a download function, and the functional test results and comparative test results can be easily downloaded into various formats through the control panel; the system monitors the test progress and test status in real time through the control panel, and the user can stop the test at any time; the system is all interface operation, easy to use .

Description

Technical field [0001] The invention relates to an automatic test system, in particular to an automatic test system and method based on HttpConnection interface. Background technique [0002] With the development of network technology, various interactive systems are becoming larger and more complex, the number of subsystems has gradually increased, and the technical capabilities of customers have also been continuously improved, resulting in the failure of the original test methods to effectively discover bug. In order to achieve the goal of ensuring the correctness and stability of the system as the core, using continuous integration as the means, improving test efficiency, enhancing user experience, and reducing product development costs, the importance of interface testing has become increasingly obvious. Interface testing is a test for testing the interface between system components. Interface testing is mainly used to detect the interaction points between external systems...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 欧阳素珍
Owner FOUNDER BROADBAND NETWORK SERVICE
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