Automatic test method and device, electronic equipment and readable storage medium
A technology of automated testing and sub-nodes, applied in the field of testing, can solve problems such as high labor costs, consumption, and poor accuracy of test results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] An automated testing method provided by an embodiment of the present disclosure is introduced in detail.
[0030] refer to figure 1 , shows a flowchart of steps of an automated testing method in an embodiment of the present disclosure.
[0031] Step 110, establishing a traffic access path tree of the target item by analyzing the dependency relationship of the target item.
[0032] Automated testing is a process of converting human-driven testing behavior into machine execution. In practical applications, in order to conduct automated testing for the target project, it is necessary to perform step-by-step execution on the target project to test whether the execution results of each step are consistent with the expected results. However, as user needs become more diverse and detailed, different projects contain more and more content, so for each target project that requires automated testing, there are more and more service interfaces included in it, and in order to To...
Embodiment 2
[0050] An automated testing method provided by an embodiment of the present disclosure is introduced in detail.
[0051] refer to image 3 , shows a flowchart of steps of an automated testing method in an embodiment of the present disclosure.
[0052] Step 210, obtaining the entry address of the target project and the dependencies among the interfaces included in the target project.
[0053] In order to establish a traffic access path tree for the target target item, the entry address of the target item and the dependencies among the interfaces included in the target item can be obtained.
[0054] For example, suppose a target project contains entry address A, interface B, interface C, interface D, interface E, and interface F, and both interface B and interface C depend on entry address A, that is, to access interface B and interface C Before, entry address A must be accessed first, while interface D depends on interface B, interfaces E and F depend on interface C, and so o...
Embodiment 3
[0093] An automatic testing device provided by an embodiment of the present disclosure is introduced in detail.
[0094] refer to Figure 4 , shows a schematic structural diagram of an automated testing device in an embodiment of the present disclosure.
[0095] The traffic access path tree establishment module 310 is configured to establish a traffic access path tree of the target item by analyzing the dependency relationship of the target item.
[0096] The interface access sequence acquiring module 320 is configured to acquire the interface access sequence of the target item according to the traffic access path tree.
[0097] The traffic proportion acquisition module 330 is configured to acquire the traffic proportion of each interface access sequence according to the access traffic of the target item.
[0098] The automated regression testing module 340 is configured to select a target access sequence from the interface access sequences according to a preset test traffic...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com