基于反编译技术的Android应用自动化测试方案  被引量:3

Decompilation-Based Automatic Testing Research for Android Application

在线阅读下载全文

作  者:甘佳 张茂凡 周志寰 任想 潘娅[1,2] GAN Jia;ZHANG Maofan;ZHOU Zhihuan;REN Xiang;PAN Ya(School of Computer Science and Technology,Southwest University of Science and Technology,Mianyang 621010,Sichuan China;Institute of Computer Applications,Southwest University of Science and Technology,Mianyang 621010,Sichuan China)

机构地区:[1]西南科技大学计算机科学与技术学院,四川绵阳621010 [2]西南科技大学计算机应用研究所,四川绵阳621010

出  处:《西南科技大学学报》2019年第1期74-79,共6页Journal of Southwest University of Science and Technology

摘  要:有效监测Android应用的性能数据,对提高稳定流畅的用户体验具有重要意义。当前对移动应用的性能测试主要是借助第三方工具或是直接用adb(Android Debug Bridge)命令进行测试,往往不能准确定位性能问题,性能数据分析也比较困难,导致测试效率和测试结果较差。提出一种性能自动化测试解决方案,利用反编译技术,在源码中进行插桩,重新打包后再进行性能测试,最终依据特征规则将异常性能数据提取并可视化展示。对启动耗时、过度绘制两点进行测试从而进行方案验证,结果表明能够直接通过性能测试结果准确定位问题代码,有助于实现自动化测试以节省人力。It is important for improving a stable and smooth user experience to effectively monitor performance data of Android applications .Currently,Android performance testing is mainly completed via third-party tool or using adb command directly.It is difficult to analyze performance data and locate the performance problem accurately.This scenario results in poor testing efficiency and consequence.Therefore,a performance automatic testing solution was proposed,which can insert a testing stub into source code by utilizing the decompiled technique and can test the apk after repacking.Finally,the abnormal performance data can be extracted and displayed visually according to the feature rules.The testing research was conducted and the scenario was verified by applying the solution on performance testing for start-up time-consuming and over-drawing of Android Apps.The result shows that the solution can locate the performance problem directly and accurately.It is useful to implement automated testing.

关 键 词:反编译APK 自动解析 性能测试 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象