Preemptive Regression Testingof Workflow-Based Web Services

Preemptive Regression Testingof Workflow-Based Web Services
复制标题

DOI:
10.1109/tsc.2014.2322621
复制
发表时间:
2015-09
影响因子:
8.1
通讯作者:
Lijun Mei;W. Chan;T. Tse;Bo Jiang;K. Zhai
Lijun Mei;W. Chan;T. Tse;Bo Jiang;K. Zhai
中科院分区:
计算机科学2区
文献类型:
--
作者:
Lijun Mei;W. Chan;T. Tse;Bo Jiang;K. Zhai

文献摘要

被引文献

相似文献

外部Web服务可能会在没有事先通知的情况下发展。在基于工作流的Web服务的回归测试过程中,现有的测试用例优先级排序技术可能只使用尚未执行的测试用例来验证最新的服务组合,而忽略了在演化之前已经应用于服务组合的高优先级测试用例。在本文中,我们提出了抢占式回归测试(PRT),自适应测试方法来解决这一挑战。每当检测到任何服务工件的覆盖率发生变化时,PRT递归地抢占回归测试的当前会话,并创建当前测试会话的子会话,以通过调整测试套件中测试用例的执行优先级来确保最近识别的覆盖率变化。然后,子会话将从挂起位置恢复执行。PRT仅在测试套件中的每个测试用例至少执行一次而在任何测试用例执行之间没有任何抢占激活时终止。实验结果证实,测试基于工作流的Web服务在面对这样的变化是非常具有挑战性的,和PRT丰富的技术之一,显示其潜力,以克服挑战。
An external web service may evolve without prior notification. In the course of the regression testing of a workflow-based web service, existing test case prioritization techniques may only verify the latest service composition using the not-yet-executed test cases, overlooking high-priority test cases that have already been applied to the service composition before the evolution. In this paper, we propose Preemptive Regression Testing (PRT), an adaptive testing approach to addressing this challenge. Whenever a change in the coverage of any service artifact is detected, PRT recursively preempts the current session of regression test and creates a sub-session of the current test session to assure such lately identified changes in coverage by adjusting the execution priority of the test cases in the test suite. Then, the sub-session will resume the execution from the suspended position. PRT terminates only when each test case in the test suite has been executed at least once without any preemption activated in between any test case executions. The experimental result confirms that testing workflow-based web service in the face of such changes is very challenging; and one of the PRT-enriched techniques shows its potential to overcome the challenge.