Optimized Test Data Generation for RESTful Web Service

被引:1
作者
Liu, Jing [1 ]
Chen, Wenjie [1 ]
机构
[1] Inner Mongolia Univ, Coll Comp Sci, Hohhot, Peoples R China
来源
2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017) | 2017年
关键词
test data generation; mutation testing; RESTful Web service; WADL;
D O I
10.1109/APSEC.2017.85
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To validate whether RESTful Web service systems could provide available services, it is indispensable to perform effective functional testing before large-scale deployment, where the pivotal and first step is to automatically generate valid test data. In this paper, we propose an optimized test data generation method for RESTful Web service systems. Mutation testing and genetic algorithm are utilized together to generate feasible and effective test data based on data type constraint extensions in the WADL specification. Then, Hadoop technology is well used to implement parallelized test data generation to promote efficiency of large-scale test data generation. Practical testing experiment results show advantages of our test data generation method. First, the number of feasible mutant candidates set and final test data set are effectively reduced. Second, Hadoop based parallelized test data generation has better efficiency and applicability for large-scale testing of RESTful Web service applications.
引用
收藏
页码:683 / 688
页数:6
相关论文
共 18 条
  • [1] AlShahwan Feda, 2010, Proceedings of the Fifth International Conference on Internet and Web Applications and Services (ICIW 2010), P174, DOI 10.1109/ICIW.2010.33
  • [2] [Anonymous], 2012, WEB SERVICES SOA PRI
  • [3] Test-the-REST: An Approach to Testing RESTful Web-Services
    Chakrabarti, Sujit Kumar
    Kumar, Prashant
    [J]. 2009 COMPUTATION WORLD: FUTURE COMPUTING, SERVICE COMPUTATION, COGNITIVE, ADAPTIVE, CONTENT, PATTERNS, 2009, : 302 - 308
  • [4] Chinnici R., WEB SERVICE DESCRIPT
  • [5] Di Geronimo L., 2012, 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation (ICST 2012), P785, DOI 10.1109/ICST.2012.177
  • [6] Hadley M. J., 2015, WEB APPL DESCRIPTION
  • [7] Hou K., 2014, J SOFTWARE, V24, P2020
  • [8] SOA Testing Via Random Paths in BPEL Models
    Jehan, Seema
    Pill, Ingo
    Wotawa, Franz
    [J]. 2014 SEVENTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2014), 2014, : 260 - 263
  • [9] Performance Testing Framework for REST-based Web Applications
    Kao, Chia Hung
    Lin, Chun Cheng
    Chen, Juei-Nan
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 349 - 354
  • [10] Automatic WSDL-guided Test Case Generation for PropEr Testing of Web Services
    Lampropoulos, Leonidas
    Sagonas, Konstantinos
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (98): : 3 - 16