Method and device for testing software
A software and test case technology, applied in the field of Internet communication, can solve the problems of prolonging the testing time of the testing software and reducing the testing efficiency of the testing software, so as to achieve the effect of improving the testing efficiency and shortening the testing time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] See figure 1 , The embodiment of the present invention provides a method for testing software, including:
[0022] Step 101: Generate a test case corresponding to each interface according to the test case template and the interface information of each interface included in the software;
[0023] Step 102: Run the generated test cases in parallel by multiple test virtual machines to obtain the running results of each test case;
[0024] Step 103: Determine whether there are security vulnerabilities in the software according to the running results of each test case.
[0025] Preferably, the test case corresponding to each interface is generated according to the test case template and the interface information of each interface included in the software, including:
[0026] The test case template and the interface information of each interface included in the software are sent to the main virtual machine, so that the main virtual machine generates test cases corresponding to each int...
Embodiment 2
[0036] See figure 2 The embodiment of the present invention provides a method for testing software. The method installs multiple virtual machines on a terminal and uses multiple virtual machines to perform concurrent testing on the software to save testing time and improve testing efficiency, including :
[0037] Step 201: Install at least three virtual machines, determine one of the virtual machines as the primary virtual machine, and determine the other virtual machines as the test virtual machine;
[0038] For example, install three virtual machines 0, 1, and 2, determine virtual machine 0 as the master virtual machine, and determine virtual machines 1 and 2 as test virtual machines.
[0039] Among them, the number of test virtual machines depends on the performance of the terminal. The more test virtual machines within the allowable range of terminal performance, the better the concurrent test effect and the higher the test efficiency.
[0040] Step 202: Generate a test case corr...
Embodiment 3
[0055] See image 3 , The embodiment of the present invention provides a device for testing software, including:
[0056] The generating module 301 is used to generate a test case corresponding to each interface according to the test case template and the interface information of each interface included in the software;
[0057] The running module 302 is used to run the generated test cases in parallel by multiple test virtual machines to obtain the running results of each test case;
[0058] The determining module 303 is used to determine whether there are security vulnerabilities in the software according to the running results of each test case.
[0059] At least three virtual machines are installed on the terminal, one of which is determined as the primary virtual machine, and the other virtual machines are determined as the test virtual machine.
[0060] Among them, the number of test virtual machines depends on the performance of the terminal. The more test virtual machines withi...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com