首页> 中文期刊>计算技术与自动化 >基于ANTLR的Web应用测试脚本自动重构方法

基于ANTLR的Web应用测试脚本自动重构方法

     

摘要

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 pop-ular ,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 execu -tion speed. It can expose defects of Web applications by executing enhanced the test script .%Web应用在各个领域得到广泛应用,为保证Web应用程序质量,需要对它进行详尽的测试.基于脚本的自动化测试越来越流行,逐渐的被应用在了Web应用程序测试中.功能测试脚本一般用于Web应用的功能和接口测试,很难发现Web应用中可能存在的缺陷或者性能瓶颈.很多研究人员通过扩展功能测试脚本或者重新编写性能测试脚本来测试Web应用程序的缺陷问题.这种方式效率低下,资源开销大.为此,我们提出了一种基于ANTLR开源库的测试脚本自动重构方法,首先对测试脚本进行优化,加速测试脚本执行速度,然后对测试脚本进行增强,从而构造出一个快速暴露Web应用程序缺陷的性能测试脚本.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号