Loading...
Sharif-TaaWS: a tool to automate unit testing of web services
Habibi, E ; Sharif University of Technology | 2023
0
Viewed
- Type of Document: Article
- DOI: 10.1007/s10515-022-00368-4
- Publisher: Springer , 2023
- Abstract:
- Service-Oriented Architecture is a technology for designing software systems. Upon using this architecture, new challenges appeared for software testing in which unit testing can be viewed as the most essential and basic testing procedure. Many industrial tools and academic studies have presented a level of automation for unit testing of web services. Herein, we introduce a new tool called Sharif-TaaWS to automate the unit testing of web services through a method-based attribute grammar (MBAG) of the source code. This tool generates a test web service named TaaWS (Test as a web service), a combination of both online testing and testing as a service. Sharif-TaaWS has three modules including Initializer, MBAG generator, and TaaWS creator. These modules scan and parse the web service source code through the scan-grammar, generate MBAG, and create test cases in TaaWS. In this paper, we evaluate our proposed tool using different types of web services. Sharif-TaaWS is compared with other unit testing tools through the response time, test case generation, and report preparation time using different environments. The results show that Sharif-TaaWS has more ability to find web service faults and can reduce the testing process time through the attribute grammar and the test web service. © 2022, The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature
- Keywords:
- Attribute grammar ; Functional test ; Online test ; Service oriented ; Test as a web service ; Unit testing tool ; Web service
- Source: Automated Software Engineering ; Volume 30, Issue 1 , 2023 ; 09288910 (ISSN)
- URL: https://link.springer.com/article/10.1007/s10515-022-00368-4