1. Generating test as a web service (TaaWS) through a method-based attribute grammar.
- Author
-
Habibi, Elahe and Mirian-Hosseinabadi, Seyed-Hasan
- Subjects
- *
SYSTEMS software , *COMPUTER software testing , *DESIGN software , *GRAMMAR , *WEB services , *SOFTWARE architecture , *QUALITY of service - Abstract
Service-Oriented Architecture (SOA) is a technology for designing software systems. By using this architecture, new challenges appeared for software testing. Functional testing of services assures the quality of service-oriented applications. Herein, we introduce a new test web service named TaaWS (Test as a Web Service), which is a combination of both online testing and testing as a service to overcome SOA testing challenges. Each web service can have its test web service. Thus, the consumer can call TaaWS to assure the accuracy of the web services used in the application. TaaWS consists of semantic and structural test cases extracted from the extended-attribute grammar of the web service called Method-Based Attribute Grammar (MBAG). MBAG is created in five steps, including the definition of the input/output variables, the creation of sections in the web method, and the application of rules to specify conditions and operations on the attributes. In addition, a new coverage criterion is introduced for application on MBAG to extract test cases. Using TaaWS, we have applied semantic and structural test cases on the PersonalIDCode-INFO web method as a case study. In our proposed method, a developed program called Sharif-TaaWS as a tool automates MBAG generation steps, test cases, and TaaWS creation. To evaluate TaaWS, other functional testing techniques have been compared to our method by measuring the effectiveness of the test cases (ETC value). This value shows that TaaWS can find more faults compared to other techniques. We propose that TaaWS has advantages such as creating both semantic and structural test cases through MBAG, detecting changes in web services, running regression tests, and managing test results to inform the consumer. However, TaaWS has a drawback; the response time to the user may increase through calling TaaWS. [ABSTRACT FROM AUTHOR]
- Published
- 2022
- Full Text
- View/download PDF