Using Petri Nets to Test Concurrent Behavior of Web Applications

Sunitha Thummala, A. Offutt
{"title":"Using Petri Nets to Test Concurrent Behavior of Web Applications","authors":"Sunitha Thummala, A. Offutt","doi":"10.1109/ICSTW.2016.15","DOIUrl":null,"url":null,"abstract":"Web applications are used by companies across the world to deploy their products and services. Because of the technologies used to build web applications, they are by nature concurrent, for example, multiple users can have problems when accessing the same limited resources. The combination of the stateless nature of web applications and concurrent behavior creates unique challenges. Models have traditionally been used to test specific aspects of systems. However, existing web application models do not effectively address the combination of concurrent behavior and stateless protocol. This research project is using a novel Petri net-based model for web applications. This paper defines a novel way to design model-based coverage criteria tests that address concurrent behavior involving HTTP browser-based sessions. A tool that extracts the Petri net model of a web application has been developed and used to study ten web applications totaling 17,535 lines of code. The tool was used to extract the model and generate tests, revealing 36 naturally occurring software faults that had not been found during previous testing.","PeriodicalId":335145,"journal":{"name":"2016 IEEE Ninth International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE Ninth International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTW.2016.15","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Web applications are used by companies across the world to deploy their products and services. Because of the technologies used to build web applications, they are by nature concurrent, for example, multiple users can have problems when accessing the same limited resources. The combination of the stateless nature of web applications and concurrent behavior creates unique challenges. Models have traditionally been used to test specific aspects of systems. However, existing web application models do not effectively address the combination of concurrent behavior and stateless protocol. This research project is using a novel Petri net-based model for web applications. This paper defines a novel way to design model-based coverage criteria tests that address concurrent behavior involving HTTP browser-based sessions. A tool that extracts the Petri net model of a web application has been developed and used to study ten web applications totaling 17,535 lines of code. The tool was used to extract the model and generate tests, revealing 36 naturally occurring software faults that had not been found during previous testing.
使用Petri网测试Web应用程序的并发行为
世界各地的公司都使用Web应用程序来部署他们的产品和服务。由于用于构建web应用程序的技术,它们本质上是并发的,例如,多个用户在访问相同的有限资源时可能会出现问题。web应用程序的无状态特性和并发行为的结合带来了独特的挑战。传统上,模型被用来测试系统的特定方面。然而,现有的web应用程序模型并不能有效地处理并发行为和无状态协议的组合。本研究项目使用一种新颖的基于Petri网的web应用程序模型。本文定义了一种设计基于模型的覆盖标准测试的新方法,用于处理涉及基于HTTP浏览器的会话的并发行为。开发了一个提取web应用程序的Petri网模型的工具,并用于研究10个web应用程序,总计17,535行代码。该工具用于提取模型并生成测试,揭示了36个在以前的测试中未发现的自然发生的软件错误。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信