CN114173112A - Automatic performance test method for playing engine of mobile client of intelligent camera - Google Patents
Automatic performance test method for playing engine of mobile client of intelligent camera Download PDFInfo
- Publication number
- CN114173112A CN114173112A CN202111553995.0A CN202111553995A CN114173112A CN 114173112 A CN114173112 A CN 114173112A CN 202111553995 A CN202111553995 A CN 202111553995A CN 114173112 A CN114173112 A CN 114173112A
- Authority
- CN
- China
- Prior art keywords
- camera
- mobile client
- page
- testing
- live broadcast
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
- H04N17/045—Self-contained testing apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention relates to the technical field of intelligent camera application, and discloses an automatic performance testing method for a playing engine of a mobile client of an intelligent camera. The invention can save the input cost of personnel, improve the testing efficiency, reduce the error of manual data processing, and quickly arrange the testing data and generate the testing report.
Description
Technical Field
The invention relates to the technical field of intelligent camera application, in particular to an automatic performance test method for a play engine of a mobile client of an intelligent camera.
Background
With the rapid development of internet applications, smart homes are deep in the aspects of life of people, especially the applications of smart cameras are very wide, users who install smart cameras in homes are likely to open mobile client applications to live or playback monitoring pictures in homes anytime and anywhere, and therefore the performance of a playing engine on which a client depends is very important. In the past, the manual test of the performance condition of the play engine needs to frequently perform operation test on the client application, so that the test cost is high, the efficiency is low, and the defects of error in performance data collection, slow generation of performance reports and the like exist.
Disclosure of Invention
The invention aims to provide an automatic performance testing method for a playing engine of a mobile client of an intelligent camera, which aims to solve the problems of high labor cost, low efficiency, errors in performance data collection, slow generation of performance reports and the like of the traditional performance testing method for the playing engine depended on by the client of the intelligent camera in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme: an automatic performance test method for a playing engine of a mobile client of an intelligent camera comprises the following steps:
step 1: opening a camera mobile client application to enter a login page, inputting a preset test account and a preset password to log in a user, and checking a page control to judge whether the user normally enters a camera list page and does not pop up an error prompt box;
step 2: clicking a single specified test camera on a camera list page to enter a live broadcast interface, and checking a page control to judge whether the test camera correctly enters a live broadcast page and the current camera state;
and step 3: recording performance data such as time consumed by a live broadcast first screen from entering a live broadcast page to a first frame of picture appearing in a camera, memory occupation, CPU occupation and the like, and successively storing the performance data in a background log file;
and 4, step 4: quitting the live broadcast page, returning to the camera list page, and repeating the step 2 and the step 3 after waiting for one minute;
and 5: automatically repeating the steps 2-4 for a long time, continuously collecting a large number of data samples by the background log file, and waiting for a remote instruction;
step 6: sending a remote instruction to a mobile client, requiring to stop collecting data and generating a report, automatically analyzing background log files after the client receives the instruction, sorting existing data and generating a final performance test report, and sending an abnormal alarm message to prompt testers that data analysis fails and simultaneously attaching an application log and a screenshot if the data analysis fails.
Preferably, in step 1, if the user does not correctly enter the camera list page or pops up an abnormal error prompt box, an abnormal alarm message is sent to prompt the tester that the user logs in and is abnormal, and an application log and a screenshot are attached at the same time.
Preferably, in step 2, if the check is inconsistent or the camera is in an offline state, an abnormal warning message is sent to prompt a tester to enter the camera for live broadcast and to cause an abnormality, and an application log and a screenshot are attached.
Preferably, in step 6, if the data analysis is successful, a final performance report is sent to prompt the tester to complete the performance test.
Preferably, an automatic testing framework and a continuous integration tool can be accessed to realize 24-hour uninterrupted real-time testing, the official SDK for pushing the flying book and the nailing message is used to realize the sending of the abnormal warning message, and the screenshot and the application log are attached to the message to help a tester to quickly locate the cause of the problem.
The invention provides an automatic performance test method for a playing engine of a mobile client of an intelligent camera, which has the following beneficial effects: the invention can save the input cost of personnel, improve the testing efficiency, reduce the error of manual data processing, and quickly arrange the testing data and generate the testing report.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment, please refer to fig. 1, the present invention provides a technical solution: an automatic performance test method for a playing engine of a mobile client of an intelligent camera comprises the following steps:
step 1: opening a camera mobile client application to enter a login page, inputting a preset test account and a preset password to log in a user, checking a page control to judge whether the user normally enters a camera list page and does not pop up an error prompt box, and if the user does not correctly enter the camera list page or pop up an abnormal error prompt box, sending an abnormal alarm message to prompt a tester that the user is abnormal in login and simultaneously attaching an application log and a screenshot;
step 2: clicking a single specified test camera on a camera list page to enter a live broadcast interface, checking a page control to judge whether the test camera correctly enters a live broadcast page and the current camera state, and if the test camera is inconsistent or the camera is in an off-line state, sending an abnormal alarm message to prompt a tester to enter the camera for live broadcast to be abnormal and simultaneously attaching an application log and a screenshot;
and step 3: recording performance data such as time consumed by a live broadcast first screen from entering a live broadcast page to a first frame of picture appearing in a camera, memory occupation, CPU occupation and the like, and successively storing the performance data in a background log file;
and 4, step 4: quitting the live broadcast page, returning to the camera list page, and repeating the step 2 and the step 3 after waiting for one minute;
and 5: automatically repeating the steps 2-4 for a long time, continuously collecting a large number of data samples by the background log file, and waiting for a remote instruction;
step 6: sending a remote instruction to a mobile client, requiring to stop collecting data and generating a report, automatically analyzing background log files after the client receives the instruction, sorting existing data and generating a final performance test report, if the data analysis fails, sending an abnormal alarm message to prompt a tester that the data analysis fails and simultaneously attaching an application log and a screen capture, and if the data analysis succeeds, sending the final performance report to prompt the tester that the performance test is completed.
The steps can be accessed to an automatic testing framework and a continuous integration tool to realize 24-hour uninterrupted real-time testing, the official SDK for pushing the flying book and the nailing message is used to realize the sending of the abnormal warning message, and the screenshot and the application log are attached to the message to help a tester to quickly locate the cause of the problem.
The invention realizes the test of various performance data of the playing engine of the client of the intelligent camera by utilizing the mobile application automatic test framework, automates and realizes the real-time automation of the traditional manual test process, is used for reducing the labor cost and improving the test efficiency, automatically collects, arranges, calculates and summarizes reports for the performance test data, and is mainly applied to the rapid evaluation of the performance index of the playing engine of the mobile client.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (5)
1. An automatic performance test method for a playing engine of a mobile client of an intelligent camera is characterized by comprising the following steps:
step 1: opening a camera mobile client application to enter a login page, inputting a preset test account and a preset password to log in a user, and checking a page control to judge whether the user normally enters a camera list page and does not pop up an error prompt box;
step 2: clicking a single specified test camera on a camera list page to enter a live broadcast interface, and checking a page control to judge whether the test camera correctly enters a live broadcast page and the current camera state;
and step 3: recording performance data such as time consumed by a live broadcast first screen from entering a live broadcast page to a first frame of picture appearing in a camera, memory occupation, CPU occupation and the like, and successively storing the performance data in a background log file;
and 4, step 4: quitting the live broadcast page, returning to the camera list page, and repeating the step 2 and the step 3 after waiting for one minute;
and 5: automatically repeating the steps 2-4 for a long time, continuously collecting a large number of data samples by the background log file, and waiting for a remote instruction;
step 6: sending a remote instruction to a mobile client, requiring to stop collecting data and generating a report, automatically analyzing background log files after the client receives the instruction, sorting existing data and generating a final performance test report, and sending an abnormal alarm message to prompt testers that data analysis fails and simultaneously attaching an application log and a screenshot if the data analysis fails.
2. The method for testing the automatic performance of the playing engine of the mobile client of the intelligent camera according to claim 1, wherein the method comprises the following steps: in the step 1, if the user does not correctly enter a camera list page or an abnormal error prompt box is popped up, an abnormal alarm message is sent to prompt the user of the tester to log in and have an abnormality, and an application log and a screenshot are attached at the same time.
3. The method for testing the automatic performance of the playing engine of the mobile client of the intelligent camera according to claim 1, wherein the method comprises the following steps: in step 2, if the camera is not consistent or the camera is in an off-line state, an abnormal warning message is sent to prompt a tester to enter the camera for live broadcast and abnormal conditions occur, and an application log and a screenshot are attached.
4. The method for testing the automatic performance of the playing engine of the mobile client of the intelligent camera according to claim 1, wherein the method comprises the following steps: and 6, if the data analysis is successful, sending a final performance report to prompt a tester to complete the performance test.
5. The method for testing the automatic performance of the playing engine of the mobile client of the intelligent camera according to claim 1, wherein the method comprises the following steps: the system can be accessed to an automatic testing framework and a continuous integration tool to realize 24-hour uninterrupted real-time testing, and the official SDK for pushing the flying book and the nailing message is used to realize the sending of the abnormal warning message, and the screenshot and the application log are attached to the message to help a tester to quickly locate the cause of the problem.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111553995.0A CN114173112A (en) | 2021-12-18 | 2021-12-18 | Automatic performance test method for playing engine of mobile client of intelligent camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111553995.0A CN114173112A (en) | 2021-12-18 | 2021-12-18 | Automatic performance test method for playing engine of mobile client of intelligent camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114173112A true CN114173112A (en) | 2022-03-11 |
Family
ID=80487402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111553995.0A Pending CN114173112A (en) | 2021-12-18 | 2021-12-18 | Automatic performance test method for playing engine of mobile client of intelligent camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114173112A (en) |
-
2021
- 2021-12-18 CN CN202111553995.0A patent/CN114173112A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107832196B (en) | Monitoring device and monitoring method for abnormal content of real-time log | |
CN106559270B (en) | Data analysis method and device for urban rail signal equipment | |
CN111506489A (en) | Test method, system, device, server and storage medium | |
CN104850495A (en) | Automatic detection method and device | |
CN111552632A (en) | Interface testing method and device | |
CN111666193B (en) | Method and system for monitoring and testing terminal function based on real-time log analysis | |
CN110647417B (en) | Energy internet abnormal data processing method, device and system | |
CN106056227B (en) | Intelligent substation service tracking method based on IEC61850 standard | |
CN115757150A (en) | Production environment testing method, device, equipment and storage medium | |
CN110806955A (en) | Method and system for testing DC Cycle of server based on python | |
CN113452965B (en) | Automatic test method and system for testing compatibility of switch and network camera | |
CN114173112A (en) | Automatic performance test method for playing engine of mobile client of intelligent camera | |
CN113179195A (en) | CAN message embedded point detection method, system, device and computer readable storage medium | |
CN117370286A (en) | Cloud platform-based data storage method, system and equipment | |
CN110415726A (en) | A kind of tone testing system and its application method | |
CN114500178B (en) | Self-operation intelligent Internet of things gateway | |
CN111813063B (en) | Method and device for monitoring production equipment | |
CN115794624A (en) | Closed-loop testing method and system for single automation device of intelligent substation | |
CN113593549A (en) | Method and device for determining awakening rate of voice equipment | |
CN111984844A (en) | Method and system for automatically supplementing graph based on big data | |
CN113220656B (en) | Analysis method and device for liquid crystal panel glass production data file | |
CN112579420A (en) | Automatic dialing and testing scheme and flow for mobile client application of intelligent camera | |
CN117294735A (en) | Intranet B/S application system health checking method, system and device | |
CN114281615B (en) | Automatic testing system and method for consistency of stored data | |
CN112631934A (en) | Method and device for testing software online problems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |