scholarly journals Enhancing Search-based Testing with Testability Transformations for Existing APIs

2022 ◽  
Vol 31 (1) ◽  
pp. 1-34
Author(s):  
Andrea Arcuri ◽  
Juan P. Galeotti

Search-based software testing (SBST) has been shown to be an effective technique to generate test cases automatically. Its effectiveness strongly depends on the guidance of the fitness function. Unfortunately, a common issue in SBST is the so-called flag problem , where the fitness landscape presents a plateau that provides no guidance to the search. In this article, we provide a series of novel testability transformations aimed at providing guidance in the context of commonly used API calls (e.g., strings that need to be converted into valid date/time objects). We also provide specific transformations aimed at helping the testing of REST Web Services. We implemented our novel techniques as an extension to EvoMaster , an SBST tool that generates system-level test cases. Experiments on nine open-source REST web services, as well as an industrial web service, show that our novel techniques improve performance significantly.

2011 ◽  
pp. 641-658
Author(s):  
Vladimir Tosic ◽  
Wei Ma ◽  
Babak Pagurek ◽  
Bernard Pagurek ◽  
Hanan Lutfiyya

The Web Service Offerings Infrastructure (WSOI) is a monitoring and management infrastructure for the Web Service Offerings Language (WSOL). It extends Apache Axis, an open-source tool for hosting Web services. We present technical details of several WSOI solutions for monitoring Web Services. To pass management information among management parties, we built WSOI serializer and WSOI deserializer modules converting data between formats of Axis’ MessageContext properties and SOAP headers. To perform different monitoring activities for different WSOL service offerings, we implemented Web Service Offering Descriptor (WSOD) as a complement to Axis’ Web Service Deployment Descriptor (WSDD) component. To represent run-time values of WSOL-related management information, we developed WSOI management information model. All these solutions were verified with a prototype implementation of WSOI 2.0 and validated on case studies.


Author(s):  
Vladimir Tosic ◽  
Wei Ma ◽  
Babak Esfandiari ◽  
Bernard Pagurek ◽  
Hanan Lutfiyya

The Web Service Offerings Infrastructure (WSOI) is a monitoring and management infrastructure for the Web Service Offerings Language (WSOL). It extends Apache Axis, an open-source tool for hosting Web services. We present technical details of several WSOI solutions for monitoring Web Services. To pass management information among management parties, we built WSOI serializer and WSOI deserializer modules converting data between formats of Axis’ MessageContext properties and SOAP headers. To perform different monitoring activities for different WSOL service offerings, we implemented Web Service Offering Descriptor (WSOD) as a complement to Axis’ Web Service Deployment Descriptor (WSDD) component. To represent run-time values of WSOL-related management information, we developed WSOI management information model. All these solutions were verified with a prototype implementation of WSOI 2.0 and validated on case studies.


2019 ◽  
Vol 9 (1) ◽  
pp. 134-138
Author(s):  
Ford Lumban Gaol ◽  
Rudy Fridian

AbstractThis research is to compare the performance of Loan Approval System Web Services using SOAP Web Service and REST Web Service. There are 3 parameters that will be used in this study based on Quality of Services parameter, throughput, response time and latency. There are 4 different services will be tested to get the result of quality of services, Installment Services, Customer Services, Blacklist Customer Services and Account Services. The result of analysis showed that there was significant difference in the Quality of Services between Loan Approval System Web Services using SOAP Web Service and REST Web Service. The results can be concluded that REST Web service is more appropriate to be used in the integration between Loan Approval System and Core system.


Author(s):  
BIXIN LI ◽  
SHUNHUI JI ◽  
DONG QIU ◽  
JU CAI

In web service times, the techniques for composing services are based on service reuse and automatic integration. A new web service will be generated by composing some existing web services. These web services cooperate with each other to provide a new more complex function. It is necessary and very important to test the interaction behavior between any two web services during composition. In this paper, a kind of enhanced hierarchical color petri-net (or EH-CPN) is introduced to generate test cases for testing the interaction, where EH-CPN is transformed from OWL-S document, and both control flow and data flow information in EH-CPN are analyzed and used to generate an executable test sequence, and further test cases are created by combining the test sequence and test data in an XML file.


Author(s):  
Yixiong Chen ◽  
Yang Yang ◽  
Zhanyao Lei ◽  
Mingyuan Xia ◽  
Zhengwei Qi

AbstractModern RESTful services expose RESTful APIs to integrate with diversified applications. Most RESTful API parameters are weakly typed, which greatly increases the possible input value space. This poses difficulties for automated testing tools to generate effective test cases to reveal web service defects related to parameter validation. We call this phenomenon the type collapse problem. To remedy this problem, we introduce FET (Format-encoded Type) techniques, including the FET, the FET lattice, and the FET inference to model fine-grained information for API parameters. Enhanced by FET techniques, automated testing tools can generate targeted test cases. We demonstrate Leif, a trace-driven fuzzing tool, as a proof-of-concept implementation of FET techniques. Experiment results on 27 commercial services show that FET inference precisely captures documented parameter definitions, which helps Leif to discover 11 new bugs and reduce $$72\% \sim 86\%$$ 72 % ∼ 86 % fuzzing time as compared to state-of-the-art fuzzers.


2018 ◽  
Vol 15 (3) ◽  
pp. 38-60 ◽  
Author(s):  
V. Mareeswari ◽  
E. Sathiyamoorthy

Online communities will provide the trustworthiness of their services and also, recommendation systems to improve the commercial value in this competitive business world. Prediction is the greatest method to get people interested whatever offered. Traditional QoS based prediction approach, predicts the QoS value of web service when the incompletion QoS records. This proposed approach introduced cluster based PSO algorithm, which provides better scalability, simplicity, and efficiency. It uses the density-based clusters based on web service users' location and ranks the web services based on PSO algorithm. Here, top-K users are selecting based on web service preferences and weights are giving for experienced neighbors. To achieve the high-quality outcome of the ranking sequence by the control of fitness function and verified by AP correlation coefficient method. The experimental results discussed how this proposed approach provided better prediction accuracy and compared with other existing approaches.


2014 ◽  
Vol 13 (4) ◽  
pp. 4405-4415
Author(s):  
Deepali Diwase ◽  
Pujashree Vidap

In every business domain Web Services are more popular solutions to implement the software. Composite web service can be created by combining basic web services. Many unreliable web services are deployed on the internet. Hence, testing is required to ensure reliability. Software testers have great challenges to test web services. Source code of web services is unavailable. The Testing Framework is used to test web services without knowledge of its internal structure. In this paper, we have proposed a Testing Framework for Composite Web Services (TFCWS). It generates report which shows the total number of test cases executed for each web service with pass or fail status of each test case. It calculates the throughput of web service and response time of each test case. We have used web services response times for analysis of TFCWS, Soap UI and Storm.


2014 ◽  
Vol 490-491 ◽  
pp. 1617-1623
Author(s):  
R. Deeptha ◽  
Rajeswari Mukesh

.As Web Services draw modules within and across enterprises, dynamically and belligerently testing Web Services has become crucial. Comprehensive Functional, Concert, Interoperability and Susceptibility Testing form the Pillars of Web Services Testing. Only by adopting a comprehensive testing department, enterprises can safeguard that their Web Services is robust, scalable, interoperable, and secure. Overall functionality of web services would be informal towards test. But, only if we methodically trust the applications components (services) before we combine them to complete the application. In current scenario web service technology comprehends various testing apparatuses for manipulating and generating the test cases. But these tools and approaches were negotiating security and execution time and consume more resources. The existing methodologies will generate test cases for the low end web services and limited number of requests, due to these constraints we built new testing framework. In this paper we introduced the new basis with testing of actions, scripts and link for web services by the use of test cases. For this approach we used SOAP web services with SOA. The test case generation and testing reports will gives the accurate testing results and test cases. These test cases are generated using Java JUnit testing tool. We implemented our approach in a java based platform for efficient and secure manner.


2020 ◽  
Vol 12 (12) ◽  
pp. 221
Author(s):  
Yang Song ◽  
Yawen Wang ◽  
Dahai Jin

Web service composition is the process of combining and reusing existing web services to create new business processes to satisfy specific user requirements. Reliability plays an important role in ensuring the quality of web service composition. However, owing to the flexibility and complexity of such architecture, sufficient estimation of reliability is difficult. In this paper, the authors propose a method to estimate the reliability of web service compositions based on Bayes reliability assessment by considering it to be a decision-making problem. This improves the testing efficiency and accuracy of such methods. To this end, the authors focus on fully utilizing prior information of web services to increase the accuracy of prior distributions, and construct a Markov model in terms of the reliabilities of the web composition and each web service to integrate the limited test data. The authors further propose a method of minimum risk (MMR) to calculate the initial values of hyperparameters satisfying the constraint of minimal risk of the wrong decision. Experiments demonstrate that the proposed method is capable of efficiently utilizing prior module-level failure information, comparing with the Bayesian Monte Carlo method (BMCM) and expert scoring method (ESM), when the number of failures increased from 0 to 5, reducing the required number of test cases from 19.8% to 28.9% and 6.1% to 14.1% separately, improving the reliability assessment of web service compositions, and reducing the expenses incurred by system-level reliability testing and demonstration.


2012 ◽  
Vol 198-199 ◽  
pp. 462-467
Author(s):  
Fan Feng Lu ◽  
Shi Ying ◽  
Kai Zhao ◽  
Li Zhang

A novel workflow engine for Web service orchestration, JBPM4WS is proposed in this paper. JBPM4WS is built on JBPM, a well-known workflow engine. We extend the workflow language JPDL, which is adopted by JBPM, to support service invoking. JBPM4WS engine adopts four-layer architecture, and is implemented based on some open-source frameworks, such as Hibernate, CXF and JAXB.


Sign in / Sign up

Export Citation Format

Share Document