CN112860547A - APP performance testing and data acquisition method for android/IOS mobile phone - Google Patents

APP performance testing and data acquisition method for android/IOS mobile phone Download PDF

Info

Publication number
CN112860547A
CN112860547A CN202110115853.XA CN202110115853A CN112860547A CN 112860547 A CN112860547 A CN 112860547A CN 202110115853 A CN202110115853 A CN 202110115853A CN 112860547 A CN112860547 A CN 112860547A
Authority
CN
China
Prior art keywords
test
mobile phone
app
data
performance
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
Application number
CN202110115853.XA
Other languages
Chinese (zh)
Inventor
师江帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Longce Technology Co ltd
Original Assignee
Hu Niu Technology Hangzhou Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hu Niu Technology Hangzhou Co ltd filed Critical Hu Niu Technology Hangzhou Co ltd
Priority to CN202110115853.XA priority Critical patent/CN112860547A/en
Publication of CN112860547A publication Critical patent/CN112860547A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to an APP performance test and data acquisition method for an android/IOS mobile phone, which comprises the following steps: s1, automatically installing and unloading, and recording corresponding time; s2, recording the memory ratio and the CPU ratio after the APP is installed on the running mobile phone; s3, collecting performance data of the mobile phone; s4, collecting the log and screenshot of the information; s5, providing and inputting parameters according to the test time, the name of the APP of the tested program and the version number, and returning to a test report list; s6, returning the compatibility test data of each mobile phone according to the test batch id; s7, returning the compatibility test index data according to each device uuid and the test batch id; s8, supporting concurrent testing of a plurality of devices; and S9, providing a test report after the test is finished. The method used by the invention is used for APP performance test, can improve the test efficiency and reduce the test period, and adopts an automatic test mode to finish the mobile phone APP performance test, thereby replacing the manual test and saving the labor cost.

Description

APP performance testing and data acquisition method for android/IOS mobile phone
Technical Field
The invention relates to the technical field of mobile phone APPs, in particular to an APP performance testing and data acquisition method for an android/IOS mobile phone.
Background
The software APP test pursues the quality of the product, however, with the development of software technology, it is more important to improve the work efficiency of the product test while ensuring the product quality.
In the current market, the APP software of the mobile phone is released at high frequency, and the current test tool cannot meet the requirement of rapidly releasing software products; 90% of tests are manual tests, many test categories, long period and high labor cost, foreign products and methods monopolize source-opening tools, are difficult to use and maintain, are expensive and cannot be customized locally (HP and IBM tools), the test talent gap is very large, few software test specialties of domestic universities are available, short-term training in society cannot meet actual requirements, and the problems are to be improved urgently.
Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects of the prior art and provides a convenient, light and efficient APP performance testing and data acquisition method for an android/IOS mobile phone.
In order to solve the technical problems, the technical scheme provided by the invention is as follows: an APP performance testing and data acquisition method for an android/IOS mobile phone comprises the following steps:
s1, selecting an online real machine according to the brand of the mobile phone, the android/IOS of the mobile phone system, the system version and the resolution, completing automatic installation and automatic unloading of the pre-installed APP by the mobile phone, and recording corresponding time; starting and automatically restarting the pre-installed APP, and recording corresponding time;
s2, recording the memory ratio and the CPU ratio after the APP is installed on the running mobile phone;
s3, collecting performance data of the mobile phone, including CPU, memory and flow of the mobile phone;
s4, collecting the log and screenshot of the information;
s5, providing and inputting parameters according to the test time, the name of the APP of the tested program and the version number, and returning to a test report list, wherein each list object comprises a test batch id and a unique identification number uuid list of the tested mobile phone;
s6, returning the compatibility test data of each mobile phone according to the test batch id;
s7, returning the compatibility test index data according to each device uuid and the test batch id;
s8, supporting concurrent testing of a plurality of devices;
and S9, providing a test report after the test is finished, and checking the test report of the APP performance of the mobile phone.
Further, the step S8 supports 50-100 concurrent tests of the devices:
1) the test completion time of 50 devices is less than 1 hour;
2) the test completion time for 100 devices was less than 2 hours.
Furthermore, clicking the mobile phone to screen, the performance data of the current mobile phone APP can be observed in real time.
Furthermore, the steps of the test process for the operation of the mobile phone realize recording and replaying, and are automatically converted into a flow chart to generate a test case.
Furthermore, the test case can be run by selecting a plurality of mobile phones with different systems, models and brands to run simultaneously.
The invention has the following advantages: 1. the method used by the invention is used for APP performance test, can improve the test efficiency, reduce the test period and support the requirement of high-frequency release of software;
2. the performance test of the mobile phone APP is completed in an automatic test mode, manual operation is replaced, and labor cost is saved;
3. the testing method is simple, and the traditional mode that a mobile phone is connected with a computer is replaced by on-line real machine screen projection, so that the testing is more convenient and faster;
4. the cost of maintaining the mobile phone is reduced, and the mobile phone to be tested can be selected on line according to the test requirement to complete performance test and performance data acquisition;
5. the test process realizes automatic recording to generate a test case, the test process is simple, important performance data can be observed in real time on a screen projection interface, and visual performance test is facilitated;
6. the test report after the test is finished can be used for visually reading the performance of the mobile phone from multiple dimensions.
Detailed Description
The present invention will be described in further detail with reference to examples.
In specific implementation, the invention provides an APP performance test and data acquisition method for an android/IOS mobile phone, which comprises the following steps:
s1, selecting an online real machine according to the brand of the mobile phone, the android/IOS of the mobile phone system, the system version and the resolution, completing automatic installation and automatic unloading of the pre-installed APP by the mobile phone, and recording corresponding time; starting and automatically restarting the pre-installed APP, and recording corresponding time;
s2, recording the memory ratio and the CPU ratio after the APP is installed on the running mobile phone;
s3, collecting performance data of the mobile phone, including CPU, memory and flow of the mobile phone;
s4, collecting the log and screenshot of the information;
s5, providing and inputting parameters according to the test time, the name of the APP of the tested program and the version number, and returning to a test report list, wherein each list object comprises a test batch id and a unique identification number uuid list of the tested mobile phone;
s6, returning the compatibility test data of each mobile phone according to the test batch id;
s7, returning the compatibility test index data according to each device uuid and the test batch id;
s8, supporting concurrent testing of a plurality of devices, and supporting concurrent testing of 50-100 devices:
1) the test completion time of 50 devices is less than 1 hour;
2) the test completion time for 100 devices was less than 2 hours. (ii) a
And S9, providing a test report after the test is finished, and checking the test report of the APP performance of the mobile phone.
Clicking the mobile phone screen, namely observing the performance data of the current mobile phone APP in real time; the step of the test process for operating the mobile phone realizes recording replay and automatically converts the recording replay into a flow chart to generate a test case; and the test case is run, and a plurality of mobile phones with different systems, models and brands can be selected to run simultaneously.
1. The mobile phone to be tested can be freely selected, and the mobile phone brand, the mobile phone system (android/ios), the resolution ratio and the like can be screened for testing. The mobile phone is an online real phone, and an offline computer is not required to be connected with a mobile phone;
2. the method is simple to operate, and the performance data of the current mobile phone APP can be observed in real time by clicking the screen of the mobile phone;
3. the step of operating the mobile phone in the test process can realize recording and replaying, and automatically converts the recording and replaying into a flow chart to generate a test case, so that the test case is convenient, efficient and low in threshold;
4. when the test case is operated, a plurality of mobile phones with different systems, models and brands can be selected to operate simultaneously;
5. and generating an APP performance test report after the test is finished, and checking the mobile phone APP performance test report.
Although the invention has been described in detail hereinabove with respect to a general description and specific embodiments thereof, it will be apparent to those skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

Claims (5)

1. An APP performance testing and data acquisition method for an android/IOS mobile phone is characterized by comprising the following steps:
s1, selecting an online real machine according to the brand of the mobile phone, the android/IOS of the mobile phone system, the system version and the resolution, completing automatic installation and automatic unloading of the pre-installed APP by the mobile phone, and recording corresponding time; starting and automatically restarting the pre-installed APP, and recording corresponding time;
s2, recording the memory ratio and the CPU ratio after the APP is installed on the running mobile phone;
s3, collecting performance data of the mobile phone, including CPU, memory and flow of the mobile phone;
s4, collecting the log and screenshot of the information;
s5, providing and inputting parameters according to the test time, the name of the APP of the tested program and the version number, and returning to a test report list, wherein each list object comprises a test batch id and a unique identification number uuid list of the tested mobile phone;
s6, returning the compatibility test data of each mobile phone according to the test batch id;
s7, returning the compatibility test index data according to each device uuid and the test batch id;
s8, supporting concurrent testing of a plurality of devices;
and S9, providing a test report after the test is finished, and checking the test report of the APP performance of the mobile phone.
2. The method for testing the APP performance and acquiring the data of the android/IOS mobile phone according to the claim 1, characterized in that: the step S8 supports 50-100 equipment concurrent tests:
1) the test completion time of 50 devices is less than 1 hour;
2) the test completion time for 100 devices was less than 2 hours.
3. The method for testing the APP performance and acquiring the data of the android/IOS mobile phone according to the claim 1, characterized in that: and clicking the mobile phone screen projection to observe the performance data of the current mobile phone APP in real time.
4. The method for testing the APP performance and acquiring the data of the android/IOS mobile phone according to the claim 1, characterized in that: the steps of the test process for the operation of the mobile phone realize recording replay and are automatically converted into a flow chart to generate a test case.
5. The method of claim 4, wherein the method for testing the APP performance and acquiring the data of the android/IOS mobile phone comprises the following steps: and the test case is run, and a plurality of mobile phones with different systems, models and brands can be selected to run simultaneously.
CN202110115853.XA 2021-01-28 2021-01-28 APP performance testing and data acquisition method for android/IOS mobile phone Pending CN112860547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110115853.XA CN112860547A (en) 2021-01-28 2021-01-28 APP performance testing and data acquisition method for android/IOS mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110115853.XA CN112860547A (en) 2021-01-28 2021-01-28 APP performance testing and data acquisition method for android/IOS mobile phone

Publications (1)

Publication Number Publication Date
CN112860547A true CN112860547A (en) 2021-05-28

Family

ID=75987040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110115853.XA Pending CN112860547A (en) 2021-01-28 2021-01-28 APP performance testing and data acquisition method for android/IOS mobile phone

Country Status (1)

Country Link
CN (1) CN112860547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518146A (en) * 2021-09-14 2021-10-19 云账户技术(天津)有限公司 Method and device for acquiring mobile terminal information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518146A (en) * 2021-09-14 2021-10-19 云账户技术(天津)有限公司 Method and device for acquiring mobile terminal information
CN113518146B (en) * 2021-09-14 2021-12-03 云账户技术(天津)有限公司 Method and device for acquiring mobile terminal information

Similar Documents

Publication Publication Date Title
CN107516510B (en) Automatic voice testing method and device for intelligent equipment
CN107766209B (en) Central control automation test method, device, equipment and computer readable storage medium
CN110768863B (en) Scheme for simulating and testing AIOT equipment
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN105260273A (en) Testing method and apparatus for intelligent electronic device
CN104780407A (en) Automatic testing method and automatic testing system for set top box
CN105100796A (en) Television test method, device and system
CN102789405A (en) Automated testing method and system for mainboard
CN112860547A (en) APP performance testing and data acquisition method for android/IOS mobile phone
CN111241111B (en) Data query method and device, data comparison method and device, medium and equipment
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN103913672A (en) Satellite low-frequency interface automatic testing system
CN103593282A (en) Implementation method of product automation testing and auxiliary tool of product automation testing
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment
CN110674038A (en) Method and device for classifying error information in software test
CN115392802A (en) Method, system, medium, and apparatus for detecting defects of industrial products
CN113538725B (en) Method for testing hardware products and related equipment
CN109542476A (en) A kind of automatic identification HDD type and the method, system and device for refreshing hard disk firmware
CN114879647A (en) ECU fault code test system, electronic controller and car
CN113934619A (en) Sound source testing method, system and storage medium based on Robot Framework testing Framework
CN114166265A (en) Ground test method and system for satellite, storage medium and electronic equipment
CN110825645A (en) Assembly line type full-process automatic testing method
CN109344087B (en) Multi-terminal synchronous debugging method and system of equipment, storage medium and processor
CN114610329B (en) Solid state disk deployment method and device, readable storage medium and electronic equipment
CN109491845B (en) Test method and system for storage product controller

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
TA01 Transfer of patent application right

Effective date of registration: 20230414

Address after: Room 401-2, 4th Floor, Tianren Building, No. 188, Liyi Road, Ningwei Street, Xiaoshan District, Hangzhou City, Zhejiang Province, 310000

Applicant after: Hangzhou Longce Technology Co.,Ltd.

Address before: Room 3001-43, Tianren building, 188 Liyi Road, ningwei street, Xiaoshan District, Hangzhou, Zhejiang 311200

Applicant before: Hu Niu Technology (Hangzhou) Co.,Ltd.

TA01 Transfer of patent application right