Download "user manual"
Transcript
Abstract Performance is a business-critical quality factor particularly for e-commerce companies that operate platforms with thousands or millions of users. Any dissatisfaction of customers, e.g., caused by long response times or low throughput, might end up in huge financial losses. Consequently, e-commerce platforms must hold a tolerable level of overall performance to ensure a positive user experience. In times of Web 2.0, this demand becomes even more difficult to meet, since complexity of Web systems increases rapidly; on the other hand, server capacity planning as well as scalability evaluation require reliable methodologies for any type of performance testing. Many performance testing tools like the widely used JMeter build on the concept of test scripts. Therewith, these tools offer benefits like test repeatability and consistency. In contrast, the manual specification of those scripts is an error-prone and time consuming issue. Hence, companies tend to limit their scope of performance testing, to keep the investment costs for such tests low. To overcome this problem, alternative, cost-saving approaches are required. One desirable aim is to retrieve test scripts straight from the modeldriven software generation process of a system. Corresponding applications often depend on workflow definitions, which specify valid user activities with respect to system usage. These definitions indicate the user behavior accepted by the related system. Therewith, they provide significant information for testing models which build on emulation of user behavior. On the other hand, such models need to be parameterized with input values which might be retrieved from monitoring data. Utilization of workflow information for generating testing models and parametrization of such models with monitoring data are base tasks of an approach which will be followed in this thesis. The approach builds on the workload generation model of the Markov4JMeter add-on for JMeter, which itself builds on probabilistic user behavior. For the sake of clarity, the approach has been divided into three tasks. The first task includes the generation of so-called Test Plans for the JMeter tool from a Markov4JMeter workload model. For this purpose, a domain-specific language (DSL), namely M4J-DSL, will be defined. M4J-DSL denotes a meta-model for Markov4JMeter workload models, and model instances provide all information required for the transformation to a corresponding Test Plan – not limited to JMeter. The transformation itself is performed by a framework which has been developed for this purpose. The second task aims to the derivation of an appropriate M4J-DSL model from so-called Screenflows of a concrete, generative software development platform, namely b+m gear. That task requires user behavior information, such as think times, which can be retrieved from monitoring data. The extraction of such data from user session traces will be discussed in the third part of the approach. That part includes an implementation of think time support in the Markov4JMeter add-on. Though mainly aiming to performance iii