Welcome!

Mobile IoT Authors: Jason Bloomberg, Liz McMillan, Pat Romanski, Elizabeth White, Yeshim Deniz

Related Topics: @DevOpsSummit, Linux Containers, Containers Expo Blog

@DevOpsSummit: Blog Post

Top Misconceptions of Load Testing in an Agile Environment | @DevOpsSummit #Agile #DevOps

If you asked me to describe Agile Development in one word, that's the word I'd choose: fast

Fast.

If you asked me to describe Agile Development in one word, that's the word I'd choose: fast. The notion of speed is embedded into the very fabric of Agile. You find it in all sorts of Agile terms and practices. Think about it:

  • You plan everything in sprints.
  • You measure the velocity of the team to improve efficiency.
  • Coordination happens in a 15-minute daily standup.
  • Even integration happens continuously.

So why is it that performance testing is often saved for the end of the Agile Development process? It's like developers think they can't improve efficiency until all the code is written, so they just wait until it's done before trying. It's odd, because in a culture that's obsessed with speed, you'd think that improving the speed of the application would be a front-and-center activity.

Most of the time, that's not the case.

We've written a few posts recently about how load testing and performance testing aren't always as agile as they ought to be. But why are we in this situation in the first place? Often, it's because there are a lot of misconceptions that people have about what's possible with respect to performance testing in an Agile setting. People don't necessarily understand what it takes to do a good job in this area.

As a performance engineer, we wanted to arm you with a few of the common misconceptions out there, and give you some helpful ways of addressing them. That way, you can push your performance testing initiatives deeper into your Agile process, improving your application and making your end users happy.

Misconception #1: Performance Testing Is Just Different - It Doesn't Fit Into Agile
There's a lot more to load testing that that big, massive, full-throttle, peak-usage stress test - you know the one, it's essentially designed to push the entire environment to its breaking point. Unfortunately that's how many people see the entire endeavor of performance testing, as wrapped up in that one kind of test. So naturally people don't think that performance testing is something that can easily fit into the small-batch, highly iterative world of Agile.

As you know, there's a whole lot more to performance testing than that. Individual modules can be tested for performance just as easily as they can be tested for functionality. By developing a suite of modular performance test scenarios, you can help dispel this myth. Create tests for common queries or critical transactions. That way your peers will understand there are lots of ways that performance testing can fit into the normal Dev-Test-Ops cycle.

Misconception #2: Performance Tests Can't Be Run Quickly Enough for Agile
For some types of tests, this is true. Think about a complicated stress test that requires the entire production environment to operate. You can't hijack your whole system to run this test every time you do a build. After all, you have a business to run! What would happen to the users if this were the case?

However, there are plenty of ways to segment that activity and perform targeted performance testing. In fact, one of the best things you can do is think about performance requirements up front and build them into your specification process. For agile, this means putting performance SLAs on the task board. By doing so, you can automate a lot of basic testing as part of your normal, continuous integration process.

Misconception #3: Developers Shouldn't Focus on Performance Until After Functionality Is Complete
One of the core tenets of agile programming is that problems found early are fixed faster and at a far lower costs. That's exactly why you see trends like test-driven development, and test automation, and why more and more testers are learning how to code, so they can create tests alongside creating code.

It's no different with performance testing. How many times have you heard the story - an enormous bottleneck was found in the field, causing a huge slowdown and impacting revenue. When the root cause was finally found, it came down to one poorly optimized line of code or a badly written SQL statement. Wouldn't it have been nice to find that error when it was written, and not after users were affected?

Back-end interfaces like SOAP or Web Services open up all sorts of possibilities for testing performance along a variety of application paths before the user interface is fully built out. Take advantage of this and you'll find you can improve performance well before your app's functionality is done.

Misconception #4: Performance Can't Be Accurately Measured While Code Is Under Development, so Why Bother?
It's true that the performance characteristics of code that is actively being developed will change quite frequently. As code is built out, it becomes more and more complex, and that's going to directly impact how fast and efficiently it runs.

But that's all the more reason to design performance tests early in the process. By doing so, you're going to help developers be aware of their code's behavior under load or stress, and they'll even be more conscious throughout the process of the decisions they make that could affect performance.

Misconception #5: Load Testing Doesn't Involve the Whole Team Like Functional Testing Does
Well, the truth is that while performance testing may have historically been the responsibility of a lone individual or a small, distinct department, that's a pretty antiquated way of looking at load testing. Plus, it flies in the face of everything that Agile stands for.

If you look at any modern Agile organization, you'll see that everyone is responsible for quality. Everyone plays a role in maintaining working software (as the Agile Manifesto says). In fact, as testers you know better than anyone that while organizations still have testers and quality assurance specialists, developers are often expected to write their own test cases, and operations specialists are similarly expected to identify problems and work towards fixing them. Everyone is a tester.

Just because performance testing hasn't been fully integrated through the team yet, doesn't mean that it shouldn't be.

Misconception #6: Load Testing Is Too Manual for Our Automated Continuous Integration Environment
There will always be manual aspects of load testing, just as there will always be manual aspects of functional testing. After all, at the end of the day it's the user experience that counts. If you eliminate the human perspective completely during testing, there's no way you can have full confidence in the code you are delivering.

Automation goes a long way, and there are plenty of ways to automate performance testing too. Saying that the process is too manual is little more than an excuse.

Conclusion
Now is a great time to find opportunities to make performance testing an integrated part of your Agile process. So much is changing with the tools and processes out there, it's hard to resist the benefits you can achieve. Hopefully, this post helps you get around some of the preconceived notions that may be standing in your way.

More Stories By Tim Hinds

Tim Hinds is the Product Marketing Manager for NeoLoad at Neotys. He has a background in Agile software development, Scrum, Kanban, Continuous Integration, Continuous Delivery, and Continuous Testing practices.

Previously, Tim was Product Marketing Manager at AccuRev, a company acquired by Micro Focus, where he worked with software configuration management, issue tracking, Agile project management, continuous integration, workflow automation, and distributed version control systems.

IoT & Smart Cities Stories
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...