A Testing Tool for Performing Mutation Testing of Java and Servlet Based Web Applications

A Testing Tool for Performing Mutation Testing of Java and Servlet Based Web Applications

International Journal of Innovative Technology and Exploring Engineering (IJITEE) ISSN: 2278-3075, Volume-8 Issue-12, October 2019 MUTWEB- A Testing Tool for performing Mutation Testing of Java and Servlet Based Web Applications S. Suguna Mallika, D. Rajya Lakshmi Abstract: Mutation testing is one of the oldest and unique two things to be ascertained. One is to enhance the test input testing techniques to perform white box testing of software sample size and check to see if the mutant is overthrown. If applications. Code coverage becoming an increasing concern in the mutant still persists then there is a need to increase the the testing cycle of software, mutation testing technique aids in test suite with a new test case and a backward tracing of the achieving higher code coverage and unearthing more number of faulty code's abnormal behavior till the actual bug is errors at the testing site itself. The parameters like the database connectivity, session management, cookie management, are the unearthed. beginning point of web application testing failures given the Usually for performing mutation testing of a software, heterogeneity aspects associated with the development of a web there need to be some mutation operators which serve as application. A detailed account on list of available testing tools appropriate changes in the source code and then the faulty for performing mutation testing are presented here. A big bundle software is tested either manually or through any automated of mutation testing tools are still available, however they are not tool. There needs to be some metric to evaluate the focussing on some of the crucial web vulnerabilities like session effectiveness of the mutation test suite that was applied on and cookie management in web apps. In the current work, a tool the software. However, previous works reveal that mutation to perform mutation testing of web applications is developed and tested to see if desired results are occurring. An architecture of operators were not proposed in every vulnerable area of web the tool is designed is discussed and presented. A brief analysis applications though. on results is presented. Key Words: mutation testing, automated testing tool, web II. LITERATURE SURVEY application testing The web applications with their heterogeneous nature have many vulnerabilities like cross site scripting[7], broken I. INTRODUCTION session management and authentication[16], application Web Applications are growing in tandem with the entire logic failures, database connectivity problems, cross browser e-commerce giant leaping up exponentially every compatibility[3][8] are some of the worst security related day[1][17]. A large amount of customer retention happens vulnerabilities that dynamic web applications often succumb with the credibility of the web application in use. And hence to while in execution. There are tools to perform load testing a proper testing is the need of the day when especially small and performance testing of web apps but there are not many to medium to large businesses are banking on a web tools which test all the heterogeneity aspects mentioned application for growing in their business. Typically a web afore. In this work, an automated testing tool to perform application also has grown from mere information presenting lopsided html pages to a more dynamic software where mutation testing of javascript based web applications is information flows through between the clients and the server. presented. Novelty of this tool lies in its ability to implement The incredible discriminating features of a web app from mutation operators so far not defined in any of the previous regular software are what make them unusual for the regular mutation testing works. kind of testing. Mutation testing, the other negative testing There are quite a number of tools for performing mutation finds an interesting space when it comes to digging the testing on various stand alone applications. Tools like deeper overlooked faults made unknowingly by the MuClipse, PIT, Jumble perform mutation testing on Java developers who end up fixing those vulnerabilities at a based stand alone applications and tools like Mutpy and whopping cost much later[15]. The idea of mutation testing Cosmic Ray on stand alone python is to seed in buggy code at known points in the original programs[2][14][18][19][20]. However, the number of tools source file and test it against the regular test suite. If the offering mutation based testing to web apps are quite few like software thwarts the buggy code and gives a wrong output, WebMuJava, Selenium, HP–QTP, FitNesse, Watir, then the mutant is said to be killed and there is a strong test testComplete, LoadRunner, TestNg, TOSCA, SilkTest, case, nevertheless assuring a secure software. However, if WinRunner[4][5][9][10][11][12][13]. the software were to render results exactly the same way like A review of some of the automated testing tools and the the original code overlooking the faulty code, then there are Revised Manuscript Received on July 22, 2019. S. Suguna Mallika*, CSE, CVR College of Engineering, Hyderabad, India. Email: [email protected] Dr. D. Rajya Lakshmi, CSE, JNTU-UCEN, Narsaraopet, Guntur, India. Email: [email protected] Published By: Blue Eyes Intelligence Engineering & Retrieval Number: L37891081219/2019©BEIESP 5406 Sciences Publication DOI:10.35940/ijitee.L3789.1081219 MUTWEB- A Testing Tool for performing Mutation Testing of Java and Servlet Based Web Applications type of testing supported by the tools led the survey to some over web applications with vulnerabilities in link transitions, interesting facts that there are not many tools available for state management etc[16]. testing the non-functional requirements of the web applications like security, performance, availability etc. III. ARCHITECTURE OF TOOL Most tools focused on testing the functional requirements In this work, an automated testing tool named MUTWEB which otherwise could be brought down to the unit level is developed and used for mutation testing of 5 sample open testing. source web apps. Tools architecture is as presented in Fig.1. MuClipse Tool offers different mutation operators to the There is a presentation layer which facilitates selection of tester who can choose from the list provided on the User operators, a canonical layer which mutates the original code Interface for launching corresponding test cases. The test to pieces of mutants and the logic layer which analyses the cases are run using JUnit and tool displays a mutation score results and writes log files for the tester’s understanding of at the end of testing[24]. the results. Further efforts are underway to feed the results of Jumble and PIT tool is a mutation based testing tools the tool to a machine learning algorithm which analyses the which performs mutation at byte code level[21][23]. nature of defects and makes a prediction of defects in web Cosmic-ray, Mutpy are mutation testing tools for python applications with precision. based web applications[20][22]. WebMuJava is a mutation testing tool for web applications. It tests mutation operators Table-I: Various Testing Tools Currently Available S.No Tool Name Type of Testing Browser Support Language Supported Open Supported Source/ Licensed 1 WATIR Functional Testing IE, Chrome, Safari, All Open source Firefox 2 Selenium Functional Testing IE, Chrome, Safari, Java, .NET, Ruby, Perl, Open source Firefox PHP 3 HP-QTP Functional Testing IE, Chrome, Safari, VB Script Licensed Firefox 4 Fitnesse Acceptance Testing N/A Java, Python, C#, Open source 5 testComplete Functional Testing, IE, Chrome, Safari, VBScript, Jscript, Licensed Unit Testing Firefox Python, Delphi Script, C++ script, C# Script 6 Load Runner Load Testing Chrome, Safari, IE, Java, .NET, JavaScript, Licensed Firefox HTML scripting 7 Test Ng Integration Testing, N/A Java Open source Functional Testing, End-End Testing, Unit Testing 8 TOSCA Functional Testing IE, Firefox, Delphi, .NET including Licensed Chrome WPF, Java, swing/SWT/AWT, VB 9 SilkTest Functional Testing IE, Firefox .NET, Java, Swing, Licensed SWT, DOM 10 WinRunner Functional Testing Any Browser Any web based Licensed application 11 ApacheJMeter Performance Testing, Any Browser web service Open source Load Testing 12 NeoLoad Load Testing IE, Firefox, ASP, .Net, J2EE, PHP Licensed Chrome Published By: Blue Eyes Intelligence Engineering & Retrieval Number: L37891081219/2019©BEIESP 5407 Sciences Publication DOI:10.35940/ijitee.L3789.1081219 International Journal of Innovative Technology and Exploring Engineering (IJITEE) ISSN: 2278-3075, Volume-8 Issue-12, October 2019 S.No Tool Name Type of Testing Browser Support Language Supported Open Supported Source/ Licensed 13 LoadUI Load Testing Any Browser Any web based Licensed application 14 WebLoad Load Testing IE, Firefox, HTTP/HTTPS (SSL, Licensed Chrome TLS), WebSocket, PUSH, AJAX, SOAP, HTML5, WebDAV and others. 15 WAPT Load Testing, Stress IE, Firefox, Java Script Licensed Testing Chrome and others 16 Rational Performance Testing Any Browser Any Script, XSS, SOAP Licensed Performance Tester 17 Testing Anywhere Functional Testing IE, Firefox, Any Web Based Licensed Chrome Application 18 Qengine Functional Testing IE, Mozilla, VBScript, Jscript, Licensed(but Firefox Python, Delphi Script, End- of Sale) C++ Script, C# Script announced 19 MUTANDIS Functional Testing Any browser Java Script Open source 20 ATUSA Functional Testing Any browser Ajax based any script Open source crawling

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us