N. Quental, C. Siebra, J. Quintino, Fabiana Florentin, F. Q. Silva, André L. M. Santos
{"title":"Automating GUI Response Time Measurements in Mobile and Web Applications","authors":"N. Quental, C. Siebra, J. Quintino, Fabiana Florentin, F. Q. Silva, André L. M. Santos","doi":"10.1109/AST.2019.00011","DOIUrl":"https://doi.org/10.1109/AST.2019.00011","url":null,"abstract":"The human perception of the performance of an operation while interacting with an user interface (UI) is subjective, i.e., it may depend on how the visual elements are arranged and how they respond to actions. The research for techniques for measurement of UI response time is a nontrivial task, since most of the solutions are concentrated in specific technologies. For evaluation of web pages, tools of general purpose has been used, focusing only on the download of resources and recommendations for the code structure. This paper proposes a methodology to make feasible the measurement of scenarios specified by the product designers for both web and mobile native applications with minor modifications in the automated test code. The methodology relies on using popular automation test tools originally designed for functional testing. The results found may help product owners and stakeholders to make cost-benefit analysis and make decisions about possible enhancements taking into account how the end user interacts with the application.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133768875","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Fully Automated Compiler Testing of a Reasoning Engine via Mutated Grammar Fuzzing","authors":"Yavuz Köroglu, F. Wotawa","doi":"10.1109/AST.2019.00010","DOIUrl":"https://doi.org/10.1109/AST.2019.00010","url":null,"abstract":"A reasoning engine infers logical consequences from a set of fixed axioms and observations. However, before it can make an inference, it must compile the axioms and observations which are given in a predefined format. Any attempt to test the correctness of a reasoning engine assumes that it compiles inputs correctly, but that may not be the case. In this work, we implement a mutated grammar fuzzer to automatically generate tests for the compilation stage of Assumption-based Truth Maintenance System (ATMS), a reasoning engine for model-based diagnosis. We also implement a recognizer as an oracle and automatically evaluate the correctness of compiler output. We automatically generate, execute, and evaluate more than a million tests in two weeks. We show that while tests generated from the true grammar of ATMS find no faults, tests generated from mutated grammars uncover an important fault in the compiler. We also show that mutated grammars achieve higher code coverage with fewer tests and the original grammar cannot cover any code that is not covered by mutated grammars. To the best of our knowledge, ours is the first work that provides a practical implementation and evaluation of a mutated grammar fuzzer. We make the implementation available online along with small examples, tests generated for this paper, and steps to reproduce our experiments.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"136 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133434093","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"D-TAF: Test Automation Framework Compatible with Various DBMS","authors":"Woosup Lim, Hyunchong Kim, Jaehyo Lee, Oksu Song","doi":"10.1109/AST.2019.00017","DOIUrl":"https://doi.org/10.1109/AST.2019.00017","url":null,"abstract":"To guarantee high quality, it is required to retest DBMS thoroughly whenever any changes occur such as operating system updates and configuration changes. Because retesting requires repetitive jobs, development companies start to consider test automation to improve productivity. Moreover, a special tool is also required because it is difficult to test manually some functions of DBMS. Although there are test automation tools such as MySQL Test Framework, Testgres and so on, these frameworks can only be used for particular DBMS. For an example, MySQL Test Framework can only be used for MySQL. Because DBMS testing is completely different from GUI based testing, it is impossible to use GUI based test automation tools such as Selenium when testing DBMS. For this reason, there are needs of the test automation framework for DBMS, which can be easily customizable so that it can be used for other DBMS. In this paper, we propose the framework for DBMS which will be actually used in DBMS development companies and can also be used for various kinds of DBMS. We propose our design and implementation approaches on the framework for DBMS.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"144 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116710238","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Kai Presler-Marshall, Eric Horton, S. Heckman, Kathryn T. Stolee
{"title":"Wait, Wait. No, Tell Me. Analyzing Selenium Configuration Effects on Test Flakiness","authors":"Kai Presler-Marshall, Eric Horton, S. Heckman, Kathryn T. Stolee","doi":"10.1109/AST.2019.000-1","DOIUrl":"https://doi.org/10.1109/AST.2019.000-1","url":null,"abstract":"Flaky tests are a source of frustration and uncertainty for developers. In an educational environment, flaky tests can create doubts related to software behavior and student grades, especially when the grades depend on tests passing. NC State University's junior-level software engineering course models industrial practice through team-based development and testing of new features on a large electronic health record (EHR) system, iTrust2. Students are expected to maintain and supplement an extensive suite of UI tests using Selenium WebDriver. Team builds are run on the course's continuous integration (CI) infrastructure. Students report, and we confirm, that tests that pass on one build will inexplicably fail on the next, impacting productivity and confidence in code quality and the CI system. The goal of this work is to find and fix the sources of flaky tests in iTrust2. We analyze configurations of Selenium using different underlying web browsers and timeout strategies (waits) for both test stability and runtime performance. We also consider underlying hardware and operating systems. Our results show that HtmlUnit with Thread waits provides the lowest number of test failures and best runtime on poor-performing hardware. When given more resources (e.g., more memory and a faster CPU), Google Chrome with Angular waits is less flaky and faster than HtmlUnit, especially if the browser instance is not restarted between tests. The outcomes of this research are a more stable and substantially faster teaching application and a recommendation on how to configure Selenium for applications similar to iTrust2 that run in a CI environment.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128466832","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Software Metrics Artifacts Making Web Quality Measurable","authors":"A. Martínez-Ortiz, D. Lizcano, M. Ortega","doi":"10.1109/AST.2019.000-2","DOIUrl":"https://doi.org/10.1109/AST.2019.000-2","url":null,"abstract":"Mining open source repositories introduces an effective approach to put in practice empirical software engineering in a variety of technologies. Kernel development (Linux) first and then Internet (Chromium) and more recently cloud orchestration (Kubernetes) and machine learning (TensorFlow) are fundamental pieces not just for open source ecosystem but also for the industry leading software innovation. Empirical software engineering sustains a better understanding of these projects, reducing even more the barriers for adoption. In this work we focus on empirical quality assessment developing software metrics artifacts to make web components quality measurable. After reviewing the state of the art and main frameworks for software measurement, we will present our proposal for the empirical evaluation of quality metrics for web components, data collection, measurement and prediction, discussing main benefits and some drawback of the selected approach, which will be aimed at future works.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124366755","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Kevin J. Valle-Gómez, Pedro Delgado-Pérez, I. Medina-Bulo, José M. Fernandez
{"title":"Software Testing: Cost Reduction in Industry 4.0","authors":"Kevin J. Valle-Gómez, Pedro Delgado-Pérez, I. Medina-Bulo, José M. Fernandez","doi":"10.1109/AST.2019.00018","DOIUrl":"https://doi.org/10.1109/AST.2019.00018","url":null,"abstract":"Industry 4.0 is changing every perspective of production. This new industry requires the evolution of every aspect of the systems faster than ever before. In this situation, validation and verification emerge as a significant phase of the life cycle of software projects. A software failure could result in catastrophic consequences, so it is crucial that all systems work correctly in production. In this work, we present a collaborative project between the University of Cadiz and Navantia. Navantia is a leader shipbuilding Spanish company which develops grand industrial software projects. The objective of this work is to decrease the total cost of these projects by automatizing the software testing phase.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125158941","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Automated Combinatorial Testing for Detecting SQL Vulnerabilities in Web Applications","authors":"D. Simos, Jovan Zivanovic, Manuel Leithner","doi":"10.1109/AST.2019.00014","DOIUrl":"https://doi.org/10.1109/AST.2019.00014","url":null,"abstract":"In this paper, we present a combinatorial testing methodology for testing web applications in regards to SQL injection vulnerabilities. We describe three attack grammars that were developed and used to generate concrete attack vectors. Furthermore, we present and evaluate two different oracles used to observe the application's behavior when subjected to such attack vectors. We also present a prototype tool called SQLInjector capable of automated SQL injection vulnerability testing for web applications. The developed methodology can be applied to any web application that uses server side scripting and HTML for handling user input and has a SQL database backend. Our approach relies on the use of a database proxy, making this a gray-box testing method. We establish the effectiveness of the proposed tool with the WAVSEP verification framework and conduct a case study on real-world web applications, where we are able to discover both known vulnerabilities and additional previously undiscovered flaws.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"41 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116021558","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"AST 2019 Program Committee","authors":"","doi":"10.1109/ast.2019.00007","DOIUrl":"https://doi.org/10.1109/ast.2019.00007","url":null,"abstract":"","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"178 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116578491","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Shahnaz M. Shariff, Heng Li, C. Bezemer, A. Hassan, Thanh H. D. Nguyen, P. Flora
{"title":"Improving the Testing Efficiency of Selenium-Based Load Tests","authors":"Shahnaz M. Shariff, Heng Li, C. Bezemer, A. Hassan, Thanh H. D. Nguyen, P. Flora","doi":"10.1109/AST.2019.00008","DOIUrl":"https://doi.org/10.1109/AST.2019.00008","url":null,"abstract":"Web applications must be load tested to analyze their behavior under various load conditions. Typically, these load tests are automated using protocol-level HTTP requests (e.g., using JMETER). However, there are several disadvantages to using protocol-level requests for load tests. For example, protocol-level requests are only partially representative of the true usage of a web application, as the web application is not actually executed in a browser. It can be difficult to abstract complex behavior, such as a login sequence, into requests without executing the application. Browser-based load testing can be used as an alternative to protocol-level requests. Using a browser-based testing framework, such as SELENIUM, tests can be executed more realistically — inside a browser. Unfortunately, because a browser instance must be started to conduct a test, browser-based testing has a high performance overhead which limits its applicability for load tests. In this paper, we propose an approach for reducing the performance overhead of running SELENIUM-based load tests. Our approach shares browser instances between test user instances, thereby reducing the performance overhead that is introduced by launching many browser instances during the execution of a test. Our experimental results show that our approach can significantly increase the number of user instances that can be tested on a test machine without overloading the load driver. Our approach and the experiences that we share in this paper can help software practitioners improve the efficiency of their own SELENIUM-based load tests.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124333789","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
R. Pietrantuono, A. Bertolino, G. D. Angelis, Breno Miranda, S. Russo
{"title":"Towards Continuous Software Reliability Testing in DevOps","authors":"R. Pietrantuono, A. Bertolino, G. D. Angelis, Breno Miranda, S. Russo","doi":"10.1109/AST.2019.00009","DOIUrl":"https://doi.org/10.1109/AST.2019.00009","url":null,"abstract":"We introduce the DevOpRET approach for continuous reliability testing in DevOps. It leverages information monitored in operation to guide operational-profile based testing, which is conceived as part of the acceptance testing stage before each next release to production. We overview the envisaged test and monitoring pipeline, describe the approach and present a case-study evaluating how reliability assessment evolves over subsequent releases.","PeriodicalId":383425,"journal":{"name":"2019 IEEE/ACM 14th International Workshop on Automation of Software Test (AST)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126380026","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}