{"title":"A Test Harness for Networked Mobile Applications and Middleware","authors":"A. Meads, H. Naderi, I. Warren","doi":"10.1109/ASWEC.2015.11","DOIUrl":null,"url":null,"abstract":"Ensuring that mobile device applications are free from bugs is difficult. The difficulty stems, in part, from the unpredictability inherent in the use of multiple mobile networks. Testers typically design and run tests to discover bugs, modify the software and then re-run the test to demonstrate the bug's absence. However, when using wireless networks, it is difficult to recreate the original operating conditions to re-run the test. Other challenges associated with testing software for mobile applications include determining the effects of adding concurrent devices to a system, and the need to manage user interaction during testing. In this paper, we introduce the Odin Test Harness, which is a tool that facilitates a simulated and controlled execution environment for testing middleware and application software involving mobile devices. In particular, the tool provides for fine-grained control over network characteristics including bandwidth, packet loss rates, latency and network interface availability. Moreover the test harness allows mobile apps to be programmatically manipulated, simulating user input, during test execution. Furthermore, the test harness enables testers to simulate load on the system and to help determine its scalability. We have evaluated the test harness' on our middleware platform for hosting mobile services and a healthcare monitoring application. The test harness has been found to be useful in finding bugs that would otherwise remain elusive. In particular, the tool's support for repeatable tests, tests that involve multiple devices, and tests that require user interaction has readied the healthcare application for use in a clinical trial.","PeriodicalId":310799,"journal":{"name":"2015 24th Australasian Software Engineering Conference","volume":"64 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 24th Australasian Software Engineering Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ASWEC.2015.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Ensuring that mobile device applications are free from bugs is difficult. The difficulty stems, in part, from the unpredictability inherent in the use of multiple mobile networks. Testers typically design and run tests to discover bugs, modify the software and then re-run the test to demonstrate the bug's absence. However, when using wireless networks, it is difficult to recreate the original operating conditions to re-run the test. Other challenges associated with testing software for mobile applications include determining the effects of adding concurrent devices to a system, and the need to manage user interaction during testing. In this paper, we introduce the Odin Test Harness, which is a tool that facilitates a simulated and controlled execution environment for testing middleware and application software involving mobile devices. In particular, the tool provides for fine-grained control over network characteristics including bandwidth, packet loss rates, latency and network interface availability. Moreover the test harness allows mobile apps to be programmatically manipulated, simulating user input, during test execution. Furthermore, the test harness enables testers to simulate load on the system and to help determine its scalability. We have evaluated the test harness' on our middleware platform for hosting mobile services and a healthcare monitoring application. The test harness has been found to be useful in finding bugs that would otherwise remain elusive. In particular, the tool's support for repeatable tests, tests that involve multiple devices, and tests that require user interaction has readied the healthcare application for use in a clinical trial.
确保移动设备应用程序没有漏洞是很困难的。这种困难部分源于使用多种移动网络所固有的不可预测性。测试人员通常设计和运行测试来发现缺陷,修改软件,然后重新运行测试来证明缺陷的存在。然而,当使用无线网络时,很难重现原始的操作条件来重新运行测试。与测试移动应用软件相关的其他挑战包括确定将并发设备添加到系统中的效果,以及在测试期间管理用户交互的需要。在本文中,我们介绍了Odin Test Harness,它是一个工具,为测试涉及移动设备的中间件和应用软件提供了一个模拟和控制的执行环境。特别是,该工具提供了对网络特征的细粒度控制,包括带宽、丢包率、延迟和网络接口可用性。此外,测试工具允许在测试执行期间以编程方式操纵移动应用程序,模拟用户输入。此外,测试工具使测试人员能够模拟系统上的负载并帮助确定其可扩展性。我们已经在中间件平台上评估了用于托管移动服务和医疗监控应用程序的测试工具。人们发现,测试工具在发现bug方面非常有用,否则这些bug将难以捉摸。特别是,该工具支持可重复测试、涉及多个设备的测试以及需要用户交互的测试,这使医疗保健应用程序为临床试验做好了准备。