基于GUI的Android性能测试方法的研究和实现ResearchandImplementationofAndroidPerformanceTestingMethodBasedonGUI摘要在移动应用软件越来越发达的今天,在当今世界上已经拥有了数不胜数的用户群体,根据最新数据报道,占有80%市场的Android手机用户,已经是世界上最受欢迎的移动软件设备,而又因为Android应用软件的日益更替,让如何保证软件质量这个课题,成为大家研究的必要重点,对于开发人员与测试人员以及用户群体,怎样去保证这些软件的质量问题,同时还要去关注移动应用软件在运行过程的流畅度,一直没有一个可靠完整的工具把用户的数据和体验一一呈现。现有的测试工作都基于传统的静态分析或者动态执行,也就是手工测试。对于Android程序来说,静态分析具有一定的局限性,而动态分析又很大程度地忽略了APP执行时的遍历方式,而又因为现今市场上并没有一件完整软件测试工具最大程度地进行GUI性能测试的存在,因此,本文提出用现有的性能测试工具,结合各种测试手段,利用Postman、Charles、Appium分别进行GUI的接口测试、手机抓包测试和自动化测试,然后根据测试过程分析出这些工具进行GUI测试的可行性,描述出其与手工测试对比的优点与缺点,这样就能最大程度地分析出GUI性能测试的一整个流程,所以我将着重利用好各种工具,引导大家怎么去更好去使用这些用具,尽可能地照顾且查看关注App的GUI问题,找出APP在GUI上的性能问题。本文在随机移动应用软件进行实验,实验表明,这样能最大程度地发现APP在运行状态中出现的性能问题。关键词:GUI性能测试、接口测试工具、抓包工具、自动化测试工具、AbstractInmobileapplicationsbecomemoreandmoredevelopedtoday,intoday'sworldhasaninfinitenumberofusergroups,accordingtoareportinthelatestdata,hasa80%marketofAndroidmobilephoneusers,isalreadytheworld'smostpopularmobilesoftware,andbecauseAndroidapplicationsincreasinglychange,letthissubjectishowtoensurethequalityofthesoftware,youbecomeoneoftheresearchnecessarytofocuson,fordevelopersandtestersandusergroups,howtoguaranteethequalityofthesoftwareproblem,butalsotofocusonmobileapplicationsintherunningprocessoffluency,Therehasneverbeenareliableandcompletetooltopresentusers'dataandexperience.Existingtestingisbasedontraditionalstaticanalysisordynamicexecution,thatis,manualtesting.ForAndroidapplications,thestaticanalysishascertainlimitations,anddynamicanalysishaslargelyignoredtheAPPexecutionwayoftraverse,andbecausenowthemarketisnotacompletesoftwaretesttoolstothegreatestextentGUIperformancetesting,therefore,inthispaper,usingtheexistingperformancetesttools,combinedwithvarioustestingmeans,makeuseofthePostman,Charles,AppiumrespectivelytestedtheGUIinterface,mobilephonecaughttestingandautomationtesting,andthenaccordingtothetestprocessanalysisofthefeasibilityofthesetoolsforGUItesting,Describeitscomparedwithmanualtesting,theadvantagesanddisadvantagesofsuchanalysiscanmaximizetheGUIperformancetestingthewholeprocess,soIwillfocusonmakegooduseofvarioustools,guideyouhowtobettertousetheseutensils,asmuchaspossibletotakecareofandGUIApptoviewconcerned,identifyperformanceproblemsontheAppintheGUI.Thispaperconductsexperimentsonrandommobileapplicationsoftware,andtheexperimentsshowthatthismethodcanfindtheperformanceproblemsintherunningstateoftheAPPtothegreatestextent.Keywords:GUIperformancetesting,interfacetestingtools,packetcapturetools,automatedtestingtools,ADBcommands广东东软学院本科毕业设计(论文)目录1绪论..........................................................11.1选题背景...........................................................11.2研究意义...........................................................21.3国内外的研究现状....