首页> 外文期刊>Empirical Software Engineering >Using search-based algorithms for Ajax event sequence generation during testing
【24h】

Using search-based algorithms for Ajax event sequence generation during testing

机译:在测试过程中使用基于搜索的算法生成Ajax事件序列

获取原文
获取原文并翻译 | 示例

摘要

Modern Web applications offer a rich and unique user experience by taking advantages of the so called Web 2.0 technologies, among which Ajax. Ajax supports the intensive use of asynchronous communication between client-pages and the Web server and it allows on-the-fly manipulations of client-pages content and structure to realize a rich, dynamic and interactive user interface. Correspondingly, new types of faults that cannot be easily revealed by existing Web testing techniques are associated with modern Ajax-based applications. In our previous investigations, we used state-based testing for event sequence generation and it proved to be quite effective in exposing Ajax specific faults. However, the search space of the semantically interacting event sequences is huge, as it can grow exponentially with the event sequence length. In this paper, we apply search-based algorithms, namely hill climbing and simulated annealing, to the problem of generating maximally diverse event sequences of various lengths. In this way, we control the size of the generated test suites, while keeping the included test cases as diverse as possible. We evaluate the performance of the algorithms on two open source Ajax applications.
机译:现代Web应用程序通过利用所谓的Web 2.0技术(其中包括Ajax)的优势,提供了丰富而独特的用户体验。 Ajax支持在客户端页面和Web服务器之间大量使用异步通信,并且它允许对客户端页面的内容和结构进行即时操作,以实现丰富,动态和交互式的用户界面。相应地,现有的Web测试技术无法轻易发现的新型故障与基于Ajax的现代应用程序相关。在我们先前的研究中,我们使用基于状态的测试来生成事件序列,事实证明它在暴露Ajax特定故障方面非常有效。但是,语义交互事件序列的搜索空间很大,因为它可以随着事件序列的长度呈指数增长。在本文中,我们将基于搜索的算法(即爬山和模拟退火)应用于生成各种长度的最大多样性事件序列的问题。通过这种方式,我们可以控制生成的测试套件的大小,同时保持所包含的测试用例尽可能多样化。我们在两个开源Ajax应用程序上评估算法的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号