首页> 外文会议>Fundamental approaches to software engineering >Automated Driver Generation for Analysis of Web Applications
【24h】

Automated Driver Generation for Analysis of Web Applications

机译:自动生成驱动程序以分析Web应用程序

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

摘要

With web applications in high demand, one cannot underestimate the importance of their quality assurance process. Web applications are open event-driven systems that take sequences of user events and produce changes in the user interface or the underlying application. Web applications are difficult to test because the set of possible sequences of user inputs allowed by the interface of a web application can be very large. Software model checking techniques can be effective for validating such applications but they only work for closed systems. In this paper, we present an approach for closing web applications with a driver that contains two parts: (1) the application-specific Page Transition Graph (PTG), which encodes the application's possible pages, user and server events, their corresponding event-handlers, and user data and (2) the application-independent PTG-based driver, which generates test sequences that can be executed with analysis tools such as Java PathFinder (JPF). The first part can be automatically extracted from the implementation of a web application and the second part is written once and reused across multiple web applications belonging to the same framework. We implemented our approach in a driver generator that automatically extracts PTG models from implementation of JSP-based web applications, checks the extracted PTGs for navigation inconsistencies, and enables JPF analysis. We evaluated our approach on ten open-source and industrial web applications and present the detected errors.
机译:随着Web应用程序的需求量很大,人们不能低估其质量保证过程的重要性。 Web应用程序是开放的事件驱动的系统,它接受用户事件序列并在用户界面或基础应用程序中产生更改。 Web应用程序很难测试,因为Web应用程序界面允许的一组可能的用户输入序列可能非常大。软件模型检查技术可以有效地验证此类应用程序,但它们仅适用于封闭系统。在本文中,我们提出了一种使用驱动程序关闭Web应用程序的方法,该驱动程序包含两个部分:(1)特定于应用程序的页面转换图(PTG),该图对应用程序的可能页面,用户和服务器事件以及它们对应的事件进行编码-处理程序,用户数据以及(2)与应用程序无关的基于PTG的驱动程序,该驱动程序生成可以用诸如Java PathFinder(JPF)之类的分析工具执行的测试序列。可以从Web应用程序的实现中自动提取第一部分,第二部分编写一次,并在属于同一框架的多个Web应用程序中重复使用。我们在驱动程序生成器中实现了我们的方法,该驱动程序生成器从基于JSP的Web应用程序的实现中自动提取PTG模型,检查提取的PTG是否存在导航不一致,并启用JPF分析。我们对十个开源和工业Web应用程序评估了我们的方法,并提出了检测到的错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号