80,364 research outputs found

    Adapting XML Instance Generators for Web Service Testing

    Get PDF
    An automated testing framework for web services using generated XML instances is presented. Three existing XML instance generators are TAXI [1], ToXgene [2], and Agoxi [3]. Through the creation of a standardized evaluation framework, the three XML instance generators can be compared. The proposed evaluation framework uses mutation analysis to accurately simulate real world programming faults in order to measure the failure detecting ability of XML instance generators [4]. The development of a module responsible for adapting each of the XML instance generators for use in the evaluation framework is presented. Given a WSDL and a test generator, the module executes the selected generator and collects the output into a standardized file for use in the evaluation framework. The results can then be passed on to the framework’s test execution module which stores the outcome of the analysis in a database. Evaluating the XML instance generators with this framework will assist in choosing the most robust choice for web service testing. References [1] D. Barbosa, A. O. Mendelzon, J. Keenleyside, and K. Lyons, ToXgene: An extensible template-based data generator for XML, in IN WEBDB, 2002, pp. 49–54.[2] A. Bertolino, J. Gao, E. Marchetti, and A. Polini, TAXI A Tool for XML-Based Testing, in 29th International Conference on Software Engineering - Companion, 2007. ICSE 2007 Companion, 2007, pp. 53–54.[3] Vanderveen, P., Janzen, M., & Tappenden, A. F. (2014). A Web Service Test Generator. In The Proceeding of the 2014 International Conference on Software Maintenance and Evolution (pp. 516–520). Presented at ICSME 2014, Victoria, BC.[4] Martens, A., & Tappenden, A. F. (2014). A Benchmark for Automated Web Service Testing. Presented at the 1st CCWSR Meeting, Edmonton, Canada. *Indicates faculty mento

    RESTFUL WEB SERVICE AS DATA GENERATOR FOR REPORTING OF ACADEMIC INFORMATION SYSTEM

    Get PDF
    The academic information system in higher education is a system that has an important role in higher education operations. Interoperability between academic information system is needed to bridge the exchange of data and information in heterogeneous environments, where systems are developed using different programming languages, database management systems, operating systems, and network operating systems. This study proposes a model for reporting academic information using the RESTful web service as a data generator to present data that can be consumed for various applications that can be run on desktop applications, web applications, and mobile applications. Based on the test results, the results show that the methods in the RESTful web service can be consumed properly and show the expected performance

    Kaang: A RESTful API Generator for the Modern Web

    Get PDF
    Technology is constantly evolving, as a result, users have become more demanding and the applications more complex. In the realm of Web development, JavaScript is growing in a surprising way, already leaving the boundaries of the browser, mainly due to the advent of Node.js. In fact, JavaScript is constantly being reinvented and, from the ES2015 version, began to include the OO concepts typically found in other programming languages. With Web access being mostly made by mobile devices, developers face now performance challenges and need to perform a plethora of tasks that weren\u27t necessary a decade ago, such as managing dependencies, bundling files, minifying code, optimizing images and others. Many of these tasks can be achieved by using the right tools for the job. However, developers not only have to know those tools, but they also must know how to access and operate them. This process can be tedious, confusing, time-consuming and error-prone. In this paper, we present Kaang, an automatic generator of RESTFul Web applications. The ultimate goal of Kaang is to minimize the impact of creating a RESTFul service by automating all its workflow (e.g., files structuring, boilerplate code generation, dependencies management, and task building). This kind of generators will benefit two types of users: will help novice developers to decrease their learning curve while facing the new frameworks and libraries commonly found in the modern Web and speed up the work of expert developers avoiding all the repetitive and bureaucratic work. At the same time, Kaang promotes the good development principles by adding automatic testing and documentation generation. For this accomplishment, Kaang generates the main API content based on the user\u27s input and a set of templates which will help developers to manage and test routes, define resources, store data models and others. In order to provide an addition level of confidence to the generator\u27s end-users, the generator will be integrated on Travis CI and published on both the npmjs and Yeoman registries

    Evolutionary mutation testing for IoT with recorded and generated events

    Get PDF
    Mutation testing is a testing technique that has been applied successfully to several programming languages. Despite its benefits for software testing, the high computational cost of mutation testing has kept it from being widely used. Several refinements have been proposed to reduce its cost by reducing the number of generated mutants; one of those is evolutionary mutation testing (EMT). Evolutionary mutation testing aims at generating a reduced set of mutants with an evolutionary algorithm, which searches for potentially equivalent and difficult to kill mutants that help improve the test suite. Evolutionary mutation testing has been evaluated in two contexts so far, ie, web service compositions and object‐oriented C++ programmes. This study explores its performance when applied to event processing language queries of various domains. This study also considers the impact of the test data, since a lack of events or the need to have specific values in them can hinder testing. The effectiveness of evolutionary mutation testing with the original test data generators and the new internet of things test event generator tool is compared in multiple case studies

    Automating property-based testing of evolving web services

    Get PDF
    Web services are the most widely used service technology that drives the Service-Oriented Computing~(SOC) paradigm. As a result, effective testing of web services is getting increasingly important. In this paper, we present a framework and toolset for testing web services and for evolving test code in sync with the evolution of web services. Our approach to testing web services is based on the Erlang programming language and QuviQ QuickCheck, a property-based testing tool written in Erlang, and our support for test code evolution is added to Wrangler, the Erlang refactoring tool. The key components of our system include the automatic generation of initial test code, the inference of web service interface changes between versions, the provision of a number of domain specific refactorings and the automatic generation of refactoring scripts for evolving the test code. Our framework provides users with a powerful and expressive web service testing framework, while minimising users' effort in creating, maintaining and evolving the test model. The framework presented in this paper can be used by both web service providers and consumers, and can be used to test web services written in whatever language; the approach advocated here could also be adopted in other property-based testing frameworks and refactoring tools

    Performance impact of web services on Internet servers

    Get PDF
    While traditional Internet servers mainly served static and later also dynamic content, the popularity of Web services is increasing rapidly. Web services incorporate additional overhead compared to traditional web interaction. This overhead increases the demand on Internet servers which is of particular importance when the request rate to the server is high. We conduct experiments that show that the imposed overhead of Web services is non-negligible during server overload. In our experiments the response time for Web services is more than 30% higher and the server throughput more than 25% lower compared to traditional web interaction using dynamically created HTML pages
    corecore