Beruflich Dokumente
Kultur Dokumente
I S S N l l 1 0 07 - 0 2 14 l l 0 7 / 1 0 l l p p 6 5-7 5
Volume 19, Number 1, February 2014
Abstract: To satisfy the rapid growth of cloud technologies, a large number of web applications have been
developed and deployed, and these applications are being run in clouds. Due to the scalability provided by clouds,
a single web application may be concurrently visited by several millions or billions of users. Thus, the testing
and performance evaluations of these applications are increasingly important. User model based evaluations can
significantly reduce the manual work required, and can enable us to determine the performance of applications
under real runtime environments. Hence, it has become one of the most popular evaluation methods in both
industry and academia. Significant efforts have focused on building different kinds of models using mining web
access logs, such as Markov models and Customer Behavior Model Graph (CBMG). This paper proposes a new
kind of model, named the User Representation Model Graph (URMG), which is built based on CBMG. It uses an
algorithm to refine CBMG and optimizes the evaluations execution process. Based on this model, an automatic
testing and evaluation system for web applications is designed, implemented, and deployed in our test cloud, which
is able to execute all of the analysis and testing operations using only web access logs. In our system, the error
rate caused by random access to applications in the execution phase is also reduced, and the results show that the
error rate of the evaluation that depends on URMG is 50% less than that which depends on CBMG.
Key words: cloud; web application; performance evaluation; customer behavior; user representation
Introduction
66
Background
Fig. 1
Xiaolin Xu et al.: URMG: Enhanced CBMG-Based Method for Automatically Testing Web Applications in the Cloud
Integrity
67
(1)
(2)
Relevance similarity
3.3
3.3.1
Topology similarity
Definition
68
(5)
3.3.3
Algorithm implementation
Xiaolin Xu et al.: URMG: Enhanced CBMG-Based Method for Automatically Testing Web Applications in the Cloud
System architecture
69
User interface
70
4.1.2
Model generation
System highlights
4.3.1
Process flow
Fig. 3
Xiaolin Xu et al.: URMG: Enhanced CBMG-Based Method for Automatically Testing Web Applications in the Cloud
71
Experimental setup
Case study
Fig. 4
Table 1
Status Symbol 1
2
A
3
B
4
C
5
D
6
E
Fig. 5
Access record
/index.php
/order.php?user=02Ac&id=2376A0z2
/buy.php?user=02Ac&id=2376A0z2
/comment.php?user=02Ac&id=2376A0z2
/deGoods.php?user=02Ac&id=2376A0z2
72
Fig. 6
Fig. 7
Related Works
Fig. 9
Xiaolin Xu et al.: URMG: Enhanced CBMG-Based Method for Automatically Testing Web Applications in the Cloud
Conclusions
73
References
[1]
[2]
[3]
[4]
74
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
Xiaolin Xu et al.: URMG: Enhanced CBMG-Based Method for Automatically Testing Web Applications in the Cloud
Hai Jin is a Cheung Kung Scholar,
chair professor of computer science and
engineering at Huazhong University
of Science and Technology (HUST) in
China. He is now the dean of the School
of Computer Science and Technology
at HUST. Jin received his PhD degree
in computer engineering from HUST in
1994. In 1996, he was awarded a German Academic Exchange
Service fellowship to visit the Technical University of Chemnitz
in Germany. Jin worked at The University of Hong Kong between
1998 and 2000, and as a visiting scholar at the University of
Southern California between 1999 and 2000. He was awarded
Excellent Youth Award from the National Science Foundation
of China in 2001. Jin is the chief scientist of ChinaGrid, the
largest grid computing project in China, and the chief scientist
of the National Key Basic Research and Development (973)
75