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: 2015-04-15
FOUNDER BROADBAND NETWORK SERVICE
View PDF4 Cites 11 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,

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0083] The comparison test case calling module is used to call 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, and each first test case 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 piece of the first test result is the same as the corresponding second test result and output the comparison test result.

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

Embodiment 2

[0103] The automated testing system in this embodiment, in order to be suitable for testing the interface connected based on HttpConnection, on the basis of Embodiment 1, make the following improvements: 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 judge whether the test type is a comparative test type or a functional test type according to the TestType parameter. The comparison test case call module is used to set up a connection with the path configured by the DiffUrl parameter to transfer a comparison test case during a comparison test; the first test case includes an online system domain name and access logs, and the...

Embodiment 3

[0114] The automated testing method in this embodiment, such as Image 6 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 configuration comparison test case storage path; the OutputDiffurl parameter configuration comparison test result storage path. Determine whether the test type is a comparative test type or a functional test type according to the TestType parameter. When the test type is a comparison test, a connection is established 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 case includes Online system domain name and access log, the second test case includes the updated system domain name and access log, and access para...

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 an automated testing system and method. Testing types, testing cases, testing result storage addresses and the like are configured by a control panel, a background establishes Http Connection with an interface according to the configuration, the testing cases are called, an interface return result is acquired and then analyzed, two results are compared by calling a comparison algorithm, and the testing result and a comparison result are stored in corresponding paths. Both functional testing and comparison testing can be performed, testers do not need to test the testing cases one by one, the system can acquire results of all the testing cases once, the testers do not need to manually compare the results, the comparison algorithm is used for intelligent comparison, the system has a downloading function, the function testing result and the comparison testing result can be easily downloaded into various formats by the control panel, the system monitors testing progress and testing states in real time through the control panel, a user can stop testing at any time, and the system is easily operated through interfaces.

Description

technical field [0001] The invention relates to an automated testing system, in particular to an automated testing system and method based on an HttpConnection interface. Background technique [0002] With the development of network technology, various interactive systems are becoming larger and more complex, the number of subsystems is also gradually increasing, and the technical capabilities of customers are also constantly improving, resulting in the original test methods not being able to effectively detect bug. In order to achieve the goal of ensuring the correctness and stability of the system, using continuous integration as a means, improving test efficiency, improving user experience, and reducing product development costs, the importance of interface testing is becoming more and more obvious. Interface testing is a type of testing that tests the interfaces between system components. Interface testing is mainly used to detect the interaction points between externa...

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
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