基于ANTLR的Web应用测试脚本自动重构方法
    点此下载全文
引用本文:周 辉1,钱 巨 1,2 .基于ANTLR的Web应用测试脚本自动重构方法[J].计算技术与自动化,2017,(3):109-113
摘要点击次数: 756
全文下载次数: 0
作者单位
周 辉1,钱 巨 1,2  (1南京航空航天大学 计算机科学与技术学院江苏 南京 2100162软件新技术与产业协同创新中心江苏 南京 210023) 
中文摘要:Web应用在各个领域得到广泛应用,为保证Web应用程序质量,需要对它进行详尽的测试。基于脚本的自动化测试越来越流行,逐渐的被应用在了Web应用程序测试中。功能测试脚本一般用于Web应用的功能和接口测试,很难发现Web应用中可能存在的缺陷或者性能瓶颈。很多研究人员通过扩展功能测试脚本或者重新编写性能测试脚本来测试Web应用程序的缺陷问题。这种方式效率低下,资源开销大。为此,我们提出了一种基于ANTLR开源库的测试脚本自动重构方法,首先对测试脚本进行优化,加速测试脚本执行速度,然后对测试脚本进行增强,从而构造出一个快速暴露Web应用程序缺陷的性能测试脚本。
中文关键词:Web应用  软件测试  ANTLR  脚本重构
 
ANTLR-based Automatic Refactoring Approach to Test Script of Web Application
Abstract:Web applications have been widely used in various fields,in order to guarantee the quality of Web applications,it is necessary to test Web applications in detailScript-based automated testing is becoming more and more popular,and it has gradually been applied in Web applications testFunctional test scripts usually used to test the functionality and interfaces of Web applicationsIt is difficult to find the memory defects or performance defects that may exist in the Web applicationsSo many researchers test the defect of the Web applications by extending the functional test script or rewriting the performance test script,however it is inefficientIn order to solve this problem,we propose an automatically refactoring approach of test scripts based on ANTLRThe approach was used to optimize the test script and accelerate test script execution speedIt can expose defects of Web applications by executing enhanced the test script.
keywords:web application  software test  ANTLR  script refactoring
查看全文   查看/发表评论   下载pdf阅读器