Automatic testing method and device and server
A technology of automated testing and regression testing, applied in software testing/debugging, instrumentation, error detection/correction, etc., to achieve the effects of avoiding code intrusion, ensuring diversity, and reducing testing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] An embodiment of the present invention provides an automated testing method. Such as figure 1 Shown is a flow chart of the automated testing method of the embodiment of the present invention. The automated testing method of the embodiment of the present invention comprises the following steps:
[0056] S101. Collect operating data of the online environment.
[0057] In the embodiments of the present invention, in order to obtain more accurate regression test results, real operating data in an online environment is used for testing during testing.
[0058] "Online and offline" is a very popular vocabulary at present. The real meaning of online refers to the promotion of your brand through various forms of media such as: TV, radio, newspapers, the Internet, light boxes, billboards, etc. Information and promotional information are transmitted in the form of soft and hard advertisements; the real meaning of offline refers to publicity and promotion through other non-medi...
Embodiment 2
[0069] On the basis of Embodiment 1, this embodiment of the present invention provides an automated testing method. Such as figure 2 Shown is a flow chart of the automated testing method of the embodiment of the present invention. The automated testing method of the embodiment of the present invention comprises the following steps:
[0070] S201, on the premise that the topology of the online module does not need any change, call the hook function provided by the netfilter framework of the linux system to collect the running data of the online environment from the tcp layer.
[0071] The running data collected in the embodiment of the present invention comes from the services in the cluster, and most of the services are deployed on the server based on the linux system, based on the netfilter framework provided by the linux kernel, the direct copy request and return from the IP layer can be achieved. Shielding the difference of the upper layer protocol not only realizes the ...
Embodiment 3
[0087] An embodiment of the present invention provides an automatic testing device. Such as Figure 4 Shown is a schematic diagram of the automated testing device of the embodiment of the present invention. The automatic testing device of the embodiment of the present invention comprises:
[0088] The collection module 41 is configured to collect the operating data of the online environment;
[0089] The mock simulation module 42 is configured to perform a mock simulation operation according to the first request information of the first preset type in the operating data, so as to obtain the first return information corresponding to the first request information in the online environment ;
[0090] The regression testing module 43 is configured to perform regression testing on the offline testing module corresponding to the online environment by using the first request information and the first return information.
[0091] Further, the collection module 41 includes:
[009...
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