期刊文献+

Web应用程序搜索功能的组合测试 被引量:1

Combinatorial Testing of Search Function in Web Application
下载PDF
导出
摘要 为了方便用户查询感兴趣的资源,许多Web应用程序会提供搜索功能。如果搜索功能存在故障,将会导致Web应用程序的功能异常,甚至会引发安全问题,因而需要对其进行充分的测试。可以使用组合测试的方法生成测试用例测试Web应用程序的搜索功能,其中每一个测试用例是由特殊字符组成的字符串。对于引起系统错误的测试用例,使用组合测试错误定位的方法找到系统错误是由哪些字符组合引起的。使用该方法对学校、政府和事业单位的96个网站进行了测试,发现其中23个网站在搜索某些特殊字符组合时,会引起服务器错误响应。错误定位结果表明,56%的服务器错误响应是由"%""<""’""\"和其他字符的组合引起的。 In order to facilitate users to find resources of interest,many Web applications may provide search function.If there is a failure in the search function,the Web application will run abnormally and even security problems will be caused.So the search function needs to be fully tested.This paper uses the method of combinatorial testing to generate test cases to test the search function of Web application,where each test case is a string of special characters.For test cases that can cause server errors,this paper uses the method of fault location based on combinatorial testing to find the combinations of characters that can cause server errors.This paper tests 96 websites,including schools,governments and institutions,and it is found that 23 of these sites will meet a server error when searching for some special combinations of characters.The experimental result of fault location indicates that 56%of server errors are caused by the combinations of“%”“<”“’”“\”and other characters.
作者 吕成成 张龙 邓茜 曾凡平 严俊 张健 LV Chengcheng;ZHANG Long;DENG Xi;ZENG Fanping;YAN Jun;ZHANG Jian(Department of Computer Science and Technology,University of Science and Technology of China,Hefei 230026,China;State Key Laboratory of Computer Science,Institute of Software,Chinese Academy of Sciences,Beijing 100190,China;Key Lab of Computing and Communication Software of Anhui Province,Hefei 230026,China)
出处 《计算机科学与探索》 CSCD 北大核心 2019年第11期1839-1851,共13页 Journal of Frontiers of Computer Science and Technology
基金 中国科学院前沿科学重点项目No.QYZDJ-SSW-JSC036 国家自然科学基金No.61772487 国家重点研发计划No.2018YFB0803400~~
关键词 WEB测试 组合测试 错误定位 Web testing combinatorial testing fault location
  • 相关文献

参考文献4

二级参考文献20

共引文献144

同被引文献9

引证文献1

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部