Welcome!

Microservices Expo Authors: Stackify Blog, Automic Blog, Simon Hill, Pat Romanski, Liz McMillan

Related Topics: Microservices Expo, @CloudExpo

Microservices Expo: Article

Non-Functional Testing for Cloud

Testing for Cloud QoS

Functional & Non Functional Tests
As we know typical application testing will consist of the following types of test cycles:

Functional

  • Regression
  • Installation
  • Functional
  • Sanity Testing

Non Functional

  • Performance Test for Responsiveness of the application
  • Performance Test for a Given Load Profile (Load Test)
  • Performance Test for Abnormal Stress conditions (Stress Test)
  • Performance Test for System Availability

Functional Tests ensure that the system behaves as documented and non - functional tests ensure that the QoS (Quality Of Service) can be met.

Detailed  explanation of the above test types are available in various testing manuals and guides, however below we are elaborating some specific Test Scenarios that are more relevant to Cloud and how to plan for them.

Also there will not be any changes to the functional test planning and execution between a ‘On Premise' and  ‘Cloud Application', however the non functional test planning will differ and hence needs to be addressed.

Again for a SaaS application, the cloud provider takes care all the testing, but they also need to plan for the below  situations.

However, if you deploy your application on a PaaS or IaaS platform, the following scenarios are much valid  for you as a software development organization.

Additional Cloud Non Functional Test Types

1.  Cloud Burst Responsiveness Test : This will be a variation of the stress tests in the regular applications. However, elastic cloud applications will tend to have the following characteristics.

  • End-user access patterns contain a certain degree of randomness.
  • There are daily recurring cycles in people‘s behavior
  • Some variability is driven by industry dynamics.
  • Uncertain growth patterns

Cloud platform addresses these variations on the  usage patterns and dynamically scales the allocated resources.

However it is of utmost important such that the Cloud Test Cases / Test Planning and Test Execution includes the above mentioned scenarios.

So a Cloud Application needs to subject to unpredictable changes and fluctuations in demand and the same needs to be planned. This is also known as ‘Cloud Bursting',  which is the ability to load occasional surges without  significant capital  investments.

Some of the additional parameters to gather during the ‘Cloud Burst Responsiveness  Tests' are :

  • Business Transaction Size
  • Number of business users
  • Targeted Cloud Zone, for example most of the Cloud providers like Amazon EC2 have different regions and the speed can vary accordingly.
    • US- N Virginia
    • US - N California
    • EU - IreLand
    • APAC - Singapore
  • Instance size and other parameters like number of CPUs

2.  VM Migration & Availability  Test: Major efficiencies  of  Cloud Platform are possible through management of Virtual machines and migration of work load between the virtual machines.  Successful Virtual machine migrations ensure that the Availability of the Cloud applications are fully guaranteed.

The basic requirement when migrating virtual machines is the ability to fully save the running state of the virtual machine. This is far more involved than simply copying a virtual machine (configuration and image files) to another machine. The system needs to create a point in time snapshot of its memory, device I/O states, network connections and the contents of the virtual CPU registers.

While this is very difficult to simulate a Virtual Machine Migrations,   As a a consumer we can ask the Cloud Provider  to  help with simulating conditions for VM Migration and the behavior of the application can be looked into.

3. Multi Tenant Penetration Tests: A penetration test is a method of evaluating the security by simulating an attack by a malicious user. The intent of a penetration test is to determine feasibility of an attack and the amount of business impact of a successful exploit.

As indicated in my other article, attacks like SQL Injection, Cross Site Scripting are   possible to a greater extent in a multi  tenant application. (http://cloudcomputing.sys-con.com/node/1624391)

Test cases should be written to attack the system from the point of view of a  rogue user who possess the ID as one of the tenant of the application and that user's ability to penetrate the system and view the information of other tenants.

4.  Virtual IP Changes & Availability Test: The complex architecture of Cloud Infrastructure in itself  brings lot of challenges like  internal IP addresses, DNS names and mapping them appropriately.  For example if we consider Amazon EC2 , the following parameters affect the network connections.

  • All Amazon EC2 instances are allocated a private address by DHCP
  • Each instance is provided an internal DNS name that resolves to the private IP address of the instance from within Amazon EC2; it will not resolve outside of Amazon EC2.
  • Each instance is provided an external DNS name that resolves to the public IP address of the instance outside the Amazon EC2 network and the private IP address from within Amazon EC2 network.

So the issues around the IP addresses in a Virtualized environment poses  different testing needs .

Summary
Cloud Computing presents tangible benefits to businesses. However, along with these potential benefits comes a new set of concerns: security, privacy, availability, performance and integrity. Suitable testing must be at the core of any Cloud solution to ensure the delivery of a safe, integrated solution that meets the needs of the business it is to serve.

More Stories By Srinivasan Sundara Rajan

Highly passionate about utilizing Digital Technologies to enable next generation enterprise. Believes in enterprise transformation through the Natives (Cloud Native & Mobile Native).

@MicroservicesExpo Stories
DevOps teams have more on their plate than ever. As infrastructure needs grow, so does the time required to ensure that everything's running smoothly. This makes automation crucial - especially in the server and network monitoring world. Server monitoring tools can save teams time by automating server management and providing real-time performance updates. As budgets reset for the New Year, there is no better time to implement a new server monitoring tool (or re-evaluate your current solution)....
The benefits of automation are well documented; it increases productivity, cuts cost and minimizes errors. It eliminates repetitive manual tasks, freeing us up to be more innovative. By that logic, surely, we should automate everything possible, right? So, is attempting to automate everything a sensible - even feasible - goal? In a word: no. Consider this your short guide as to what to automate and what not to automate.
Cavirin Systems has just announced C2, a SaaS offering designed to bring continuous security assessment and remediation to hybrid environments, containers, and data centers. Cavirin C2 is deployed within Amazon Web Services (AWS) and features a flexible licensing model for easy scalability and clear pay-as-you-go pricing. Although native to AWS, it also supports assessment and remediation of virtual or container instances within Microsoft Azure, Google Cloud Platform (GCP), or on-premise. By dr...
High-velocity engineering teams are applying not only continuous delivery processes, but also lessons in experimentation from established leaders like Amazon, Netflix, and Facebook. These companies have made experimentation a foundation for their release processes, allowing them to try out major feature releases and redesigns within smaller groups before making them broadly available. In his session at 21st Cloud Expo, Brian Lucas, Senior Staff Engineer at Optimizely, discussed how by using ne...
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, discussed how data centers of the future will be managed, how the p...
The cloud revolution in enterprises has very clearly crossed the phase of proof-of-concepts into a truly mainstream adoption. One of most popular enterprise-wide initiatives currently going on are “cloud migration” programs of some kind or another. Finding business value for these programs is not hard to fathom – they include hyperelasticity in infrastructure consumption, subscription based models, and agility derived from rapid speed of deployment of applications. These factors will continue to...
While we understand Agile as a means to accelerate innovation, manage uncertainty and cope with ambiguity, many are inclined to think that it conflicts with the objectives of traditional engineering projects, such as building a highway, skyscraper or power plant. These are plan-driven and predictive projects that seek to avoid any uncertainty. This type of thinking, however, is short-sighted. Agile approaches are valuable in controlling uncertainty because they constrain the complexity that ste...
Digital transformation has changed the way users interact with the world, and the traditional healthcare experience no longer meets rising consumer expectations. Enterprise Health Clouds (EHCs) are designed to easily and securely deliver the smart and engaging digital health experience that patients expect today, while ensuring the compliance and data integration that care providers require. Jikku Venkat
identify the sources of event storms and performance anomalies will require automated, real-time root-cause analysis. I think Enterprise Management Associates said it well: “The data and metrics collected at instrumentation points across the application ecosystem are essential to performance monitoring and root cause analysis. However, analytics capable of transforming data and metrics into an application-focused report or dashboards are what separates actual application monitoring from relat...
"This all sounds great. But it's just not realistic." This is what a group of five senior IT executives told me during a workshop I held not long ago. We were working through an exercise on the organizational characteristics necessary to successfully execute a digital transformation, and the group was doing their ‘readout.' The executives loved everything we discussed and agreed that if such an environment existed, it would make transformation much easier. They just didn't believe it was reali...
"Codigm is based on the cloud and we are here to explore marketing opportunities in America. Our mission is to make an ecosystem of the SW environment that anyone can understand, learn, teach, and develop the SW on the cloud," explained Sung Tae Ryu, CEO of Codigm, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"We're developing a software that is based on the cloud environment and we are providing those services to corporations and the general public," explained Seungmin Kim, CEO/CTO of SM Systems Inc., in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Many enterprise and government IT organizations are realizing the benefits of cloud computing by extending IT delivery and management processes across private and public cloud services. But they are often challenged with balancing the need for centralized cloud governance without stifling user-driven innovation. This strategy requires an approach that fundamentally reshapes how IT is delivered today, shifting the focus from infrastructure to services aggregation, and mixing and matching the bes...
"CA has been doing a lot of things in the area of DevOps. Now we have a complete set of tool sets in order to enable customers to go all the way from planning to development to testing down to release into the operations," explained Aruna Ravichandran, Vice President of Global Marketing and Strategy at CA Technologies, in this SYS-CON.tv interview at DevOps Summit at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
DevOps promotes continuous improvement through a culture of collaboration. But in real terms, how do you: Integrate activities across diverse teams and services? Make objective decisions with system-wide visibility? Use feedback loops to enable learning and improvement? With technology insights and real-world examples, in his general session at @DevOpsSummit, at 21st Cloud Expo, Andi Mann, Chief Technology Advocate at Splunk, explored how leading organizations use data-driven DevOps to close th...
We just came off of a review of a product that handles both containers and virtual machines in the same interface. Under the covers, implementation of containers defaults to LXC, though recently Docker support was added. When reading online, or searching for information, increasingly we see “Container Management” products listed as competitors to Docker, when in reality things like Rocket, LXC/LXD, and Virtualization are Dockers competitors. After doing some looking around, we have decided tha...
The nature of test environments is inherently temporary—you set up an environment, run through an automated test suite, and then tear down the environment. If you can reduce the cycle time for this process down to hours or minutes, then you may be able to cut your test environment budgets considerably. The impact of cloud adoption on test environments is a valuable advancement in both cost savings and agility. The on-demand model takes advantage of public cloud APIs requiring only payment for t...
"We are an integrator of carrier ethernet and bandwidth to get people to connect to the cloud, to the SaaS providers, and the IaaS providers all on ethernet," explained Paul Mako, CEO & CTO of Massive Networks, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
From our perspective as consumers, perhaps the best thing about digital transformation is how consumerization is making technology so much easier to use. Sure, our television remote controls still have too many buttons, and I have yet to figure out the digital display in my Honda, but all in all, tech is getting easier for everybody. Within companies – even very large ones – the consumerization of technology is gradually taking hold as well. There are now simple mobile apps for a wide range of ...