本文已被:浏览 1674次 下载 2225次
Received:December 27, 2017 Revised:January 16, 2018
Received:December 27, 2017 Revised:January 16, 2018
中文摘要: 移动应用软件已经拥有了数以千万计的用户群体.根据最新统计,Android手机以85.1%的市场占有份额,成为了最受欢迎的移动端设备.Android应用软件的快速开发,使得如何保证程序质量,成了难题.我们不仅要考虑程序的正确性,也应保证运行时的流畅性.现有的性能研究工作都基于传统的静态分析或者动态执行.对于Android程序,静态分析具有一定的局限性,而动态分析又忽略了APP执行时的遍历方式.因此,本文提出了基于GUI的Android自动化性能测试框架,将着重关注页面状态和APP状态的相关性.通过对页面的分析,聚合,尽可能遍历到APP的各个状态,然后从日志中,找出APP性能上的问题.本框架使用Java作为开发语言,搭建了Android移动软件自动化性能测试框架,并在开源社区F-Droid上随机抽取了移动应用软件进行实验.实验表明,该技术能更多的遍历APP的状态,发现APP在运行过程中出现的性能问题,取得良好的效果.
中文关键词: 性能测试 Android应用程序 GUI测试 移动应用 自动化
Abstract:Mobile applications have become increasingly popular over the recent years. As shown in the latest statistics, over 85.1% of mobile phones is based on Android operation system. Due to the Android's open-source character, Android application is becoming increasingly popular. Nevertheless, how to ensure program quality has become a severe problem. Previous work focused on doing static or dynamic analysis on the code to find performance problem. Yet they did not focus on the combination of performance testing and oriental testing. Therefore, in this paper we presents a GUI-based software automated performance testing framework. By parsing pages, we try to find the APP states as much as possible, and then analyze the log files to find out the APP performance problems and recover the problem scenarios. To ensure the operability of our tool, we use Java to set up this automated testing framework for Android mobile software. We download mobile applications from the open source community named F-Droid for experiments. The result shows that our technology can find more state of the APP and reveal performance problems in the running process.
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(61502170)
引用文本:
谷林涛,徐立华.基于GUI的Android移动软件性能测试.计算机系统应用,2018,27(8):126-131
GU Lin-Tao,XU Li-Hua.Performance Testing on Android Application Based on GUI.COMPUTER SYSTEMS APPLICATIONS,2018,27(8):126-131
谷林涛,徐立华.基于GUI的Android移动软件性能测试.计算机系统应用,2018,27(8):126-131
GU Lin-Tao,XU Li-Hua.Performance Testing on Android Application Based on GUI.COMPUTER SYSTEMS APPLICATIONS,2018,27(8):126-131