BT

Testing in the Cloud

| by Vikas Hazrati Follow 0 Followers on May 25, 2011. Estimated reading time: 2 minutes |

 Cloud testing is a testing approach in which the power of the cloud is harnessed. This is mostly done, either to decrease the amount of time taken to test or to simulate real world traffic for an application. Moreover, in order to meet the scalability demands of high traffic web applications, tests need to scale as well.

Matt Heusser mentioned that in old days test labs were prevalent. These used to take a lot of space and had a variety of machines.

It took up hundreds of square feet of space and contained between five and twenty computers. Each computer had different combinations of system software. We would have to install, test, and then possibly re-image the machine for the next test run.

Today the scenario is much different. With the help of tools like VMware Fusion, it is possible to run various combinations on the same machine. Likewise, it is possible to run several instances of the server on the same physical device. Thus, creating the test environment could be as simple as a one line command. In order to reduce the time the tests take to execute, Matt recommended the use of distributed computing.

Imagine splitting the test suite into a dozen tests (or a hundred) and spooling up fifteen computers, each to take a test, report back with results, and then take another test. If you max out a virtualization tool, you can rent space from a cloud-hosting provider for pennies per processor-hour. A test run only takes as long as your slowest test.

With approaches like Model driven test automation, it would be possible to execute various scenarios in parallel in a very short period of time.

Jim Ensell suggested that cloud has had a positive impact on Agile development. According to Jim,

Developers and QA managers will continually want to provision cloud resources for multi-platform testing, run unit and functional tests in parallel, and execute effective load testing. These are loads that are optimal for public cloud use, as they tend to use cloud resources in spurts and have variable demands over time. The utility pricing model works extremely well for this type of cloud use as well.

Devcentral mentioned that the scale of the web applications today needs to be tested with a similarly scaling testing infrastructure. Thanks to the cloud, an organization would be saved from prohibitive exposure to costs for setting up such an infrastructure.

Automated Internet-scalability for applications could do the same – at a fraction of the cost – for Internet-scale testing solutions. So all you need is a cloud-deployable load generation client, a couple of cloud computing environments, and a way to control those distributed clients in such a way as to generate the scale necessary to push your application and infrastructure to its limits.

However, going to the cloud for testing comes with its own set of worries.

According to Matt a tester, just like the development team needs to ask “what happens if the cloud fails?” Other important questions would include the backup strategy, restoration strategy and strategy to recover from test data loss.

Inspite of a small set of challenges, cloud provides a powerful platform for testing. The key lies in identifying the need and developing a strategy to make efficient use of the enormous resources available at a fraction of the cost.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Load testing for Agile development environments is now becoming a reality by Ajit Sancheti

We have introduced a cloud based load testing solution for agile dev environments where you can integrate into your dev process using a Ruby GEM. Try blitz.io.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT