CN108228438A - The performance test methods and device of a kind of mobile terminal - Google Patents

The performance test methods and device of a kind of mobile terminal Download PDF

Info

Publication number
CN108228438A
CN108228438A CN201711486160.1A CN201711486160A CN108228438A CN 108228438 A CN108228438 A CN 108228438A CN 201711486160 A CN201711486160 A CN 201711486160A CN 108228438 A CN108228438 A CN 108228438A
Authority
CN
China
Prior art keywords
test
mobile terminal
tested
jenkins
build
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
CN201711486160.1A
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software 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 Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201711486160.1A priority Critical patent/CN108228438A/en
Publication of CN108228438A publication Critical patent/CN108228438A/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/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • 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/3692Test management for test results analysis

Abstract

The invention discloses the performance test methods and device of a kind of mobile terminal, including:The beta version of jenkins server dispositions mobile terminal to be tested;Test machine disposes the beta version;The jenkins servers create build test scripts;The test machine automatic test script operation;Test script described in the running of mobile terminal to be tested;The jenkins servers collect the test data of mobile phone to be tested, and according to the corresponding test report of the Test data generation, the establishment of test script is carried out by jenkins servers, and after the test of mobile terminal progress test script, get test result, generate corresponding test report, the automatic performance platform tools for solving mobile terminal APP in the prior art are realized using embedding code or hook network APs I in the industry, it results in very high to tester's requirement, secondly it is strong to test code injection, in addition the technical issues of business cannot being customized.

Description

The performance test methods and device of a kind of mobile terminal
Technical field
The present invention relates to field of computer technology more particularly to the performance test methods and device of a kind of mobile terminal.
Background technology
The automatic performance platform tools of mobile terminal APP are to utilize embedding code or hook network APs I in the industry in the prior art Realize, result in tester is required it is very high, it is secondly strong to test code injection, in addition business cannot be customized Technical problem.
Invention content
A kind of performance test methods of mobile terminal provided by the invention solve mobile terminal APP's in the prior art Automatic performance platform tools are realized using embedding code or hook network APs I in the industry, result in tester require it is very high, Secondly it is strong to test code injection, the technical issues of cannot being customized in addition to business.
A kind of performance test methods of mobile terminal provided by the invention, including:
S1:The beta version of jenkins server dispositions mobile terminal to be tested;
S2:Test machine disposes the beta version;
S3:The jenkins servers create build test scripts;
S4:The test machine automatic test script operation;
S5:Test script described in the running of mobile terminal to be tested;
S6:The jenkins servers collect the test data of mobile phone to be tested, and according to the Test data generation pair The test report answered.
Preferably, the jenkins servers further include before creating build test scripts:
Initiate to create use-case request to web server in front end so that the web server turns the establishment use-case request It is dealt into application server;
The establishment use-case request is put in storage to data server by the application server according to the establishment use-case request, And the storage of the data server return is got as a result, wherein, the storage result carries use-case data;
The storage result is forwarded to the web server by the application server so that the web server is by institute It states storage result and returns to the front end.
Preferably, the jenkins servers further include before creating build test scripts:
The application server initiates to create build requests to the web server so that the web server forwarding The establishment build is asked to jenkins servers;
The jenkins servers create build test scripts and specifically include:
The jenkins servers create corresponding build according to the corresponding job of the establishment build request schedulings and survey Training sheet.
Preferably, after the mobile phone to be tested runs the test script, the jenkins servers are collected to be tested The test data of mobile phone, and further included before according to the corresponding test report of the Test data generation:
S51:When the jenkins servers judge that mobile phone to be tested completes the operation of the test script, then redirect To step S6.
Preferably, the jenkins servers collect the test data of mobile phone to be tested, and are given birth to according to the test data It is further included after into corresponding test report:
The test report is called in front end, and carries out display corresponding with the test report.
A kind of performance testing device of mobile terminal provided by the invention, including:
First deployment unit is arranged on jenkins servers, for disposing the beta version of mobile terminal to be tested;
Second deployment unit is set on a testing machine, for disposing the beta version;
First creating unit is arranged on jenkins servers, for creating build test scripts;
First test cell, setting on a testing machine, run for automatic test script;
First running unit is arranged on the mobile terminal to be tested, for running the test script;
First collector unit is arranged on jenkins servers, for collecting the test data of mobile phone to be tested, and root According to the corresponding test report of the Test data generation.
Preferably, it further includes:
First initiates unit, initiates to create use-case request to web server for front end so that the web server will The establishment use-case request is forwarded to application server;
First storage unit is set on the application server, for being used described create according to the establishment use-case request Example request storage gets storage that the data server returns as a result, wherein to data server, the storage result Carry use-case data;
First retransmission unit is arranged on the application server, is taken for the storage result to be forwarded to the web Business device so that the storage result is returned to the front end by the web server.
Preferably, it further includes:
Second initiates unit, is arranged on the application server, is taken for initiating to create build requests to the web Business device so that the web server forwarding establishment build requests to jenkins servers;
First creating unit, is specifically used for:It is created and corresponded to according to the corresponding job of the establishment build request schedulings Build test scripts.
Preferably, it further includes:
First trigger element is arranged on the jenkins servers, is treated for working as the jenkins servers judgement When testing mobile phone completes the operation of the test script, the first collector unit is triggered.
Preferably, it further includes:
First call unit calls the test report, and carry out display corresponding with the test report for front end.
As can be seen from the above technical solutions, the present invention has the following advantages:
The performance test methods and device of a kind of mobile terminal provided by the invention, wherein, a kind of performance of mobile terminal Test method includes:S1:The beta version of jenkins server dispositions mobile terminal to be tested;S2:Test machine disposes the survey Test run sheet;S3:The jenkins servers create build test scripts;S4:The test machine automatic test script operation; S5:Test script described in the running of mobile terminal to be tested;S6:The jenkins servers collect the survey of mobile phone to be tested Data are tried, and according to the corresponding test report of the Test data generation.
The present invention carries out the establishment of test script by jenkins servers, and carries out test script in mobile terminal After test, test result is got, generates corresponding test report, solves the performance of mobile terminal APP in the prior art certainly Dynamicization platform tools are realized using embedding code or hook network APs I in the industry, result in tester require it is very high, secondly it is right It is strong to test code injection, the technical issues of cannot being customized in addition to business.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other attached drawings according to these attached drawings.
Fig. 1 shows for a kind of flow of one embodiment of the performance test methods of mobile terminal provided in an embodiment of the present invention It is intended to;
Fig. 2 is a kind of flow of another embodiment of the performance test methods of mobile terminal provided in an embodiment of the present invention Schematic diagram;
Fig. 3 shows for a kind of structure of one embodiment of the performance testing device of mobile terminal provided in an embodiment of the present invention It is intended to.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that disclosed below Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field All other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of the performance test methods of mobile terminal provided by the invention, including:
S101:The beta version of jenkins server dispositions mobile terminal to be tested;
In the present embodiment, when needing to carry out the performance test of mobile terminal, it is necessary first to which jenkins server dispositions are treated Test the beta version of mobile terminal;
It should be noted that jenkins servers can be Linux continuous integrating servers;
S102:Test machine disposes beta version;
After the beta version of jenkins server dispositions mobile terminal to be tested, test machine deployment beta version;
S103:Jenkins servers create build test scripts;
After test machine deployment beta version, jenkins servers is needed to create build test scripts;
Optionally, test script can be:
1st, python scripts
Major cycle script process_output, reads configuration file and order line performs test plan, is performed simultaneously Related subprocess:Uiautomation, camera, acquisition resource etc.;
Mul_controller scripts:Public service is provided, mainly remote handset connects, and file uploads, download etc.
Camera scripts provide start-stop of camera service etc.
·Histsimilar:Image similarity script
2nd, automation case script:
Js encapsulates general method:
Finders_pec.js realizes that multi-fork is gone through several times, and time ms is obtained, and sub-node type is obtained according to type node Whether array judges whether there is leaf node under some node, judges whether type is empty, judge inside some array comprising certain Whether a element, some character string judge whether the name of view and the name of navigation bar communicate comprising some character and substring Etc.
·System>Js, which is realized, is localling create file, reads file and written document, calls local CreateFile.sh, readFile.sh, writeFile.sh are realized
Waiter_Spec.js obtains network indicator and the indicator of current interface
Js encapsulation operation operational approaches:
1.loginTime.js
2.scrollViews_response.js
3.goodsPage_response.ls
4.tabbars_response.js
5.dragGoodsDetailPage2_response.js
6.dragPage_response.js
7.enterToGoodsDetailPage_response.js
Login module method:
1. pull-up app into login interface, judges whether to log in, if logged on just exiting;It logs on
2. it if not logged on, then directly logs in
3. former pull-up state interface is returned to after logging in
4. method original shape:loginTime()
Frequency channel interface switching method:
1. being packaged into method, judgement has several channels;
2. channel subscript 0,1,2 ... represents each channel interface from left to right;
3. click switching;
4. method original shape:ScrollViews_response (table_index) table_index=0,1,2 ... ..;
Bottom tabbar switching methods:
1. being packaged into method, judgement has several tabbar elements
2. subscript 0,1,2 ... represents each tabbar interfaces from left to right
3. method original shape:Tabbars_response (table_index) table_index=0,1,2 ... ..
Working days list dilatory method of the level-one interface under channel:
1. being packaged into method, it can be specified under working days list and slide into some working days;
2. it can also be dragged by step-length
3. method original shape:
dragMainPage_repsonse(scrollViewsIndex,n,m);
dragOtherPage_repsonse(scrollViewsIndex,n,m);
Dilatory in the working days list of homepage, it is 0 that the 1st parameter of setting, which is 1,2,3,4 second parameters,;Third parameter is dragged To the interface, which opens figure to pile;dragMainPage_repsonse(0,0,2);
Working days list under other channels is dilatory, and it is 0 that the 1st parameter of setting, which is 1,2,3,4 second parameters,;Third Parameter is dilatory to which figure of the interface;scrollViews_response(1);
dragOtherPage_repsonse(1,0,5);
Items list method into below some working days list:
1. being packaged into method, it can specify under working days list and click some working days, arranged subsequently into the commodity of working days Table;
2. step-length can be specified, it can also the entire working days list of searching loop;
3. temporarily only support tableView, and webView;
4. method original shape:goodsPage_response(n,starNum,endNum);
5. homepage commodity click response time test, testcase001;
goodsPage_reponse(0,82);Other working days commodity click response time test, testcase002;
//scrollViews_response(4);
//goodsPage_reponse(0,1);// homepage is since second figure, other interfaces are since 1;
It is dilatory in items list;
1. method is packaged into, can be after some working days enter, it is tableView to judge merchandise resources, still webView;
2. compensation can be specified dilatory;
3. method original shape:dragGoodsPage_reponse(n,startNum,m)
4.dragGoodsPage_reponse(0,114,5);// homepage since second figure, from 1 open by other interfaces Begin, step-length 5;
Into item detail page;
1. being packaged into method, commodity can be clicked and enter commodity details page;
It 2. can be with all commodity under one working days of searching loop;
3. method original shape:
function dragGoodsDetailPage_reponse(scrollViewsIndex,startNume,n,m)
dragGoodsDetailPage_reponse(0,6,0,1)
//n values 0 and 1 judge whether either with or without scorllview;M judges what step-length to slide commodity details page according to
Script tissue
Try/catch is to obtaining abnormal and encapsulation time-out function:pushTimeOut(1),popTimeOut();
While/true control interfaces redirect
Differentiate that an interface successfully redirects or primary dilatory interface is successfully refreshed, it can be according to following theoretical judgment:
1. navigation bar or the static elements of other scrollView or tabView or toolBar are loaded first;
2. if two above-mentioned things in interface are consistent, tableView can be removed to judge;
3. if having been acknowledged changing interface target interface, possible current picture has loaded not yet;
4. first determine whether tableView or webView cell or static text whether what comes out;
5. judge whether picture renders success again;
Time beginning and end point is set in designated position, obtains the response time;
It can be output to by the function of written document with custom formats and formulate file content (response time, memory, CPU Deng);
1. other scripts
Pcap2har.sh conversions pcap is har files;
·getResource.sh:The script of resource is acquired on mobile phone;
Config.conf sets the initializtion script of script executive plan;
S104:Test machine automatic test script is run;
After jenkins servers create build test scripts, test machine automatic test script is needed to run;
S105:Running of mobile terminal test script to be tested;
After the operation of test machine automatic test script, running of mobile terminal test script to be tested is needed;
S106:Jenkins servers collect the test data of mobile phone to be tested, and according to the corresponding survey of Test data generation Examination report;
After running of mobile terminal test script to be tested, jenkins servers is needed to collect the test of mobile phone to be tested Data, and according to the corresponding test report of Test data generation;
A kind of performance test methods of mobile terminal provided in an embodiment of the present invention include:S101:Jenkins servers portion Affix one's name to the beta version of mobile terminal to be tested;S102:Test machine disposes beta version;S103:Jenkins servers create Build test scripts;S104:Test machine automatic test script is run;S105:Running of mobile terminal test script to be tested; S106:Jenkins servers collect the test data of mobile phone to be tested, and according to the corresponding test report of Test data generation, The embodiment of the present invention carries out the establishment of test script by jenkins servers, and carries out the survey of test script in mobile terminal After examination, test result is got, generates corresponding test report, the performance for solving mobile terminal APP in the prior art is automatic Change platform tools be to be realized using embedding code or hook network APs I in the industry, result in tester require it is very high, secondly to survey It is strong to try code injection, the technical issues of cannot being customized in addition to business.
The above is a kind of detailed description of one embodiment progress to performance test methods of mobile terminal, below will be right A kind of another embodiment of the performance test methods of mobile terminal is described in detail.
Referring to Fig. 2, a kind of another embodiment of the performance test methods of mobile terminal provided by the invention, including:
S201:The beta version of jenkins server dispositions mobile terminal to be tested;
In the present embodiment, when needing to carry out the performance test of mobile terminal, it is necessary first to which jenkins server dispositions are treated Test the beta version of mobile terminal;
S202:Test machine disposes beta version;
After the beta version of jenkins server dispositions mobile terminal to be tested, test machine deployment beta version;
S203:Initiate to create use-case request to web server in front end so that web server will create use-case request forwarding To application server;
After test machine deployment beta version, front end is needed to initiate to create use-case request to web server so that web takes Business device will create use-case request and be forwarded to application server;
Optionally, 1. plan titles, 2. test platforms can be carried by creating in use-case request, for example, iOS and Android, 3. test cases, can obtain according to platform intelligent;
S204:Application server will create use-case request storage to data server according to use-case request is created, and obtain The storage returned to data server is as a result, wherein, storage result carries use-case data;
Initiate to create use-case request to web server in front end so that web server will create use-case request and be forwarded to application After server, need application server that will create use-case request storage to data server according to use-case request is created, and obtain The storage of data server return is got as a result, wherein, storage result carries use-case data;
S205:Application server is forwarded to web server by result is put in storage so that web server will be put in storage result and return To front end;
Application server will create use-case request storage to data server according to use-case request is created, and get data The storage that server returns is as a result, wherein, after storage result carries use-case data, need application server that will be put in storage result It is forwarded to web server so that web server will be put in storage result and return to front end;
It is alternatively possible to by php front ends submit create use-case request, java rear ends receive and process request after number Result is then back to front end according to storage;
S206:Application server initiates to create build requests to web server so that web server forwarding creates Build is asked to jenkins servers;
Web server is forwarded to by result is put in storage so that web server will be put in storage before result returns in application server After end, application server is needed to initiate to create build requests to web server so that web server forwarding creates build Ask jenkins servers;
S207:Jenkins servers create corresponding build tests foot according to the corresponding job of build request schedulings is created This;
Initiate to create build requests to web server in application server so that web server forwarding creates build please After seeking jenkins servers, jenkins servers is needed to create correspondence according to the corresponding job of build request schedulings is created Build test scripts;
S208:Test machine automatic test script is run;
Jenkins servers according to create the corresponding job of build request schedulings create corresponding build test scripts it Afterwards, test machine automatic test script is needed to run;
S209:Running of mobile terminal test script to be tested;
After the operation of test machine automatic test script, running of mobile terminal test script to be tested is needed;
S210:When jenkins servers judge that mobile phone to be tested completes the operation of test script, then step is jumped to S211;
After running of mobile terminal test script to be tested, when jenkins servers judge that mobile phone to be tested completes test During the operation of script, then step S211 is jumped to;
S211:Jenkins servers collect the test data of mobile phone to be tested, and according to the corresponding survey of Test data generation Examination report;
Optionally, java is scanned by timed task to new test case in the present embodiment, then dispatches Jenkins Corresponding job goes to create new build test scripts, and the ZIP packets of implementing result are uploaded to clothes by calling interface after the completion of execution It is engaged in device, server unzips it ZIP packets and according to the corresponding data processing of file name suffix after decompression and is put in storage, logical The executive condition of php front ends monitoring job is crossed, every five seconds for example obtains data and refreshes once, until all tasks are run through;
S212:Test report is called in front end, and carries out display corresponding with test report;
The test data of mobile phone to be tested is collected, and according to the corresponding test of Test data generation in jenkins servers After report, front end is needed to call test report, and carry out display corresponding with test report;
A kind of performance test methods of mobile terminal provided in an embodiment of the present invention include:S201:Jenkins servers portion Affix one's name to the beta version of mobile terminal to be tested;S202:Test machine disposes beta version;S203:It initiates to create use-case request in front end To web server so that web server will create use-case request and be forwarded to application server;S204:Application server is according to wound Use-case request storage will be created to data server by building use-case request, and get data server return storage as a result, its In, storage result carries use-case data;S205:Application server is forwarded to web server by result is put in storage so that web takes Business device will be put in storage result and return to front end;S206:Application server initiates to create build requests to web server so that web Server forwarding creates build requests to jenkins servers;S207:Jenkins servers are adjusted according to build requests are created It spends corresponding job and creates corresponding build test scripts;S208:Test machine automatic test script is run;S209:It is to be tested Running of mobile terminal test script;S210:When jenkins servers judge that mobile phone to be tested completes the operation of test script, Then jump to step S211;S211:Jenkins servers collect the test data of mobile phone to be tested, and are given birth to according to test data Into corresponding test report;S212:Test report is called in front end, and carries out display corresponding with test report, and the present invention is implemented Example carries out the establishment of test script by jenkins servers, and after the test for carrying out test script in mobile terminal, gets Test result generates corresponding test report, solves the automatic performance platform tools industry of mobile terminal APP in the prior art Inside to be realized using embedding code or hook network APs I, result in tester require it is very high, secondly to test code injection By force, the technical issues of business cannot being customized in addition.
The above is that a kind of another embodiment of the performance test methods of mobile terminal is described in detail, and below will A kind of one embodiment of the performance testing device of mobile terminal is described in detail.
Referring to Fig. 3, a kind of one embodiment of the performance testing device of mobile terminal provided by the invention, including:
First deployment unit 301, is arranged on jenkins servers, for disposing the beta version of mobile terminal to be tested This;
Second deployment unit 302 is set on a testing machine, for disposing beta version;
First creating unit 303, is arranged on jenkins servers, for creating build test scripts;
First test cell 304, setting on a testing machine, run for automatic test script;
First running unit 305, is arranged on mobile terminal to be tested, for testing results script;
First collector unit 306, is arranged on jenkins servers, for collecting the test data of mobile phone to be tested, and According to the corresponding test report of Test data generation.
In the embodiment of the present invention, shifting to be tested is disposed by the first deployment unit 301 being arranged on jenkins servers The beta version of dynamic terminal sets the second deployment unit 302 on a testing machine to dispose beta version, is arranged on later later The first creating unit 303 on jenkins servers creates build test scripts, sets the first survey on a testing machine later The operation of 304 automatic test script of unit is tried, the first running unit 305 operation being arranged on later on mobile terminal to be tested is surveyed Training sheet, the first collector unit 306 being arranged on later on jenkins servers collect the test data of mobile phone to be tested, and According to the corresponding test report of Test data generation, the establishment of test script is carried out by jenkins servers, and mobile whole After end carries out the test of test script, test result is got, corresponding test report is generated, solves and move in the prior art The automatic performance platform tools of terminal APP are realized using embedding code or hook network APs I in the industry, are resulted in tester It is required that it is very high, it is secondly strong to test code injection, the technical issues of cannot being customized in addition to business.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It can directly be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide range caused.

Claims (10)

1. a kind of performance test methods of mobile terminal, which is characterized in that including:
S1:The beta version of jenkins server dispositions mobile terminal to be tested;
S2:Test machine disposes the beta version;
S3:The jenkins servers create build test scripts;
S4:The test machine automatic test script operation;
S5:Test script described in the running of mobile terminal to be tested;
S6:The jenkins servers collect the test data of mobile phone to be tested, and corresponding according to the Test data generation Test report.
2. the performance test methods of mobile terminal according to claim 1, which is characterized in that the jenkins servers It is further included before creating build test scripts:
Initiate to create use-case request to web server in front end so that the establishment use-case request is forwarded to by the web server Application server;
The establishment use-case request is put in storage to data server, and obtain by the application server according to the establishment use-case request The storage of the data server return is got as a result, wherein, the storage result carries use-case data;
The application server by it is described storage result be forwarded to the web server so that the web server by it is described enter Library result returns to the front end.
3. the performance test methods of mobile terminal according to claim 2, which is characterized in that the jenkins servers It is further included before creating build test scripts:
The application server initiates to create build requests to the web server so that described in the web server forwarding Build requests are created to jenkins servers;
The jenkins servers create build test scripts and specifically include:
The jenkins servers create corresponding build according to the corresponding job of the establishment build request schedulings and test foot This.
4. the performance test methods of mobile terminal according to claim 3, which is characterized in that the mobile phone operation to be tested After the test script, the jenkins servers collect the test data of mobile phone to be tested, and according to the test data It is further included before generating corresponding test report:
S51:When the jenkins servers judge that mobile phone to be tested completes the operation of the test script, then step is jumped to Rapid S6.
5. the performance test methods of mobile terminal according to claim 4, which is characterized in that the jenkins servers The test data of mobile phone to be tested is collected, and is further included later according to the corresponding test report of the Test data generation:
The test report is called in front end, and carries out display corresponding with the test report.
6. a kind of performance testing device of mobile terminal, which is characterized in that including:
First deployment unit is arranged on jenkins servers, for disposing the beta version of mobile terminal to be tested;
Second deployment unit is set on a testing machine, for disposing the beta version;
First creating unit is arranged on jenkins servers, for creating build test scripts;
First test cell, setting on a testing machine, run for automatic test script;
First running unit is arranged on the mobile terminal to be tested, for running the test script;
First collector unit is arranged on jenkins servers, for collecting the test data of mobile phone to be tested, and according to institute State the corresponding test report of Test data generation.
7. the performance testing device of mobile terminal according to claim 6, which is characterized in that further include:
First initiates unit, initiates to create use-case request to web server for front end so that the web server is by described in It creates use-case request and is forwarded to application server;
First is put in storage unit, sets on the application server, for being asked the establishment use-case according to the establishment use-case request Storage is sought to data server, and gets the storage of the data server return as a result, wherein, the storage result carries There is use-case data;
First retransmission unit is arranged on the application server, for the storage result to be forwarded to the web services Device so that the storage result is returned to the front end by the web server.
8. the performance testing device of mobile terminal according to claim 7, which is characterized in that further include:
Second initiates unit, is arranged on the application server, is asked for initiating to create build to the web server, So that the web server forwarding establishment build is asked to jenkins servers;
First creating unit, is specifically used for:It is created according to the corresponding job of the establishment build request schedulings corresponding Build test scripts.
9. the performance testing device of mobile terminal according to claim 8, which is characterized in that further include:
First trigger element is arranged on the jenkins servers, for work as the jenkins servers judge it is to be tested When mobile phone completes the operation of the test script, the first collector unit is triggered.
10. the performance testing device of mobile terminal according to claim 9, which is characterized in that further include:
First call unit calls the test report, and carry out display corresponding with the test report for front end.
CN201711486160.1A 2017-12-29 2017-12-29 The performance test methods and device of a kind of mobile terminal Pending CN108228438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711486160.1A CN108228438A (en) 2017-12-29 2017-12-29 The performance test methods and device of a kind of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711486160.1A CN108228438A (en) 2017-12-29 2017-12-29 The performance test methods and device of a kind of mobile terminal

Publications (1)

Publication Number Publication Date
CN108228438A true CN108228438A (en) 2018-06-29

Family

ID=62647463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711486160.1A Pending CN108228438A (en) 2017-12-29 2017-12-29 The performance test methods and device of a kind of mobile terminal

Country Status (1)

Country Link
CN (1) CN108228438A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828551A (en) * 2019-02-18 2019-05-31 深圳高新兴物联科技有限公司 Automated testing method, device and computer readable storage medium
CN111008135A (en) * 2019-12-02 2020-04-14 北京博睿宏远数据科技股份有限公司 APP test method, device, equipment and storage medium
CN111651351A (en) * 2020-05-29 2020-09-11 成都新潮传媒集团有限公司 Software performance testing method and device based on Jenkins
CN112394951A (en) * 2020-11-13 2021-02-23 中国工商银行股份有限公司 Application deployment method and server cluster
CN112650686A (en) * 2020-12-30 2021-04-13 北京华胜天成科技股份有限公司 Method and device for obtaining test result, electronic equipment and storage medium
CN114064508A (en) * 2021-11-29 2022-02-18 四川虹美智能科技有限公司 Mobile terminal software testing method and system based on group control technology
CN114385258A (en) * 2021-12-08 2022-04-22 北京云测信息技术有限公司 Automatic testing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150249A (en) * 2011-12-07 2013-06-12 北京新媒传信科技有限公司 Automatic testing method and system
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN104579822A (en) * 2014-12-10 2015-04-29 华南理工大学 Automatic performance test system and method of mobile application based on Http protocol
US20150381742A1 (en) * 2014-06-30 2015-12-31 Verizon Patent And Licensing Inc. Automated web services validation
CN106201882A (en) * 2016-07-13 2016-12-07 浪潮(北京)电子信息产业有限公司 Automated operating system method of testing based on Jenkins and system
CN106294099A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of method of testing and equipment
CN106547688A (en) * 2016-10-19 2017-03-29 厦门市美亚柏科信息股份有限公司 Product automation method of testing and its system based on Windows
CN106874189A (en) * 2016-12-30 2017-06-20 江苏瑞中数据股份有限公司 A kind of implementation method of the automatization test system of real-time data of power grid storehouse system
CN107122293A (en) * 2016-12-05 2017-09-01 北京小度信息科技有限公司 software performance testing method, device, server and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150249A (en) * 2011-12-07 2013-06-12 北京新媒传信科技有限公司 Automatic testing method and system
CN103150249B (en) * 2011-12-07 2015-12-16 北京新媒传信科技有限公司 A kind of method and system of automatic test
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
US20150381742A1 (en) * 2014-06-30 2015-12-31 Verizon Patent And Licensing Inc. Automated web services validation
CN104579822A (en) * 2014-12-10 2015-04-29 华南理工大学 Automatic performance test system and method of mobile application based on Http protocol
CN106294099A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of method of testing and equipment
CN106201882A (en) * 2016-07-13 2016-12-07 浪潮(北京)电子信息产业有限公司 Automated operating system method of testing based on Jenkins and system
CN106547688A (en) * 2016-10-19 2017-03-29 厦门市美亚柏科信息股份有限公司 Product automation method of testing and its system based on Windows
CN107122293A (en) * 2016-12-05 2017-09-01 北京小度信息科技有限公司 software performance testing method, device, server and system
CN106874189A (en) * 2016-12-30 2017-06-20 江苏瑞中数据股份有限公司 A kind of implementation method of the automatization test system of real-time data of power grid storehouse system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828551A (en) * 2019-02-18 2019-05-31 深圳高新兴物联科技有限公司 Automated testing method, device and computer readable storage medium
CN111008135A (en) * 2019-12-02 2020-04-14 北京博睿宏远数据科技股份有限公司 APP test method, device, equipment and storage medium
CN111008135B (en) * 2019-12-02 2024-01-23 北京博睿宏远数据科技股份有限公司 APP test method, device, equipment and storage medium
CN111651351A (en) * 2020-05-29 2020-09-11 成都新潮传媒集团有限公司 Software performance testing method and device based on Jenkins
CN111651351B (en) * 2020-05-29 2022-11-18 成都新潮传媒集团有限公司 Jenkins-based software performance testing method and computer main equipment
CN112394951A (en) * 2020-11-13 2021-02-23 中国工商银行股份有限公司 Application deployment method and server cluster
CN112394951B (en) * 2020-11-13 2023-11-17 中国工商银行股份有限公司 Application deployment method and server cluster
CN112650686A (en) * 2020-12-30 2021-04-13 北京华胜天成科技股份有限公司 Method and device for obtaining test result, electronic equipment and storage medium
CN114064508A (en) * 2021-11-29 2022-02-18 四川虹美智能科技有限公司 Mobile terminal software testing method and system based on group control technology
CN114064508B (en) * 2021-11-29 2023-06-27 四川虹美智能科技有限公司 Mobile terminal software testing method and system based on group control technology
CN114385258A (en) * 2021-12-08 2022-04-22 北京云测信息技术有限公司 Automatic testing method and device, electronic equipment and storage medium
CN114385258B (en) * 2021-12-08 2023-09-26 北京云测信息技术有限公司 Automatic test method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108228438A (en) The performance test methods and device of a kind of mobile terminal
CN108595329B (en) Application testing method and device and computer storage medium
CN112035228B (en) Resource scheduling method and device
CN104750487B (en) A kind of development approach and starting method of mobile terminal APP
CN110417613A (en) Distributed performance test method, device, equipment and storage medium based on Jmeter
CN108156022A (en) A kind of service calling method, device and electronic equipment
CN104581785B (en) wireless network test method, test device and mobile terminal
CN108293081A (en) Pass through the program playback deep linking of user interface event to mobile application state
CN105164644A (en) Hook framework
CN110196804B (en) Service testing method and device, storage medium and electronic device
CN104346279A (en) Method and device for software testing
CN111782317A (en) Page testing method and device, storage medium and electronic device
CN109857391A (en) Processing method and processing device, storage medium and the electronic device of data
Lin et al. Tracing function dependencies across clouds
CN110224897A (en) Vulnerable network test method, device, mobile device and the storage medium of application program
CN109271316A (en) Android device and its automated testing method, memory
US11909640B2 (en) Creating endpoints
CN108039956A (en) Using monitoring method, system and computer-readable recording medium
CN110515514A (en) A kind of data processing method, device and storage medium
CN109828920A (en) A kind of log analysis method, device and computer readable storage medium
CN108228193A (en) Data capture method and device
CN107657053A (en) A kind of reptile implementation method and device
CN112306471A (en) Task scheduling method and device
CN115514677B (en) Method and system for server dial testing
CN110389886B (en) Additional function testing method and device of main application program and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629