Automatic test method and device, storage medium and electronic equipment
A technology for automated testing and test cases, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as low efficiency, scattered test logs, wasted time and management costs, and reduce manual repetition. Sexual work, time savings and management cost effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] According to the above, combined with Figure 1 to Figure 8 , Embodiment 1 of the present invention is:
[0080] In this example, if figure 2 As shown, the main server functions and client functions are implemented based on Python; use the flask framework to develop the API server; use SocketServer to develop the scheduling control server Engine, which is responsible for obtaining tasks from the task queue; when the agent program Agent comes to poll, tell Does Agent have its tasks to be executed; use MongoDB to store business data; Redis for business data cache and task queue storage; use celery as background asynchronous task program to process background asynchronous tasks; use ElasticSearch (ES, diary database) to collect and test centralized Logs, that is, this embodiment uses Python and open source tools for automated testing, which has low development costs, short development cycles, and simple maintenance.
[0081] Among them, the API interface and user interf...
Embodiment 2
[0117] According to the above, combined with Figure 1 to Figure 8 , the second embodiment of the present invention is:
[0118] An automated testing method, on the basis of the first embodiment above, step S3 and step S4 are further defined as follows.
[0119] In this example, if Figure 5 and Figure 6 As shown, step S3 specifically includes the following steps:
[0120] S31. After the current agent program of the current environment under test is started, the current agent program creates or updates the environment information of the current environment under test, and sends a test task request to the scheduling control server in a polling manner;
[0121] In this embodiment, after the current agent program Agent of the current environment under test is started, a POST request is sent to create or update the environment information of the current environment under test, and report the current state to the Engine in a polling manner, which is equivalent to Send a test t...
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