Is a form of software testing in which web applications use cloud computing environments (a “CLOUD”) to simulate real-world user traffic.
WHAT IS CLOUD TESTING..?
Cloud testing is the process of testing the performance, scalability, and reliability of Web applications in a simulated real world environment.
Compared to a traditional on-premises testing environment, cloud-based testing offers users pay-per-use pricing, flexibility and reduced time to market. Built-in collaboration tools allow geographically dispersed development teams to work in the cloud testing environment 24/7. Testers can also scale application workloads to thousands or millions of concurrent users to find performance issues before the application goes live.
But like any other technology, there are drawbacks. A lack of standards around integrating public cloud resources with on-premises resources concerns over security in the cloud, hard-to-understand service-level agreements and limited configurations and bandwidth offered by cloud providers can all contribute to time-delays and cost issues.
Cloud Testing uses cloud infrastructure for software testing. Organizations pursuing testing in general and load, performance testing, and production service monitoring, in particular, are challenged by several problems like limited test budget, meeting deadlines, high costs per test, a large number of test cases, and no reuse of tests and geographical distribution of users add to the challenges. Moreover, ensuring high-quality service delivery and avoiding outages requires testing in one’s Datacenter, outside the Datacenter, or both. Cloud Testing is the solution to all these problems. Effective unlimited storage, quick availability of the infrastructure with scalability, flexibility, and availability of distributed testing environment reduce the execution time of testing of large applications and lead to cost-effective solutions.
TYPES OF TESTING DONE IN CLOUD TESTING
Stress Test is used to determine the ability of an application to maintain a certain level of effectiveness beyond the breaking point. It is essential for any application to work even under excessive stress and maintain stability. Stress testing assures this by creating peak loads using simulators. But the cost of creating such scenarios is enormous. Instead of investing capital in building on-premises testing environments, cloud testing offers an affordable and scalable alternative.
Load testing of an application involves the creation of heavy user traffic and measuring its response. There is also a need to tune the performance of any application to meet certain standards. However, a number of tools are available for that purpose.
Finding out thresholds, bottlenecks & limitations is a part of performance testing. For this, testing performance under a particular workload is necessary. By using cloud testing, it is easy to create such environment and vary the nature of traffic on-demand. This effectively reduces cost and time by simulating thousands of geographically targeted users.
Functional testing of both the Internet and non-Internet applications can be performed using cloud testing. The process of verification against specifications or system requirements is carried out in the simulated real world instead of on-site software testing.
Using cloud environment, instances of different Operating Systems can be created on demand, making compatibility testing effortless.
To verify application’s support for various browser types and performance in each type can be accomplished with an easement. Various tools enable automated website testing from the cloud.
STEPS FOR CLOUD TESTING
Companies simulate real world Web users by using cloud testing services that are provided by cloud service vendors such as Advaltis, Compuware, HP, Keynote Systems, Load Impact, Neotys, RadView, and SOASTA. Once user scenarios are developed and the test is designed, these service providers leverage cloud servers (provided by cloud platform vendors such as Amazon.com, Google, Rackspace, Microsoft, etc.) to generate web traffic that originates from around the world. Once the test is complete, the cloud service providers deliver results and analytics back to corporate IT professionals through real-time dashboards for a complete analysis of how their applications and the internet will perform during peak volumes.
Keys to successful testing:-
- Understanding a platform provider’s elasticity model/dynamic configuration method
- Staying abreast of the provider’s evolving monitoring services and Service Level Agreements(SLAs)
- Potentially engaging the service provider as an ongoing operations partner if producing commercial off-the-shelf(COTS) software
- Being willing to be used as a case study by the cloud service provider. The latter may lead to cost reductions
Cloud testing is often seen as only performance or load tests, however, as discussed earlier it covers many other types of testing. Cloud computing itself is often referred to as the marriage of software as a service (SAAS) and utility computing. In regard to test execution, the software offered as a service may be a transaction generator and the cloud provider’s infrastructure software, or may just be the latter. Distributed Systems and Parallel Systems mainly use this approach for testing, because of their inherent complex nature. D-Cloud is an example of such a software testing environment.
For testing non-internet applications, virtual instances of testing environment can be quickly set up to do automated testing of the application. The cloud testing service providers provide an essential testing environment as per the requirement of the application under test. The actual testing of applications is performed by the testing team of the organization which owns the application or third party testing vendors.
Leading cloud computing service providers include, among others, Amazon, Advaltis, 3-terra, Microsoft, Skytap, HP, and SOASTA. Some of the tools for cloud testing include:
- Cloud Test
- SOA Test
- HP Load Runner
- Microsoft Azure
The ability and cost to simulate web traffic for software testing purposes have been an inhibitor to overall web reliability. The low cost and accessibility of the cloud’s extremely large computing resources provide the ability to replicate real world usage of these systems by geographically distributed users, executing wide varieties of user scenarios, at scales previously unattainable in traditional testing environments. Minimal start-up time along with quality assurance can be achieved by cloud testing.
Following are some of the key benefits:
- Reduction in capital expenditure
- Highly scalable
The initial setup cost for migrating testing to the cloud is very high as it involves modifying some of the test cases to suit cloud environment. This makes the decision of migration crucial. Therefore, cloud testing is not necessarily the best solution to all testing problems.
Legacy systems & services need to be modified in order to be tested on a cloud. Usage of robust interfaces with these legacy systems may solve this problem. Also like any other cloud services, cloud testing is vulnerable to security issues.
The test results may not be accurate due to the varying performance of service providers’ network and the internet. In many cases, service virtualization can be applied to simulate the specific performance and behaviors required for accurate and thorough testing.