IJAIT

Abstract

Obtaining the expected performance from a workflow would be easier if every task included its own specifications. However, normally only global performance requirements are provided, forcing designers to infer individual requirements by hand. Previous work presented two algoritms that automatically inferred local performance constraints in Unified Modelling Language activity diagrams annotated with the Modelling and Analysis of Real-Time and Embedded Systems profile. This work presents an approach to use these annotations to generate performance test cases for multiple technologies, linking a performance model and a design model with a weaving model in a meet-in-the-middle approach so users can write their software according to their needs. Two implementations of the approach are described, which have been published as open source software. The first implementation extracts models from Java unit tests using MoDisco and weaves them with the performance models in order to convert some or all of the test cases in the selected JUnit test suites to performance tests. The second implementation extracts models from WSDL documents including message templates and template variables and uses these models for generating test inputs, test code and test infrastructure. Users can customise the service catalogues, test inputs and message templates to obtain a high degree of flexibility, and the test infrastructure provides automated configuration and test reports. These two successful implementations for different technologies validate the proposed approach as a generic framework for generating performance test case artefacts from existing software.

BibTeX entry

@article{garcia_dominguez_performance_2012,
    title = {Performance Test Case Generation for Java and {WSDL-based} Web Services from {MARTE}},
    volume = {5},
    issn = {1942-2652},
    url = {http://iariajournals.org/internet_technology/tocv5n34.html},
    language = {English},
    number = {3-4},
    journal = {International Journal on Advances in Internet Technology},
    author = {García Domínguez, Antonio and Medina Bulo, Inmaculada and Marcos Bárcena, Mariano},
    month = dec,
    year = {2012},
    pages = {173--185},
}

agd-iaria2012.pdf - Full text (318 KB) Antonio García Domínguez, 01/17/2013 01:03 PM