RESTINFER: Automated Inferring Parameter Constraints from Natural Language RESTful API Descriptions

被引:2
|
作者
Liu, Yi [1 ]
机构
[1] Nanyang Technol Univ, Singapore, Singapore
关键词
RESTful API Testing;
D O I
10.1145/3540250.3559078
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
RESTful APIs have been applied to provide cloud services by various notable companies. The quality assurance of RESTful API is critical. Several automatic RESTful API testing techniques have been proposed to tame this issue. By analyzing crashes caused by each test case, developers can find potential bugs in cloud services. However, it is difficult for automated tools to generate feasible parameters under complicating constraints randomly. Fortunately, RESTful API descriptions can be used to infer possible parameter constraints. Given parameter constraints, automated tools can further improve the efficiency of testing. In this paper, we propose RESTINFER, a two-phase approach to infer parameter constraints by natural language processing. The preliminary evaluation result shows that RESTINFER can achieve a high code coverage and bug finding.
引用
收藏
页码:1816 / 1818
页数:3
相关论文
共 50 条
  • [1] ICON: Inferring Temporal Constraints from Natural Language API Descriptions
    Pandita, Rahul
    Taneja, Kunal
    Tung, Teresa
    Williams, Laurie
    [J]. 32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 378 - 388
  • [2] Inferring Method Specifications from Natural Language API Descriptions
    Pandita, Rahul
    Xiao, Xusheng
    Zhong, Hao
    Xie, Tao
    Oney, Stephen
    Paradkar, Amit
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 815 - 825
  • [3] Inferring Service Recommendation from Natural Language API Descriptions
    Xiong, Wei
    Wu, Zhao
    Li, Bing
    Gu, Qiong
    Yuan, Lei
    Hang, Bo
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS), 2016, : 316 - 323
  • [4] Inferring specifications for resources from natural language API documentation
    Zhong, Hao
    Zhang, Lu
    Xie, Tao
    Mei, Hong
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2011, 18 (3-4) : 227 - 261
  • [5] Inferring specifications for resources from natural language API documentation
    Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing, China
    不详
    不详
    不详
    [J]. Autom Software Eng, 3-4 (227-261):
  • [6] Inferring Resource Specifications from Natural Language API Documentation
    Zhong, Hao
    Zhang, Lu
    Xie, Tao
    Mei, Hong
    [J]. 2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 307 - 318
  • [7] Inferring specifications for resources from natural language API documentation
    Hao Zhong
    Lu Zhang
    Tao Xie
    Hong Mei
    [J]. Automated Software Engineering, 2011, 18 : 227 - 261
  • [8] Inferring Web API Descriptions From Usage Data
    Suter, Philippe
    Wittern, Erik
    [J]. 2015 THIRD IEEE WORKSHOP ON HOT TOPICS IN WEB SYSTEMS AND TECHNOLOGIES (HOTWEB), 2015, : 7 - 12
  • [9] Automated Goal Detection from Natural Language Constraints
    Mehmood, Muhammad Khalid
    Iftikhar, Anum
    Iftikhar, Erum
    [J]. 2016 SIXTH INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING TECHNOLOGY (INTECH), 2016, : 491 - 496
  • [10] Automating smart recommendation from natural language API descriptions via representation learning
    Xiong, Wei
    Lu, Zhihui
    Li, Bing
    Hang, Bo
    Wu, Zhao
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2018, 87 : 382 - 391