Professional Documents
Culture Documents
1, SEPTEMBER 2011
jerry.gao@sjsu.edu
Abstract- Cloud computing not only changes the way
of obtaining computing resources (such as computers,
infrastructures, data storage, and application services), but
also changes the way of managing and delivering computing
services, technologies, and solutions. Cloud computing
leads an opportunity in offering testing as a service (TaaS)
for SaaS and clouds. Meanwhile, it causes new issues,
challenges and needs in software testing, particular in testing
clouds and cloud-based applications. This paper provides
a comprehensive tutorial on cloud testing and cloud-based
application testing. It answers the common questions raised
by engineers and managers, and it provides clear concepts,
discusses the special objectives, features, requirements,
and needs in cloud testing. It offers a clear comparative
view between web-based software testing and cloud-based
application testing. In addition, it examines the major
issues, challenges, and needs in testing cloud-based software
applications. Furthermore, it also summarizes and compares
different commercial products and solutions supporting
cloud testing as services.
1. INTRODUCTION
10
testing. Furthermore, the paper also covers several major
players, and provides a comparative view on emergent
technologies and tools in cloud testing as a service.
The rest of this paper is structured as follows. The next
section discusses cloud testing concepts, including
definitions, objectives, motivation and benefits, testing
forms, types, and environments as well as activities.
Section 3 is devoted to the discussion about what is new in
cloud testing. It focuses on the new requirements, features,
and differences between cloud testing and conventional
software testing. Section 4 examines the primary issues,
challenges, and needs in cloud testing. Section 5 reviews
the existing emergent technologies, solutions, and tools in
software cloud testing. Section 6 reviews the published
papers in cloud testing and cloud-based software testing.
Finally, the conclusion remarks are given in Section 7.
2. UNDERSTANDING CLOUD TESTING
According to [1], cloud computing provides a costeffective and flexible means through which scalable
computing power and diverse services (computer
hardware and software resources, networks and computing
infrastructures), diverse application services, business
processes to personal intelligence and collaboration are
delivered as services to large-scale global users whenever
and wherever they need.
Cloud computing is the next stage of the Internet evolution.
A typical cloud must have several distinct properties:
elasticity and scalability, multi-tenancy, self-managed
function capabilities, service billing and metering
functions, connectivity interfaces and technologies. In
addition, a cloud supports large scale user accesses at
distributed locations over the Internet, offers on-demand
application services at anytime, and provides both virtual
and/or physical appliances for customers. There are three
types of clouds: a) private clouds, which are internal
clouds based on a private network behind a firewall; b)
public clouds, which are the clouds with public accessible
services over the Internet; and c) hybrid clouds, which are
made of different types of clouds, including public and
private clouds.
11
12
Online-based application testing on a cloud This type of testing activities usually is performed
to check online application systems on a cloud
by using with cloud-based large-scale traffic and
user accesses. This is a common usage of cloud
technology to help current online application
vendors to conduct online-based system function
testing and performance evaluation on a cloud
by taking the advantage of cloud environment
so that diverse and scalable computing resources
in a cloud can be used without using any inhouse test laboratory. When applications are
connected with legacy systems, the quality of the
connectivity between the legacy systems and the
under-test application deployed on a cloud must
be validated. Table 1 shows the detailed tasks.
13
Testing focuses
Cloud/SaaS-Oriented
Testing inside a Cloud
Online Application-Based
Testing on a Cloud
Cloud-Based Application
Testing over Clouds
Service Function
Testing
Testing online-based
application service
functions on a cloud
Testing cloud-based
application service
functions over a cloud
infrastructure
Integration
Testing
Vendor-specific
component and service
integration inside a
private/public cloud
- End-to-end application
integration over clouds
- Integration with legacy
systems over clouds
API and
Connectivity
Testing
API interfaces
and connectivity
protocols (HTTPS,
REST, SOAP, RMI)
Testing user-centered
service APIs and
connectivity on a cloud
Performance
& Scalability
Testing
Performance and
scalability based on a
SLA
SaaS/Cloud performance
and scalability testing
in a cloud based on the
given SLA
User-oriented application
performance and scalability
testing on a cloud
End-to-end system-level
performance and scalability
inside/on/over cloud based
on a given SLA
Security Testing
SaaS/Application data,
processes, functions, and
user privacy
SaaS/Cloud security
features and user privacy
in a cloud
System-level end-to-end
security over clouds
Interoperability
& Compatibility
Testing
Validate different
client interfaces and
technologies and diverse
compatibilities on
different platforms and
browsers
Testing Cloud/
SaaS compatibility,
connectivity protocols
and UI/client
technologies inside a
cloud
Testing user-centered
interoperability,
compatibility of platforms/
OS/browsers, and client
technologies on a cloud
Testing application
compatibility, end-toend interoperability and
application connectivity to
legacy systems over clouds
Regression
Testing
Cloud/SaaS-oriented
regression testing inside
a cloud
User-centered re-validation
on a cloud
End-to-end application
system regression over
clouds
On-Demand
TaaS Service
Test
Modeling and
Adequacy
Test/QoS
REQs & SLAs
Test Process &
Management
Frameworks
and Tools
Test Simulation
& Generation
Price
Modeling &
Billing
14
On-Demand
Test Service
Test
Solution Service
Test Simulation
Service
Test environment service, which provides ondemand test environment services to establish
the required virtual (or physical) cloud-based
computing resources and infrastructures, as well
as the necessary tools.
Test Envir.
Service
15
TABLE 2
SOFTWARE TESTING AND CLOUD-BASED SOFTWARE TESTING
Internet-Based Software Testing
(i.e. Distributed/Web-Based System Infrastructure)
Primary
Testing
Objectives
Testing as a
service
Testing and
Execution
Time
Testing
Environment
Testing
Costs
Test
Simulation
Function
Validation
Integration
Testing
- Function-based integration
- Component-based integration
- Architecture-based integration
- Interface/connection integration
-
-
-
-
Security
Testing
Scalability
&
Performance
Testing
-
-
-
-
-
-
16
On-demand testing issues and challenges In TaaS, software testing services must be
controlled and managed based on on-demand
testing requests. This kind of new testing service
model raised several issues and challenges.
o What is the automatic test process for TaaS
to support on-demand automation testing?
o What are the well-defined cost models for
testing as a service?
o How can engineers use a systematic approach
to model and define QoS requirements?
o What are the intelligent approaches to coping
with the failures of software testing scripts/
test cases in an on-demand testing process?
17
18
TABLE 3
A COMPARISON VIEW ABOUT CLOUD TESTING PODUCTS, SOLUTIONS AND SERVICES FROM FOUR MAJOR PLAYERS
PushtoTest
http://www.pushtotest.com/
Cloud Testing
http://www.cloudtesting.com/
SOASTA
http://www.soasta.com/
iTKO
http://www.itko.com/
Testing
Products
- Test Maker
Test Services
- PushTotest,
TestOnDemand
- CloudTest On-Demand
- CloudTest Appliances
Function Testing
Web-Based, RIA-based,
and SOA-based function
testing
Script-based function
testing support for testers,
developers, and website
managers
Test
Development
- Script-based test
development
- Web-based record/replay
19
Test
Monitoring and
Virtualization
- Crossing browser
monitoring
- Script-based test
monitoring
- Project status monitoring
- Script report and monitor
- Continuous validation
monitor
- End-to-end transparency
and monitor of application
behaviors at different
levels
Test
Methodology
and Solutions
- Agile Test-First
Methodology
- Script-based test
development
- Record and replay
- Script-based execution
- Record and replay
- Script-based test
development
- Real-time playback
- Record and replay
- Visual test creation,
edition, and assembly
Interoperability
and Web
Browsers &
Technology
No details
No detailed information
available except Selenium
Test Execution
Support
Connectivity
and API Support
Service costs
Scripting
5. CURRENT
PLAYERS
20
Cloud Testing Cloud Testing develops cloudbased testing solutions focusing on large-scale
web-based application testing by leveraging with
cloud infrastructures. It offers different web-based
testing crossing different browsers, including
IE, Firefox, Opera, Chrome, and Sadari. Cloud
Testing allows engineers to create and maintain
test scripts manually or to use the record-andreplay approach. Cloud Testing offers three types
of testing services to allow developers, testers
and website managers to automate and speed up
the testing and archiving of their websites using
real browsers from the cloud. These include: a)
cross browser testing, b) website archiving, and
c) function testing. According to Cloud Testing,
it provide and delivers its services in a SaaS
(Software as a Service) model, so its customers
have no need to invest in computing hardware,
software or consultancy before software testing.
propose their initial work on modeling of cloudbased application environment for software
testing by focusing On-Premises Applications
over clouds. Its major objective is to present
the relationships between different application
services over clouds and external consumer
services. The details about how to use this model
in cloud testing are not addressed yet. W.K. Chan
et al. in [5] present a formal model to present
clouds and their associated services using a graph
model, known as cloud graph. Cloud computation
is represented as a set of paths in a subgraph
of the cloud such that every edge contains a
predicate that is evaluated to be true. As indicated
by W. K. Chan, there are no any existing testing
criteria for cloud applications even though some
testing criteria for service-related systems have
been proposed [8].Our recent literature survey on
cloud software testing has confirmed this.
21
22
[4] Tauhida Parveen, Scott Tilley, When to Migrate Software Testing
to the Cloud?, In Third International Conference on Software
Testing, Verification, and Validation Workshops (ICSTW), 424427, 2010.
[5] W. K. Chan, Lijun Mei, Zhenyu Zhang, Modeling and Testing of
Cloud Applications, In 2009 IEEE Asia-Pacific Service Computing
Conference (APSCC 2009), Singapore; Dec 7-11, 2009.
[6] Liu Gu, Shing-Chi Chenug, Constructing and testing privacyaware services in a cloud computing environment: challenges
and opportunities, In the First Asia-Pacific Symposium on
Internetware, Beijing, China, 2009.
[7] George Candea, Stefan Bucur, Zamfir Cristian, Automated
Software Testing as a Service (TaaS), In the 1st ACM Symposium
on Cloud Computing, 2010.
[8] H. Lu, W. K. Chan, and T. H. Tse., Testing pervasive software
in the presence of context inconsistency resolution services, In
the 30th International Conference on Software Engineering (ICSE
2008), 6170, 2008.
[9] G. Goth, Googling test practices? Web giants culture encourages
process improvement, IEEE Software, vol. 25, no. 2, 92-94, 2008.
[10] R. Collard, Performance innovations, testing implications,
Software Test & Performance Magazine, Vol. 6, No. 8, 19-20,
August 2009.
[11] Y. Yang, C. Onita, J. Dhaliwal, X. Zhang, TESTQUAL:
conceptualizing software testing as a service, In the 15th Americas
conf. on information systems, 6-9.08, San Francisco, California,
USA, paper 608, 2009.
[12] Leo.van der Aalst, Software testing as a service (STaaS), Internet:
http://www.tmap.net/Images/Paper%20STaaS_tcm8-47910.pdf,
[May 06, 2009].
[13] L. Ciortea, C. Zamfir, S. Bucur, V. Chipounov, G. Candea, Cloud9:
A software testing service, In The 3rd SOSP Workshop on Large
Distributed Systems and Middleware (LADIS), Big Sky, MT,
October 2009.
[14] IBM Smart Business Development and Test Cloud, IBM Global
Technology Services, 2010. URL: http://www935.ibm.com/
services/us/index.wss/offering/midware/a1030965
[15] Y Liu, Testing as a Service over Cloud, In the Fifth IEEE
International Symposium on Service Oriented System Engineering,
2010.
[16] Lian Yu, Shuang Su, Jing Zhao, et al, Performing Unit Testing
Based on Testing as a Service (TaaS) Approach, In the
International Conference on Service Science (ICSS), 2008.
[17] B. Wrenn, CISSP, ISSEP, Unisys Secure Cloud Addressing the
Top Threats of Cloud Computing, (white paper).
[18] AppLabs, Testing the Cloud, white paper, Internet: http://www.
applabs.com/html/TestingtheCloud_786.html.
[19] P. Jogalekar , M. Woodside. Evaluating the scalability of distributed
systems, IEEE Trans. Parallel and Distributed Systems, vol. 11,
no. 6, 589603, 2000.
23