{"id":14102,"date":"2018-10-18T09:00:47","date_gmt":"2018-10-18T08:00:47","guid":{"rendered":"http:\/\/www.devopsonline.co.uk\/?p=14102"},"modified":"2018-10-15T11:57:44","modified_gmt":"2018-10-15T10:57:44","slug":"cloud-based-testing-benefits-challenges-and-tips-for-success","status":"publish","type":"post","link":"https:\/\/devopsnews.online\/cloud-based-testing-benefits-challenges-and-tips-for-success\/","title":{"rendered":"Cloud based testing: benefits, challenges and tips for success"},"content":{"rendered":"

Today, DevOps teams are under constant pressure to release faster, improve quality and keep costs under control. With cloud-based testing tools, organisations can solve these challenges head-on. Cloud based test automation tools bring several benefits over traditional on-prem based tools.<\/p>\n

The cloud, and the flexibility it provides, is now established as a necessity for nearly every business; from the backroom start-up to the very largest blue chip corporate.<\/p>\n

Cloud computing has helped organisations significantly streamline and improve processes in many areas, with low (or no) maintenance costs, better security and the ability to gather, store and share information quickly.<\/p>\n

So, with cloud adoption now not an \u2018if\u2019 but a \u2018when and a how\u2019 for most, businesses are turning their attention to where cloud services can make most impact. And for many, quality testing is an area where the cloud can provide significant benefits.<\/p>\n

Indeed, cloud- based testing has become a viable and popular addition to on-premise solutions, often replacing on-premise test strategies entirely.<\/p>\n

I believe the move to the cloud in this area is inevitable, providing competitive advantage those who do it well and threatening to leave behind those that don\u2019t.<\/p>\n

More than 90% of our customers have either moved wholly to the cloud, are in the process of doing so, or have some cloud testing capabilities.<\/p>\n

Simply put, the immense (and growing) popularity of cloud-enabled performance testing is based on the fact that it helps to overcome the limitations of a test strategy that relies entirely on on-premise performance testing.<\/p>\n

But, of course, there\u2019s lots to consider when embracing a cloud strategy; what are the benefits of cloud computing in the testing sphere and how can QA specialists prepare for cloud-based testing?<\/p>\n

What the cloud can do that on-prem can\u2019t<\/h3>\n

Faster results is perhaps the most obvious reason to move testing to the cloud. Cloud-based software tests run faster than those that are hosted on local hardware for a couple of key reasons.<\/p>\n

The first, and perhaps the most significant, is that a cloud-based test grid enables you to run as many tests in parallel as you want.<\/p>\n

Simply put, when you don\u2019t have to wait for one test to complete before you have infrastructure available to run the next one, you get much faster results.<\/p>\n

The ability to execute more tests in the cloud comes because the capacity of the cloud infrastructure is virtually unlimited.<\/p>\n

If you have a particularly resource-hungry test to run, you won\u2019t have to sacrifice completing other tests at the same time \u2013 if it runs in the cloud.<\/p>\n

And in a hyper-competitive digital landscape, where it\u2019s vital to bring high quality products and services to market more quickly than the competition \u2013 but while still ensuring quality \u2013 we all know that fast results make the difference.<\/p>\n

For us, cloud services in testing go hand-in-hand with test automation. Already a watchword of development and testing, automation helps developers find any problems much earlier in the development cycle, speeds up the Software Development Life Cycle (SDLC) exponentially and improves quality at every stage.<\/p>\n

Cloud-based testing enables teams to manage the pace and demands that come with test automation: it allows teams to perform tests on multiple versions, on multiple devices, and in multiple use case scenarios \u2013 supporting the need for optimum test coverage, without having to set up or maintain infrastructure.<\/p>\n

In contrast, using an on-premise scenario presents many limitations \u2013 and the most fundamental factors, like WiFi availability, have the potential to significantly impact the quality and velocity of testing.<\/p>\n

Testing across multiple versions is hard on-prem. Once you\u2019ve upgraded the operating systems of the devices you\u2019re testing on, there’s no going back to a previous version.<\/p>\n

Another challenge is testing across multiple carriers. On-prem you\u2019re tied to your cellular network provider and being able to quickly test for, and develop for, new devices as soon as they hit the market is difficult.<\/p>\n

If you\u2019re using on-prem testing, your ability to perform tests on real devices as opposed to using simulators on a local grid will almost always be limited, as most organisations can\u2019t afford to purchase and maintain hundreds of different devices for hosting tests, let alone procure the latest and greatest on an ongoing basis.<\/p>\n

In addition, when you own your own devices lab, when a new version of a testing framework debuts or you need to add tests for a new type of device or operating system, configuring a local test grid to support the change will require a significant investment of time.<\/p>\n

You may also need to acquire new hardware to support these changes.<\/p>\n

Conversely, with a cloud test grid, updates happen automatically, new devices are added as they appear on the market, and cloud test vendors handle software updates for you.<\/p>\n

Cloud based testing benefits for\u00a0all<\/h3>\n

So, if it\u2019s such a no brainer, then why isn\u2019t all testing performed in the cloud? The answer is that it will be!<\/p>\n

It is an inevitable next step in testing. Agile methodologies and DevOps simply can\u2019t succeed without the support of cloud services.<\/p>\n

The cloud is the only way to enable disparate teams, in disparate locations, work seamlessly on the same projects \u2013 helping them to automate and analyse test results daily, or even more frequently.<\/p>\n

But, whilst cloud based testing is likely to be ubiquitous soon, the truth is that we\u2019re not quite there yet \u2013 and some, albeit unfounded, concerns remain. For example, we know that \u2018the cloud\u2019 as a concept often generates security fears.<\/p>\n

But, the perception that data is less secure in the cloud dissipating as even the biggest enterprises are relocating business critical functions to the cloud.<\/p>\n

Today, many cloud vendors offer the most stringent security measures \u2013 more so than any on-prem method.<\/p>\n

Some are concerned that they will have to change processes, but this is a concern which can be mitigated by using the right provider.<\/p>\n

Perfecto support all standard automation services – Appium, Selenium etc., meaning that there is no interruption or change in service when you adopt the cloud; and that all of your assets, scripts and processes remain unaltered.<\/p>\n

And, without any changes, your tests will be executed faster with more coverage \u2013 with all the results stored automatically in a cloud-based analytic tool.<\/p>\n

For me, the crucial tenet of success, and how to overcome any lingering misconceptions, is rooted in choosing the right technology vendor.<\/p>\n

There\u2019s a lot of choice in the market, so this means working with trusted partners, evaluating providers and tools against your objectives, and perhaps even looking at hybrid options to fit your needs.<\/p>\n

And importantly, this must be an ongoing process, where you are able to evaluate and re-evaluate systems and providers, to ensure that they\u2019re always able to take advantage of new developments.<\/p>\n

I\u2019d encourage companies to ask vendors tricky questions around uptime, security, speed and scalability. For example, are they able to provision for new devices and for new operating systems in the cloud as soon as they\u2019re available (on the same day as release)?<\/p>\n

For major releases like the iPhone X this is important \u2013 enabling firms to deliver applications and services which have been properly tested, quickly.<\/p>\n

The starting point to success<\/h3>\n

So, by now I hope that I\u2019ve made the case for migrating your testing to the cloud. But I know that every organisation has different goals, and the methods they use to achieve those goals differ from firm to firm.<\/p>\n

And so, which cloud services you need, and when you need them, is down to you.<\/p>\n

However, I believe that there are there are five essentials to consider when adopting a cloud-based testing strategy.<\/p>\n

The foundations of success are:<\/p>\n