Wireless application stability testing method and system
A stability test, wireless technology, applied in the field of testing, can solve problems such as unusable, mobile phone crashes, no testing methods and systems, etc., to ensure the operation and eliminate potential risks.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The first embodiment of the present invention proposes a wireless application stability testing method, the flow of which is as follows figure 1 shown, including:
[0026] Step 101: use the test script to run the test case developed according to the memory action of the application in a loop, and monitor the memory;
[0027] Step 102: Collect memory usage status, and determine whether there is a memory leak; and
[0028] Step 103: If a memory leak occurs, analyze the object or code segment of the memory leak.
[0029] The wireless application stability test method provided by the embodiment of the present invention can extract common operations of mobile devices, such as frequent memory read and write operations, perform targeted stress tests, and analyze memory usage at the same time to determine which specific operations exist It will lead to memory leaks, and analyze the most suspicious code segments through specific analysis methods, thereby helping to eliminate p...
Embodiment 2
[0031] The second embodiment of the present invention proposes a wireless application stability testing method, which is improved on the basis of the first embodiment.
[0032] In this embodiment, the environment of the mobile phone is prepared as a common scenario for ordinary users. For example, the mobile phone contains 500 contacts, 500 pieces of information, and stores other files such as pictures and music in varying quantities.
[0033] First, develop test cases. Specifically, the high-frequency memory usage actions of an application are extracted and developed into test cases. The test cases include: creation and deletion of contacts, sending and receiving of information, taking pictures of cameras, adding or deleting files in file management and so on.
[0034] Next, develop the test script. In this embodiment, python or java can be used to develop test scripts.
[0035] Next, the test script is used to run the test case in a loop to monitor the memory. In this st...
Embodiment 3
[0044] The third embodiment of the present invention proposes a wireless application stability testing system 200, the structure of which is as follows Figure 5 shown, including:
[0045] The test case running and memory monitoring unit 201 is used to use the test script to run the test case developed according to the memory action of the application in a loop, and monitor the memory. The test cases may include: creation and deletion of contacts, sending and receiving of information, taking pictures of cameras, adding or deleting files in file management.
[0046] A collection judging unit 202, configured to collect memory usage status and judge whether there is a memory leak; and
[0047] The analysis unit 203 is configured to analyze memory leaked objects or code segments when memory leaks occur.
[0048] In this embodiment, the test case running and memory monitoring unit 201 uses DDMS debugging monitoring service to monitor memory.
[0049] The collection and judgment un...
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