Search Results: 1 - 10 of 100 matches for " "
All listed articles are free for downloading (OA Articles)
Page 1 /100
Display every page Item
Web Testing Generation: A Stream X-Machine Based Approach  [PDF]
Zhongsheng Qian
Journal of Software Engineering and Applications (JSEA) , 2012, DOI: 10.4236/jsea.2012.51002
Abstract: To ensure the quality of Web applications, Web testing is one of the effective methods. The testing is a process of revealing errors that is used to give confidence that the implementation of a Web application meets its original specification. This work proposes a Web testing framework based on Stream X-Machines (SXMs), which provides a way to derive test cases for a Web application. It starts from constructing the SXM model, from which a test translator is employed to extract the test paths and then translates them into an XML-style test specification, which is the input of test engine. The test engine generates test cases and then executes them, and finally produces test report. This testing method is a significant contribution to informed research.
基于变异测试的RESTful Web服务测试数据优化生成方法
Mutation testing based test data optimized generation method for RESTful web service

- , 2017, DOI: 10.3969/j.issn.1001-0505.2017.03.010
Abstract: 为提升基于REST的Web服务系统测试数据生成效率及可用性,提出了一种基于变异测试的测试数据优化生成方法.将RESTful Web服务对应的 Web应用描述语言(WADL)增加数据类型约束,并利用该约束生成初始测试数据.对约束关系进行变异生成变异体,在消除等价变异体并利用聚类实现变异体集约简的基础上,结合贪心算法优化筛选初始测试数据,生成无冗余的RESTful Web服务可用测试数据集.基于Hadoop平台技术,实现了针对RESTful Web服务系统测试数据自动生成的支撑软件.测试执行结果表明,在有效保证测试数据可用且无冗余的基础上,极大缩减了测试数据集规模和测试数据生成时间,完成了针对RESTful Web服务系统的自动化测试数据优化生成,提升了测试生成效率.
To promote the efficiency and feasibility of test data generation for the REST(respresentational state transfer)based web service system, a mutation testing based test data optimized generation method is proposed. The web application description language(WADL)corresponding for the RESTful web service system is extended with data type constrains, and the elementary test data sets are generated according to these constrains. Mutants are then generated by mutation testing towards constrain relationship. The equivalent mutants are eliminated and the mutant set reduction is performed by using clustering technology. The elementary test data sets are optimally selected by using the greedy algorithm to generate non-redundant and feasible test data sets for the RESTful web service system. A supporting software for automatic test date generation for the RESTful web service systems is developed based on Hadoop platform technology. The test execution results show that the scale of test data sets and test generation time are greatly reduced with the guarantee of non-redundancy and availability of the test data. The automatic and optimal test data generation for RESTful web service systems is achieved and the test generation is improved
Automatic WSDL-guided Test Case Generation for PropEr Testing of Web Services
Leonidas Lampropoulos,Konstantinos Sagonas
Electronic Proceedings in Theoretical Computer Science , 2012, DOI: 10.4204/eptcs.98.3
Abstract: With web services already being key ingredients of modern web systems, automatic and easy-to-use but at the same time powerful and expressive testing frameworks for web services are increasingly important. Our work aims at fully automatic testing of web services: ideally the user only specifies properties that the web service is expected to satisfy, in the form of input-output relations, and the system handles all the rest. In this paper we present in detail the component which lies at the heart of this system: how the WSDL specification of a web service is used to automatically create test case generators that can be fed to PropEr, a property-based testing tool, to create structurally valid random test cases for its operations and check its responses. Although the process is fully automatic, our tool optionally allows the user to easily modify its output to either add semantic information to the generators or write properties that test for more involved functionality of the web services.
Test Case Generation and Optimization for User Session-based Web Application Testing  [cached]
Zhongsheng Qian
Journal of Computers , 2010, DOI: 10.4304/jcp.5.11.1655-1662
Abstract: Web application testing is the process of revealing errors that is used to give confidence that the implementation of a Web application meets its original specification. An approach to reducing and optimizing the test cases generated from user request traces is presented. A large volume of meaningful user sessions are obtained after purging their irrelevant information by analyzing user logs on the Web server. Most of the redundant user sessions are also removed after reducing them. For test reuse and test concurrency, it divides the user sessions obtained into different groups, each of which is called a test suite, and then prioritizes the test suites and the test cases of each test suite. So, the initial test suites and test cases, and their initial executing sequences are achieved. However, the test scheme generated by the elementary prioritization is not much approximate to the best one. Therefore, genetic algorithm is further employed to optimize the results of grouping and prioritization. Meanwhile, an approach to generating new test cases is presented using crossover.
Testing Web Applications with Web Frameset and Browser Interactions  [PDF]
Bo Song,Shengbo Chen
Information Technology Journal , 2011,
Abstract: Software testing is a difficult task and testing Web applications may be more difficult, due to their characteristics. Web application is an interactive one since it came into being. How to model and test Web interactions is a challenge in software engineering. Web navigation models are useful to clarify requirements and specify implementation behaviors. Web frameset and Web browsers interactions are wildly used in todays Web applications. The behaviors of Web frameset and Web browser interactions changed the traditional Web navigation and influence the functionalities of Web applications. In this study, we took Web frameset and Web browsers interactions into account and proposed an approach to modeling the Web applications navigation and generating tests with Web framesets and browsers interactions. The construction formal semantics of structure composition of Web frameset is give out. Based on the formal semantics, the Web navigation with Web framesets is modeled. The Extended Browser Loading Model with Web frameset (EBLM) and the extended FSM is employed to formalize the navigation models with Web framesets and browsers interactions and a FSM Test-Tree (FSM-TT) is constructed using present construction algorithm. At last, test generation is given out which satisfies the corresponding coverage criteria. This study resolves the following research problems: (1) propose an approach to modeling Web applications with Web framesets and Web browsers interactions, (2) give the formal construction semantics of Web frameset and (3) formalize the navigation model and generating tests.
Efficient Web Software Testing Method

QIAN Zhong-sheng,MIAO Huai-kou,

计算机科学 , 2011,
Abstract: Testing Web software faces great challenges. Starting from constructing the PFD(Page Flow Diagram) for Web software, this work proposed a test path generation approach,which was illustrated by the SWI_S(Simple Web Login System) as an example and presented an effective Web testing model for Web software testing. This method provides a meaningful basis for page flow testing technology.
Web Proxy Cache Content Classification based on Support Vector Machine  [PDF]
W. Ali,S.M. Shamsuddin,A.S. Ismail
Journal of Artificial Intelligence , 2011,
Abstract: Web proxy caching plays a key role in improving the world wide web performance. However, the difficulty in determining which web objects will be re-visited in the future is still a big problem faced by existing web proxy caching techniques. In this study, we present a new approach which depends on the capability of support vector machine to learn from web proxy log data and predict the classes of objects to be re-visited. Therefore, usage of the cache can be optimized efficiently. Experimental results have revealed that the support vector machine produces similar correct classification rate compared to neuro-fuzzy system. However, the support vector machine achieves much better true positive rate and performs much faster than neuro-fuzzy system for both training and testing in several datasets.
A State Machine Sensor Network for Ephemeral Stream Detection  [PDF]
Michael A. Murphy,Christopher J. Post
International Journal of Distributed Sensor Networks , 2006, DOI: 10.1080/15501320600740348
Abstract: Sensor networks based on the de facto standard Berkeley TinyOS platform are changing the way environmental information is collected in the field. One such network has been designed, deployed, and tested in order to determine where ephemeral streams (small, temporary channels of runoff) form during precipitation events. This small, proof-of-concept test network was designed around a generic nondeterministic finite state machine component, which was built to be re-used in later environmental sensor network applications. A simplistic broadcast mechanism was devised to provide collective sampling interval changes to adapt to environmental conditions. In this paper, the design and testing of the ephemeral stream detection network are discussed, along with design features that can be re-used in later applications. Improvements for a later deployment of a larger, operational ephemeral stream detection network are also described.
Semantics-based Automated Web Testing  [PDF]
Hai-Feng Guo,Qing Ouyang,Harvey Siy
Computer Science , 2015, DOI: 10.4204/EPTCS.188.7
Abstract: We present TAO, a software testing tool performing automated test and oracle generation based on a semantic approach. TAO entangles grammar-based test generation with automated semantics evaluation using a denotational semantics framework. We show how TAO can be incorporated with the Selenium automation tool for automated web testing, and how TAO can be further extended to support automated delta debugging, where a failing web test script can be systematically reduced based on grammar-directed strategies. A real-life parking website is adopted throughout the paper to demonstrate the effectivity of our semantics-based web testing approach.
Automated Functional Testing based on the Navigation of Web Applications
Boni García,Juan Carlos Due?as
Electronic Proceedings in Theoretical Computer Science , 2011, DOI: 10.4204/eptcs.61.4
Abstract: Web applications are becoming more and more complex. Testing such applications is an intricate hard and time-consuming activity. Therefore, testing is often poorly performed or skipped by practitioners. Test automation can help to avoid this situation. Hence, this paper presents a novel approach to perform automated software testing for web applications based on its navigation. On the one hand, web navigation is the process of traversing a web application using a browser. On the other hand, functional requirements are actions that an application must do. Therefore, the evaluation of the correct navigation of web applications results in the assessment of the specified functional requirements. The proposed method to perform the automation is done in four levels: test case generation, test data derivation, test case execution, and test case reporting. This method is driven by three kinds of inputs: i) UML models; ii) Selenium scripts; iii) XML files. We have implemented our approach in an open-source testing framework named Automatic Testing Platform. The validation of this work has been carried out by means of a case study, in which the target is a real invoice management system developed using a model-driven approach.
Page 1 /100
Display every page Item

Copyright © 2008-2017 Open Access Library. All rights reserved.